| Index: chrome/browser/google_apis/gdata_wapi_url_generator.cc
|
| diff --git a/chrome/browser/google_apis/gdata_wapi_url_generator.cc b/chrome/browser/google_apis/gdata_wapi_url_generator.cc
|
| index ac38ef6623382665ab50213430da78698e778672..527ec49d7b4f9b686168c9bc750624f2beea227a 100644
|
| --- a/chrome/browser/google_apis/gdata_wapi_url_generator.cc
|
| +++ b/chrome/browser/google_apis/gdata_wapi_url_generator.cc
|
| @@ -32,6 +32,10 @@ const char kResourceListRootURL[] = "/feeds/default/private/full";
|
| // Metadata feed with things like user quota.
|
| const char kAccountMetadataURL[] = "/feeds/metadata/default";
|
|
|
| +// URL for the content_url of the root directory.
|
| +const char kRootContentURL[] =
|
| + "/feeds/default/private/full/folder%3Aroot/contents";
|
| +
|
| #ifndef NDEBUG
|
| // Use smaller 'page' size while debugging to ensure we hit feed reload
|
| // almost always. Be careful not to use something too small on account that
|
| @@ -161,4 +165,8 @@ GURL GDataWapiUrlGenerator::GenerateAccountMetadataUrl() const {
|
| return AddMetadataUrlParams(base_url_.Resolve(kAccountMetadataURL));
|
| }
|
|
|
| +GURL GDataWapiUrlGenerator::GenerateRootContentUrl() const {
|
| + return base_url_.Resolve(kRootContentURL);
|
| +}
|
| +
|
| } // namespace google_apis
|
|
|