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

Unified Diff: chrome/browser/signin/token_service_unittest.cc

Issue 23068005: Convert UserPolicySigninService to use OAuth2TokenService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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/signin/token_service_unittest.cc
diff --git a/chrome/browser/signin/token_service_unittest.cc b/chrome/browser/signin/token_service_unittest.cc
index 0617ae5764cc572f46ff2e87540af60a227a387b..125409d1a26e94c795e4d6931fc383cc15d89058 100644
--- a/chrome/browser/signin/token_service_unittest.cc
+++ b/chrome/browser/signin/token_service_unittest.cc
@@ -64,7 +64,9 @@ void TokenServiceTestHarness::SetUp() {
oauth_token_ = "oauth";
oauth_secret_ = "secret";
- profile_.reset(new TestingProfile());
+ if (!profile_)
+ profile_.reset(new TestingProfile());
+
profile_->CreateWebDataService();
// Force the loading of the WebDataService.

Powered by Google App Engine
This is Rietveld 408576698