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

Side by Side 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 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 #ifndef CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_UTIL_H_ 5 #ifndef CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_UTIL_H_
6 #define CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_UTIL_H_ 6 #define CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_UTIL_H_
7 7
8 #include <string>
9
8 namespace google_apis { 10 namespace google_apis {
9 namespace util { 11 namespace util {
10 12
11 // Returns true if Drive v2 API is enabled via commandline switch. 13 // Returns true if Drive v2 API is enabled via commandline switch.
12 bool IsDriveV2ApiEnabled(); 14 bool IsDriveV2ApiEnabled();
13 15
14 } // namespace util 16 } // namespace util
17
18 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
19 namespace util {
20
21 // Escapes ' to \' in the |str|. This is designed to use for string value of
22 // search parameter on Drive API v2.
23 // See also: https://developers.google.com/drive/search-parameters
24 std::string EscapeQueryStringValue(const std::string& str);
25
26 } // namespace util
27 } // namespace drive
15 } // namespace google_apis 28 } // namespace google_apis
16 29
17 #endif // CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_UTIL_H_ 30 #endif // CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_UTIL_H_
OLDNEW
« 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