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

Unified Diff: chrome/browser/google_apis/drive_api_util.h

Issue 14013005: Move EscapeQueryStringValue to drive_api_util. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/google_apis/drive_api_service.cc ('k') | chrome/browser/google_apis/drive_api_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « chrome/browser/google_apis/drive_api_service.cc ('k') | chrome/browser/google_apis/drive_api_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698