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

Unified Diff: chrome/browser/extensions/extension_webstore_private_browsertest.cc

Issue 7464009: Removal of Profile from content part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: browser_context Created 9 years, 5 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/extension_webstore_private_browsertest.cc
diff --git a/chrome/browser/extensions/extension_webstore_private_browsertest.cc b/chrome/browser/extensions/extension_webstore_private_browsertest.cc
index ee8fdf5f7c64e085811e886f7cdb1de78b066d0e..de4055fd8cebc5c8a9e48a2a0ed485b7a90a3add 100644
--- a/chrome/browser/extensions/extension_webstore_private_browsertest.cc
+++ b/chrome/browser/extensions/extension_webstore_private_browsertest.cc
@@ -86,7 +86,8 @@ class FakeBrowserSignin : public BrowserSignin {
delegate->OnLoginSuccess();
// Fake a token available notification.
- Profile* profile = tab_contents->profile()->GetOriginalProfile();
+ Profile* profile = static_cast<Profile*>(
+ tab_contents->browser_context())->GetOriginalProfile();
TokenService* token_service = profile->GetTokenService();
token_service->IssueAuthTokenForTest(GaiaConstants::kGaiaService,
"new_token");

Powered by Google App Engine
This is Rietveld 408576698