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

Side by Side Diff: chrome/browser/google_apis/test_server/http_request.cc

Issue 12378016: chrome: Update include paths of string_split.h to its new location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 #include "chrome/browser/google_apis/test_server/http_request.h" 5 #include "chrome/browser/google_apis/test_server/http_request.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/string_split.h"
11 #include "base/string_util.h" 10 #include "base/string_util.h"
12 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
12 #include "base/strings/string_split.h"
13 13
14 namespace google_apis { 14 namespace google_apis {
15 namespace test_server { 15 namespace test_server {
16 16
17 namespace { 17 namespace {
18 18
19 size_t kRequestSizeLimit = 64 * 1024 * 1024; // 64 mb. 19 size_t kRequestSizeLimit = 64 * 1024 * 1024; // 64 mb.
20 20
21 // Helper function used to trim tokens in http request headers. 21 // Helper function used to trim tokens in http request headers.
22 std::string Trim(const std::string& value) { 22 std::string Trim(const std::string& value) {
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 return METHOD_DELETE; 193 return METHOD_DELETE;
194 } else if (token == "patch") { 194 } else if (token == "patch") {
195 return METHOD_PATCH; 195 return METHOD_PATCH;
196 } 196 }
197 NOTREACHED() << "Method not implemented: " << token; 197 NOTREACHED() << "Method not implemented: " << token;
198 return METHOD_UNKNOWN; 198 return METHOD_UNKNOWN;
199 } 199 }
200 200
201 } // namespace test_server 201 } // namespace test_server
202 } // namespace google_apis 202 } // namespace google_apis
OLDNEW
« no previous file with comments | « chrome/browser/google_apis/gdata_wapi_operations_unittest.cc ('k') | chrome/browser/history/snippet.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698