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

Unified Diff: chrome/browser/extensions/api/cookies/cookies_api.h

Issue 171813010: Move ProfileKeyedAPI implementations to take BrowserContext in the constructor (part 1). (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/cookies/cookies_api.h
diff --git a/chrome/browser/extensions/api/cookies/cookies_api.h b/chrome/browser/extensions/api/cookies/cookies_api.h
index c4cbc887488bdabff79ed417465727d5a6d844c4..2b5bf055422fc5b4507b7fbef6caa7dbda5b0e48 100644
--- a/chrome/browser/extensions/api/cookies/cookies_api.h
+++ b/chrome/browser/extensions/api/cookies/cookies_api.h
@@ -33,7 +33,7 @@ namespace extensions {
// extension system.
class CookiesEventRouter : public content::NotificationObserver {
public:
- explicit CookiesEventRouter(Profile* profile);
+ explicit CookiesEventRouter(content::BrowserContext* context);
virtual ~CookiesEventRouter();
private:
@@ -47,7 +47,7 @@ class CookiesEventRouter : public content::NotificationObserver {
void CookieChanged(Profile* profile, ChromeCookieDetails* details);
// This method dispatches events to the extension message service.
- void DispatchEvent(Profile* context,
+ void DispatchEvent(content::BrowserContext* context,
const std::string& event_name,
scoped_ptr<base::ListValue> event_args,
GURL& cookie_domain);

Powered by Google App Engine
This is Rietveld 408576698