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

Side by Side Diff: chrome/browser/google_apis/gdata_wapi_url_generator.h

Issue 12039005: drive: Deal with the root directory in the same way as others in MoveOperation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fix. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // URL utility functions for Google Documents List API (aka WAPI). 5 // URL utility functions for Google Documents List API (aka WAPI).
6 6
7 #ifndef CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_URL_GENERATOR_H_ 7 #ifndef CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_URL_GENERATOR_H_
8 #define CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_URL_GENERATOR_H_ 8 #define CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_URL_GENERATOR_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 GURL GenerateResourceEntryUrl(const std::string& resource_id) const; 82 GURL GenerateResourceEntryUrl(const std::string& resource_id) const;
83 83
84 // Generates a URL for getting the root resource list feed. 84 // Generates a URL for getting the root resource list feed.
85 // Used to make changes in the root directory (ex. create a directory in the 85 // Used to make changes in the root directory (ex. create a directory in the
86 // root directory) 86 // root directory)
87 GURL GenerateResourceListRootUrl() const; 87 GURL GenerateResourceListRootUrl() const;
88 88
89 // Generates a URL for getting the account metadata feed. 89 // Generates a URL for getting the account metadata feed.
90 GURL GenerateAccountMetadataUrl() const; 90 GURL GenerateAccountMetadataUrl() const;
91 91
92 // Generates a URL for getting the root directory's content URL.
93 GURL GenerateRootContentUrl() const;
94
92 private: 95 private:
93 const GURL base_url_; 96 const GURL base_url_;
94 }; 97 };
95 98
96 } // namespace google_apis 99 } // namespace google_apis
97 100
98 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_URL_GENERATOR_H_ 101 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_URL_GENERATOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/google_apis/gdata_wapi_service.cc ('k') | chrome/browser/google_apis/gdata_wapi_url_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698