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

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

Issue 11418084: google_apis: Introduce GDataWapiUrlGenerator class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments 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 bed71e1c216da126af17728e79c24799bed8a659..d5b7ceec5a610f50b2c64f9c67b2bd7a2132e6a7 100644
--- a/chrome/browser/google_apis/gdata_wapi_service.h
+++ b/chrome/browser/google_apis/gdata_wapi_service.h
@@ -13,6 +13,7 @@
#include "chrome/browser/google_apis/auth_service_observer.h"
#include "chrome/browser/google_apis/drive_service_interface.h"
#include "chrome/browser/google_apis/gdata_wapi_operations.h"
+#include "chrome/browser/google_apis/gdata_wapi_url_util.h"
class FilePath;
class GURL;
@@ -118,6 +119,9 @@ class GDataWapiService : public DriveServiceInterface,
scoped_ptr<OperationRunner> runner_;
ObserverList<DriveServiceObserver> observers_;
+ // Operation objects should hold a copy of this, rather than a const
+ // reference, as they may outlive this object.
+ GDataWapiUrlGenerator url_generator_;
DISALLOW_COPY_AND_ASSIGN(GDataWapiService);
};
« no previous file with comments | « chrome/browser/google_apis/gdata_wapi_operations.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