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

Unified Diff: chrome/browser/extensions/signin/scoped_gaia_auth_extension.h

Issue 179243002: Change ProfileKeyedAPIFactory to build instances with BrowserContext instead of Profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: locationbarview 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/signin/scoped_gaia_auth_extension.h
diff --git a/chrome/browser/extensions/signin/scoped_gaia_auth_extension.h b/chrome/browser/extensions/signin/scoped_gaia_auth_extension.h
index cf3cf493a531741ac4cc4681b6a0cc982971a1ad..d032565b3d17f43fa6f5d22f262973757e8ff94b 100644
--- a/chrome/browser/extensions/signin/scoped_gaia_auth_extension.h
+++ b/chrome/browser/extensions/signin/scoped_gaia_auth_extension.h
@@ -7,18 +7,20 @@
#include "base/basictypes.h"
-class Profile;
+namespace content {
+class BrowserContext;
+}
// ScopedGaiaAuthExtension loads gaia auth extension on construction if the
// extension is not registered yet, and unloads it on destruction if it is no
// longer used.
class ScopedGaiaAuthExtension {
public:
- explicit ScopedGaiaAuthExtension(Profile* profile);
+ explicit ScopedGaiaAuthExtension(content::BrowserContext* context);
~ScopedGaiaAuthExtension();
private:
- Profile* profile_;
+ content::BrowserContext* browser_context_;
DISALLOW_COPY_AND_ASSIGN(ScopedGaiaAuthExtension);
};

Powered by Google App Engine
This is Rietveld 408576698