Index: chrome/browser/google_apis/gdata_wapi_service.cc |
diff --git a/chrome/browser/google_apis/gdata_wapi_service.cc b/chrome/browser/google_apis/gdata_wapi_service.cc |
index 8f6b22b4780d4d29faef82912f1982807637b5c6..fc7849bf894143a465a722434f72427c3e6f2f55 100644 |
--- a/chrome/browser/google_apis/gdata_wapi_service.cc |
+++ b/chrome/browser/google_apis/gdata_wapi_service.cc |
@@ -66,10 +66,9 @@ const char kDriveAppsScope[] = "https://www.googleapis.com/auth/drive.apps"; |
} // namespace |
-GDataWapiService::GDataWapiService() |
+GDataWapiService::GDataWapiService(const GURL& base_url) |
: runner_(NULL), |
- // TODO(satorux): The base URL should be injected. |
- url_generator_(GURL(GDataWapiUrlGenerator::kBaseUrlForProduction)) { |
+ url_generator_(base_url) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
} |