diff options
author | hidehiko@chromium.org <hidehiko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-21 05:31:01 +0000 |
---|---|---|
committer | hidehiko@chromium.org <hidehiko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-21 05:31:01 +0000 |
commit | 9f202d29c43c96f88a122fcea14f56cf71e0c670 (patch) | |
tree | e5b1e0e659f8fa5ec13aa8452f6be203c0681ed1 /chrome/browser/google_apis/gdata_wapi_service.h | |
parent | 51f27b3c93ca7c281a43427ed57ddd1e609e94fc (diff) | |
download | chromium_src-9f202d29c43c96f88a122fcea14f56cf71e0c670.zip chromium_src-9f202d29c43c96f88a122fcea14f56cf71e0c670.tar.gz chromium_src-9f202d29c43c96f88a122fcea14f56cf71e0c670.tar.bz2 |
Add GetRootResourceId method to DriveServiceInterface.
The resource id for WAPI is "folder:root" but one for Drive API is "root".
To fill the gap, this CL adds the new method GetRootResourceId, so that clinets
don't need to use hard-coded parameters.
This is preparation to replace content URL with resource id for directory
operations.
BUG=148627, 148628, 148629
TEST=Ran unit_tests.
Review URL: https://chromiumcodereview.appspot.com/11968038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177893 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/google_apis/gdata_wapi_service.h')
-rw-r--r-- | chrome/browser/google_apis/gdata_wapi_service.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/google_apis/gdata_wapi_service.h b/chrome/browser/google_apis/gdata_wapi_service.h index f30ecd1..25611be 100644 --- a/chrome/browser/google_apis/gdata_wapi_service.h +++ b/chrome/browser/google_apis/gdata_wapi_service.h @@ -59,6 +59,7 @@ class GDataWapiService : public DriveServiceInterface, virtual OperationProgressStatusList GetProgressStatusList() const OVERRIDE; virtual bool HasAccessToken() const OVERRIDE; virtual bool HasRefreshToken() const OVERRIDE; + virtual std::string GetRootResourceId() const OVERRIDE; virtual void GetResourceList( const GURL& feed_url, int64 start_changestamp, |