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

Unified Diff: chrome/browser/extensions/api/log_private/log_private_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/log_private/log_private_api.h
diff --git a/chrome/browser/extensions/api/log_private/log_private_api.h b/chrome/browser/extensions/api/log_private/log_private_api.h
index 7a683c7ee378b07cfd7b51da23ae4fca677ce769..6c37804fec3ae7f39d8ca3083e8e64481749df0f 100644
--- a/chrome/browser/extensions/api/log_private/log_private_api.h
+++ b/chrome/browser/extensions/api/log_private/log_private_api.h
@@ -20,6 +20,10 @@
class Profile;
+namespace content {
+class BrowserContext;
+}
+
namespace extensions {
class LogPrivateAPI : public ProfileKeyedAPI,
@@ -27,9 +31,9 @@ class LogPrivateAPI : public ProfileKeyedAPI,
public net::NetLog::ThreadSafeObserver {
public:
// Convenience method to get the LogPrivateAPI for a profile.
- static LogPrivateAPI* Get(Profile* profile);
+ static LogPrivateAPI* Get(content::BrowserContext* context);
- explicit LogPrivateAPI(Profile* profile);
+ explicit LogPrivateAPI(content::BrowserContext* context);
virtual ~LogPrivateAPI();
void StartNetInternalsWatch(const std::string& extension_id);

Powered by Google App Engine
This is Rietveld 408576698