| 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_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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 // max-results=... parameter is adjusted for a search. | 47 // max-results=... parameter is adjusted for a search. |
| 48 // | 48 // |
| 49 // shared_with_me | 49 // shared_with_me |
| 50 // If |shared_with_me| is true, the base URL is changed to fetch the | 50 // If |shared_with_me| is true, the base URL is changed to fetch the |
| 51 // shared-with-me documents. | 51 // shared-with-me documents. |
| 52 // | 52 // |
| 53 // directory_resource_id: | 53 // directory_resource_id: |
| 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 GenerateGetDocumentsURL( | 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 } // namespace gdata_wapi_url_util | 64 } // namespace gdata_wapi_url_util |
| 65 } // namespace google_apis | 65 } // namespace google_apis |
| 66 | 66 |
| 67 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_URL_UTIL_H_ | 67 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_URL_UTIL_H_ |
| OLD | NEW |