1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_TOP_SITES_OBSERVER_H_
6 #define COMPONENTS_HISTORY_CORE_BROWSER_TOP_SITES_OBSERVER_H_
11 // Interface for observing notifications from TopSites.
12 class TopSitesObserver {
14 // Is called when TopSites finishes loading.
15 virtual void TopSitesLoaded(history::TopSites* top_sites) = 0;
17 // Is called when either one of the most visited urls
18 // changed, or one of the images changes.
19 virtual void TopSitesChanged(history::TopSites* top_sites) = 0;
22 } // namespace history
24 #endif // COMPONENTS_HISTORY_CORE_BROWSER_TOP_SITES_OBSERVER_H_