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

Unified Diff: chrome/browser/google_apis/gdata_wapi_service_unittest.cc

Issue 11417109: google_apis: Inject the base WAPI server URL to GDataWapiService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/google_apis/gdata_wapi_service_unittest.cc
diff --git a/chrome/browser/google_apis/gdata_wapi_service_unittest.cc b/chrome/browser/google_apis/gdata_wapi_service_unittest.cc
index d044c588cd04890dec7e16bf40bbce263113f617..360e9793da4f275f63e3a213b2c5612ad6003202 100644
--- a/chrome/browser/google_apis/gdata_wapi_service_unittest.cc
+++ b/chrome/browser/google_apis/gdata_wapi_service_unittest.cc
@@ -61,7 +61,8 @@ class GDataWapiServiceTest : public testing::Test {
io_thread_.StartIOThread();
profile_.reset(new TestingProfile);
- service_.reset(new GDataWapiService);
+ service_.reset(new GDataWapiService(
+ GURL(GDataWapiUrlGenerator::kBaseUrlForProduction)));
service_->Initialize(profile_.get());
service_->auth_service_for_testing()->set_access_token_for_testing(
kTestGDataAuthToken);
« no previous file with comments | « chrome/browser/google_apis/gdata_wapi_service.cc ('k') | chrome/browser/sync_file_system/drive_file_sync_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698