Chromium Code Reviews| Index: chrome/browser/google_apis/drive_api_util.h |
| diff --git a/chrome/browser/google_apis/drive_api_util.h b/chrome/browser/google_apis/drive_api_util.h |
| index a43c72871e159d7c98ed1ef33b3bdba56f911b36..2ff8b33ca9d91cf994331ca686c2ecd7c4432f0c 100644 |
| --- a/chrome/browser/google_apis/drive_api_util.h |
| +++ b/chrome/browser/google_apis/drive_api_util.h |
| @@ -5,6 +5,8 @@ |
| #ifndef CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_UTIL_H_ |
| #define CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_UTIL_H_ |
| +#include <string> |
| + |
| namespace google_apis { |
| namespace util { |
| @@ -12,6 +14,17 @@ namespace util { |
| bool IsDriveV2ApiEnabled(); |
| } // namespace util |
| + |
| +namespace drive { |
|
hashimoto
2013/04/18 08:38:00
Do we need this "drive" namespace inside google_ap
hidehiko
2013/04/18 08:42:13
We're moving drive related code under google_apis
hashimoto
2013/04/18 08:45:06
Oh, I've surely taken a look at that issue, but co
|
| +namespace util { |
| + |
| +// Escapes ' to \' in the |str|. This is designed to use for string value of |
| +// search parameter on Drive API v2. |
| +// See also: https://developers.google.com/drive/search-parameters |
| +std::string EscapeQueryStringValue(const std::string& str); |
| + |
| +} // namespace util |
| +} // namespace drive |
| } // namespace google_apis |
| #endif // CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_UTIL_H_ |