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

Side by Side Diff: google_apis/drive/gdata_wapi_url_generator.h

Issue 96413002: Move c/b/google_apis to google_apis/drive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years 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 GOOGLE_APIS_DRIVE_GDATA_WAPI_URL_GENERATOR_H_
8 #define CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_URL_GENERATOR_H_ 8 #define GOOGLE_APIS_DRIVE_GDATA_WAPI_URL_GENERATOR_H_
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "url/gurl.h" 12 #include "url/gurl.h"
13 13
14 namespace google_apis { 14 namespace google_apis {
15 15
16 // The class is used to generate URLs for communicating with the WAPI server. 16 // The class is used to generate URLs for communicating with the WAPI server.
17 // for production, and the local server for testing. 17 // for production, and the local server for testing.
18 class GDataWapiUrlGenerator { 18 class GDataWapiUrlGenerator {
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 // Generates a URL for downloading a file. 130 // Generates a URL for downloading a file.
131 GURL GenerateDownloadFileUrl(const std::string& resource_id) const; 131 GURL GenerateDownloadFileUrl(const std::string& resource_id) const;
132 132
133 private: 133 private:
134 const GURL base_url_; 134 const GURL base_url_;
135 const GURL base_download_url_; 135 const GURL base_download_url_;
136 }; 136 };
137 137
138 } // namespace google_apis 138 } // namespace google_apis
139 139
140 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_URL_GENERATOR_H_ 140 #endif // GOOGLE_APIS_DRIVE_GDATA_WAPI_URL_GENERATOR_H_
OLDNEW
« no previous file with comments | « google_apis/drive/gdata_wapi_requests_unittest.cc ('k') | google_apis/drive/gdata_wapi_url_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698