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

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

Issue 11411086: google_apis: Move URL constants out of gdata_wapi_operations.cc (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 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_UTIL_H_ 7 #ifndef CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_URL_UTIL_H_
8 #define CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_URL_UTIL_H_ 8 #define CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_URL_UTIL_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // If |directory_resource_id| is non-empty, a URL for fetching documents in 54 // If |directory_resource_id| is non-empty, a URL for fetching documents in
55 // a particular directory is generated. 55 // a particular directory is generated.
56 // 56 //
57 GURL GenerateDocumentListUrl( 57 GURL GenerateDocumentListUrl(
58 const GURL& override_url, 58 const GURL& override_url,
59 int start_changestamp, 59 int start_changestamp,
60 const std::string& search_string, 60 const std::string& search_string,
61 bool shared_with_me, 61 bool shared_with_me,
62 const std::string& directory_resource_id); 62 const std::string& directory_resource_id);
63 63
64 // Generates a URL for getting the document entry of the given resource ID.
65 GURL GenerateDocumentEntryUrl(const std::string& resource_id);
66
67 // Generates a URL for getting the root document list feed.
68 // Used to make changes in the root directory (ex. create a directory in the
69 // root directory)
70 GURL GenerateDocumentListRootUrl();
71
72 // Generates a URL for getting the account metadata feed.
73 GURL GenerateAccountMetadataUrl();
74
64 } // namespace gdata_wapi_url_util 75 } // namespace gdata_wapi_url_util
65 } // namespace google_apis 76 } // namespace google_apis
66 77
67 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_URL_UTIL_H_ 78 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_URL_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/google_apis/gdata_wapi_operations.cc ('k') | chrome/browser/google_apis/gdata_wapi_url_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698