| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |