Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(904)

Side by Side Diff: components/favicon/core/browser/favicon_tab_helper_observer.h

Issue 983043003: Componentize FaviconService and FaviconHandler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@favicon_service
Patch Set: Fix android_aosp (reverted the change by mistake by switching computer) Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/favicon/core/browser/favicon_service.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_FAVICON_FAVICON_TAB_HELPER_OBSERVER_H_ 5 #ifndef COMPONENTS_FAVICON_CORE_BROWSER_FAVICON_TAB_HELPER_OBSERVER_H_
6 #define CHROME_BROWSER_FAVICON_FAVICON_TAB_HELPER_OBSERVER_H_ 6 #define COMPONENTS_FAVICON_CORE_BROWSER_FAVICON_TAB_HELPER_OBSERVER_H_
7 7
8 namespace gfx { 8 namespace gfx {
9 class Image; 9 class Image;
10 } 10 }
11 11
12 // An observer implemented by classes which are interested in envent in 12 // An observer implemented by classes which are interested in envent in
13 // FaviconTabHelper. 13 // FaviconTabHelper.
14 class FaviconTabHelperObserver { 14 class FaviconTabHelperObserver {
15 public: 15 public:
16 // Called when favicon |image| is retrieved from either web site or history 16 // Called when favicon |image| is retrieved from either web site or history
17 // backend. 17 // backend.
18 virtual void OnFaviconAvailable(const gfx::Image& image) = 0; 18 virtual void OnFaviconAvailable(const gfx::Image& image) = 0;
19 19
20 protected: 20 protected:
21 virtual ~FaviconTabHelperObserver() {} 21 virtual ~FaviconTabHelperObserver() {}
22 }; 22 };
23 23
24 #endif // CHROME_BROWSER_FAVICON_FAVICON_TAB_HELPER_OBSERVER_H_ 24 #endif // COMPONENTS_FAVICON_CORE_BROWSER_FAVICON_TAB_HELPER_OBSERVER_H_
OLDNEW
« no previous file with comments | « components/favicon/core/browser/favicon_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698