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

Side by Side Diff: chrome/browser/google_apis/gdata_wapi_operations_unittest.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 <algorithm> 5 #include <algorithm>
6 #include <map> 6 #include <map>
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/message_loop_proxy.h" 11 #include "base/message_loop_proxy.h"
12 #include "base/string_split.h"
13 #include "base/stringprintf.h" 12 #include "base/stringprintf.h"
14 #include "base/strings/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
14 #include "base/strings/string_split.h"
15 #include "chrome/browser/google_apis/gdata_wapi_operations.h" 15 #include "chrome/browser/google_apis/gdata_wapi_operations.h"
16 #include "chrome/browser/google_apis/gdata_wapi_parser.h" 16 #include "chrome/browser/google_apis/gdata_wapi_parser.h"
17 #include "chrome/browser/google_apis/gdata_wapi_url_generator.h" 17 #include "chrome/browser/google_apis/gdata_wapi_url_generator.h"
18 #include "chrome/browser/google_apis/operation_registry.h" 18 #include "chrome/browser/google_apis/operation_registry.h"
19 #include "chrome/browser/google_apis/test_server/http_request.h" 19 #include "chrome/browser/google_apis/test_server/http_request.h"
20 #include "chrome/browser/google_apis/test_server/http_response.h" 20 #include "chrome/browser/google_apis/test_server/http_response.h"
21 #include "chrome/browser/google_apis/test_server/http_server.h" 21 #include "chrome/browser/google_apis/test_server/http_server.h"
22 #include "chrome/browser/google_apis/test_util.h" 22 #include "chrome/browser/google_apis/test_util.h"
23 #include "chrome/browser/profiles/profile.h" 23 #include "chrome/browser/profiles/profile.h"
24 #include "chrome/test/base/testing_profile.h" 24 #include "chrome/test/base/testing_profile.h"
(...skipping 1382 matching lines...) Expand 10 before | Expand all | Expand 10 after
1407 EXPECT_EQ(base::Int64ToString(kUploadContent.size()), 1407 EXPECT_EQ(base::Int64ToString(kUploadContent.size()),
1408 http_request_.headers["X-Upload-Content-Length"]); 1408 http_request_.headers["X-Upload-Content-Length"]);
1409 // For updating an existing file, an empty body should be attached (PUT 1409 // For updating an existing file, an empty body should be attached (PUT
1410 // requires a body) 1410 // requires a body)
1411 EXPECT_TRUE(http_request_.has_content); 1411 EXPECT_TRUE(http_request_.has_content);
1412 EXPECT_EQ("", http_request_.content); 1412 EXPECT_EQ("", http_request_.content);
1413 EXPECT_EQ(kWrongETag, http_request_.headers["If-Match"]); 1413 EXPECT_EQ(kWrongETag, http_request_.headers["If-Match"]);
1414 } 1414 }
1415 1415
1416 } // namespace google_apis 1416 } // namespace google_apis
OLDNEW
« no previous file with comments | « chrome/browser/google_apis/fake_drive_service.cc ('k') | chrome/browser/google_apis/test_server/http_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698