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

Unified Diff: chrome/browser/chromeos/drive/drive_system_service.cc

Issue 11804004: Add base_url to DriveApiUrlGenerator. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Introduce kBaseUrlForProduction in DriveApiUrlGenerator Created 7 years, 11 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/chromeos/drive/drive_system_service.cc
diff --git a/chrome/browser/chromeos/drive/drive_system_service.cc b/chrome/browser/chromeos/drive/drive_system_service.cc
index b4048612ac007651b97473e1beaa171ec9078393..276837159f762f0649c09f757b2b0dba1d884238 100644
--- a/chrome/browser/chromeos/drive/drive_system_service.cc
+++ b/chrome/browser/chromeos/drive/drive_system_service.cc
@@ -124,6 +124,7 @@ DriveSystemService::DriveSystemService(
} else if (google_apis::util::IsDriveV2ApiEnabled()) {
drive_service_.reset(new DriveAPIService(
g_browser_process->system_request_context(),
+ GURL(google_apis::DriveApiUrlGenerator::kBaseUrlForProduction),
GetDriveUserAgent()));
} else {
drive_service_.reset(new google_apis::GDataWapiService(
« no previous file with comments | « chrome/browser/chromeos/drive/drive_api_service.cc ('k') | chrome/browser/google_apis/drive_api_url_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698