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

Unified Diff: chrome/browser/ui/webui/identity_internals_ui_browsertest.cc

Issue 178193030: Rename ProfileKeyedAPI to BrowserContextKeyedAPI and GetProfile to Get. (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/ui/webui/identity_internals_ui_browsertest.cc
diff --git a/chrome/browser/ui/webui/identity_internals_ui_browsertest.cc b/chrome/browser/ui/webui/identity_internals_ui_browsertest.cc
index 34b7cdbcf6c9fea6b0e7c634f82269049d599074..82f47b98aa1a66563bb0d7d1f69a97a27b4af853 100644
--- a/chrome/browser/ui/webui/identity_internals_ui_browsertest.cc
+++ b/chrome/browser/ui/webui/identity_internals_ui_browsertest.cc
@@ -54,7 +54,7 @@ void IdentityInternalsUIBrowserTest::AddTokenToCache(
extension_id,
"test@example.com",
std::set<std::string>(scopes.begin(), scopes.end()));
- extensions::IdentityAPI::GetFactoryInstance()->
- GetForProfile(browser()->profile())->
- SetCachedToken(key, token_cache_value);
+ extensions::IdentityAPI::GetFactoryInstance()
+ ->Get(browser()->profile())
+ ->SetCachedToken(key, token_cache_value);
}

Powered by Google App Engine
This is Rietveld 408576698