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

Unified Diff: components/bookmarks/browser/bookmark_client.h

Issue 306293006: Introduce ChromeBookmarkClientFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@364865
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 side-by-side diff with in-line comments
Download patch
Index: components/bookmarks/browser/bookmark_client.h
diff --git a/components/bookmarks/browser/bookmark_client.h b/components/bookmarks/browser/bookmark_client.h
index ffdb64c25093a7409b31cecb03602d7c73e7e737..66143d186e45fc4c55b072d66e2ee3f33efab0af 100644
--- a/components/bookmarks/browser/bookmark_client.h
+++ b/components/bookmarks/browser/bookmark_client.h
@@ -12,6 +12,7 @@
#include "base/callback_forward.h"
#include "base/task/cancelable_task_tracker.h"
#include "components/favicon_base/favicon_callback.h"
+#include "components/keyed_service/core/keyed_service.h"
class BookmarkNode;
class GURL;
@@ -22,7 +23,7 @@ struct UserMetricsAction;
// This class abstracts operations that depends on the embedder's environment,
// e.g. Chrome.
-class BookmarkClient {
+class BookmarkClient : public KeyedService {
public:
// Types representing a set of BookmarkNode and a mapping from BookmarkNode
// to the number of time the corresponding URL has been typed by the user in

Powered by Google App Engine
This is Rietveld 408576698