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

Unified Diff: chrome/browser/extensions/api/identity/identity_apitest.cc

Issue 14141006: [components] Switch {RefCounted}ProfileKeyedService to use BrowserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybots 2 Created 7 years, 8 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/identity/identity_apitest.cc
diff --git a/chrome/browser/extensions/api/identity/identity_apitest.cc b/chrome/browser/extensions/api/identity/identity_apitest.cc
index 0b04145ad3335ebf92d59ab6815254eac72ebccf..1004336c23f9170540f8c07b6b02ed993d50e506 100644
--- a/chrome/browser/extensions/api/identity/identity_apitest.cc
+++ b/chrome/browser/extensions/api/identity/identity_apitest.cc
@@ -182,8 +182,8 @@ class TestOAuth2MintTokenFlow : public OAuth2MintTokenFlow {
OAuth2MintTokenFlow::Delegate* delegate_;
};
-ProfileKeyedService* IdentityAPITestFactory(Profile* profile) {
- return new IdentityAPI(profile);
+ProfileKeyedService* IdentityAPITestFactory(content::BrowserContext* profile) {
+ return new IdentityAPI(static_cast<Profile*>(profile));
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698