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

Unified Diff: chrome/browser/extensions/api/history/history_api.h

Issue 166053003: Move ProfileKeyedAPI implementations to take BrowserContext in the constructor (part 2). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: | Created 6 years, 10 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: chrome/browser/extensions/api/history/history_api.h
diff --git a/chrome/browser/extensions/api/history/history_api.h b/chrome/browser/extensions/api/history/history_api.h
index bf7acc24bb4b5ed6e92537cc203527961bfc7079..ca5987127258948a582786e4f98d627d0446a63c 100644
--- a/chrome/browser/extensions/api/history/history_api.h
+++ b/chrome/browser/extensions/api/history/history_api.h
@@ -56,7 +56,7 @@ class HistoryEventRouter : public content::NotificationObserver {
class HistoryAPI : public ProfileKeyedAPI,
public EventRouter::Observer {
public:
- explicit HistoryAPI(Profile* profile);
+ explicit HistoryAPI(content::BrowserContext* context);
virtual ~HistoryAPI();
// BrowserContextKeyedService implementation.
@@ -71,7 +71,7 @@ class HistoryAPI : public ProfileKeyedAPI,
private:
friend class ProfileKeyedAPIFactory<HistoryAPI>;
- Profile* profile_;
+ content::BrowserContext* browser_context_;
// ProfileKeyedAPI implementation.
static const char* service_name() {
« no previous file with comments | « chrome/browser/extensions/api/font_settings/font_settings_api.cc ('k') | chrome/browser/extensions/api/history/history_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698