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

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

Issue 178193030: Rename ProfileKeyedAPI to BrowserContextKeyedAPI and GetProfile to Get. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits 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/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 2d7a39baf2316ba103e791e5f423ffe6adb2ddda..8173d3496d20740f0fa900c3630b39686910f72f 100644
--- a/chrome/browser/extensions/api/identity/identity_apitest.cc
+++ b/chrome/browser/extensions/api/identity/identity_apitest.cc
@@ -373,8 +373,7 @@ class GetAuthTokenFunctionTest : public AsyncExtensionBrowserTest {
}
IdentityAPI* id_api() {
- return IdentityAPI::GetFactoryInstance()->GetForProfile(
- browser()->profile());
+ return IdentityAPI::GetFactoryInstance()->Get(browser()->profile());
}
const std::string GetPrimaryAccountId() {
@@ -1056,8 +1055,7 @@ class RemoveCachedAuthTokenFunctionTest : public ExtensionBrowserTest {
}
IdentityAPI* id_api() {
- return IdentityAPI::GetFactoryInstance()->GetForProfile(
- browser()->profile());
+ return IdentityAPI::GetFactoryInstance()->Get(browser()->profile());
}
void SetCachedToken(IdentityTokenCacheValue& token_data) {

Powered by Google App Engine
This is Rietveld 408576698