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

Unified Diff: chrome/browser/bookmarks/bookmark_model_factory.h

Issue 306293006: Introduce ChromeBookmarkClientFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@364865
Patch Set: Add missing dependency in components/policy/policy_browser.gypi 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
« no previous file with comments | « no previous file | chrome/browser/bookmarks/bookmark_model_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bookmarks/bookmark_model_factory.h
diff --git a/chrome/browser/bookmarks/bookmark_model_factory.h b/chrome/browser/bookmarks/bookmark_model_factory.h
index 5b4fd183c972594c2320ded12a548f8dd8b16e72..604c73e2f1f8e7ac460be7cdfffa8fb795b9d2a6 100644
--- a/chrome/browser/bookmarks/bookmark_model_factory.h
+++ b/chrome/browser/bookmarks/bookmark_model_factory.h
@@ -5,26 +5,21 @@
#ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_MODEL_FACTORY_H_
#define CHROME_BROWSER_BOOKMARKS_BOOKMARK_MODEL_FACTORY_H_
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
+#include "base/macros.h"
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
template <typename T> struct DefaultSingletonTraits;
class BookmarkModel;
-class ChromeBookmarkClient;
class Profile;
-// Singleton that owns all BookmarkModel and associates them with Profiles.
+// Singleton that owns all BookmarkModels and associates them with Profiles.
class BookmarkModelFactory : public BrowserContextKeyedServiceFactory {
public:
static BookmarkModel* GetForProfile(Profile* profile);
static BookmarkModel* GetForProfileIfExists(Profile* profile);
- static ChromeBookmarkClient* GetChromeBookmarkClientForProfile(
- Profile* profile);
-
static BookmarkModelFactory* GetInstance();
private:
« no previous file with comments | « no previous file | chrome/browser/bookmarks/bookmark_model_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698