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

Unified Diff: chrome/browser/google_apis/gdata_wapi_service.h

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.h
diff --git a/chrome/browser/google_apis/gdata_wapi_service.h b/chrome/browser/google_apis/gdata_wapi_service.h
index 74c43bf68dd4ab184cc3eac4a64b24721ffef853..13de1c748013a88f8f46f1db764d3e6b36bd7f60 100644
--- a/chrome/browser/google_apis/gdata_wapi_service.h
+++ b/chrome/browser/google_apis/gdata_wapi_service.h
@@ -33,7 +33,10 @@ class GDataWapiService : public DriveServiceInterface,
public:
// Instance is usually created by DriveSystemServiceFactory and owned by
// DriveFileSystem.
- GDataWapiService();
+ //
+ // |base_url| is used to generate URLs for communicating with the WAPI
+ // |server. See gdata_wapi_url_generator.h for details.
+ explicit GDataWapiService(const GURL& base_url);
virtual ~GDataWapiService();
AuthService* auth_service_for_testing();
« no previous file with comments | « chrome/browser/chromeos/drive/drive_system_service.cc ('k') | chrome/browser/google_apis/gdata_wapi_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698