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

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

Issue 2200113002: [New CL] Add a tab helper to record the last visit date for each bookmark (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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 b4a67bf28d8d44e18baf3eed6967dd1027a254c4..113453eeaff4178aff88c733e8eff895dc15db41 100644
--- a/chrome/browser/bookmarks/bookmark_model_factory.h
+++ b/chrome/browser/bookmarks/bookmark_model_factory.h
@@ -21,6 +21,9 @@ class BookmarkModel;
// Singleton that owns all BookmarkModels and associates them with Profiles.
class BookmarkModelFactory : public BrowserContextKeyedServiceFactory {
public:
+ static bookmarks::BookmarkModel* GetForBrowserContext(
+ content::BrowserContext* context);
+
static bookmarks::BookmarkModel* GetForProfile(Profile* profile);
sky 2016/08/03 19:30:27 Remove this and convert to using new functions.
Philipp Keck 2016/08/04 11:25:48 Ok. Since that will affect almost 100 places in th
static bookmarks::BookmarkModel* GetForProfileIfExists(Profile* profile);
« 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