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

Side by Side Diff: trunk/src/components/favicon/core/browser/favicon_client.h

Issue 334613004: Revert 276642 "Turn FaviconClient into a Keyed service." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « trunk/src/components/favicon/DEPS ('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 COMPONENTS_FAVICON_CORE_BROWSER_FAVICON_CLIENT_H_ 5 #ifndef COMPONENTS_FAVICON_CORE_BROWSER_FAVICON_CLIENT_H_
6 #define COMPONENTS_FAVICON_CORE_BROWSER_FAVICON_CLIENT_H_ 6 #define COMPONENTS_FAVICON_CORE_BROWSER_FAVICON_CLIENT_H_
7 7
8 #include "components/keyed_service/core/keyed_service.h"
9
10 class FaviconService; 8 class FaviconService;
11 class GURL; 9 class GURL;
12 10
13 // This class abstracts operations that depend on the embedder's environment, 11 // This class abstracts operations that depend on the embedder's environment,
14 // e.g. Chrome. 12 // e.g. Chrome.
15 class FaviconClient : public KeyedService { 13 class FaviconClient {
16 public: 14 public:
17 virtual ~FaviconClient() {}; 15 virtual ~FaviconClient() {};
18 16
19 virtual FaviconService* GetFaviconService() = 0; 17 virtual FaviconService* GetFaviconService() = 0;
20 18
21 // Returns true if the specified URL is bookmarked. 19 // Returns true if the specified URL is bookmarked.
22 virtual bool IsBookmarked(const GURL& url) = 0; 20 virtual bool IsBookmarked(const GURL& url) = 0;
23 }; 21 };
24 22
25 #endif // COMPONENTS_FAVICON_CORE_BROWSER_FAVICON_CLIENT_H_ 23 #endif // COMPONENTS_FAVICON_CORE_BROWSER_FAVICON_CLIENT_H_
OLDNEW
« no previous file with comments | « trunk/src/components/favicon/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698