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

Side by Side Diff: google_apis/drive/base_requests_unittest.cc

Issue 96413002: Move c/b/google_apis to google_apis/drive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years 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/base_requests.h" 5 #include "google_apis/drive/base_requests.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "chrome/browser/google_apis/dummy_auth_service.h" 12 #include "google_apis/drive/dummy_auth_service.h"
13 #include "chrome/browser/google_apis/request_sender.h" 13 #include "google_apis/drive/request_sender.h"
14 #include "chrome/browser/google_apis/test_util.h" 14 #include "google_apis/drive/test_util.h"
15 #include "net/test/embedded_test_server/embedded_test_server.h" 15 #include "net/test/embedded_test_server/embedded_test_server.h"
16 #include "net/test/embedded_test_server/http_request.h" 16 #include "net/test/embedded_test_server/http_request.h"
17 #include "net/test/embedded_test_server/http_response.h" 17 #include "net/test/embedded_test_server/http_response.h"
18 #include "net/url_request/url_request_test_util.h" 18 #include "net/url_request/url_request_test_util.h"
19 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
20 20
21 namespace google_apis { 21 namespace google_apis {
22 22
23 namespace { 23 namespace {
24 24
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 test_util::CreateQuitCallback( 195 test_util::CreateQuitCallback(
196 &run_loop, test_util::CreateCopyResultCallback(&error, &value)), 196 &run_loop, test_util::CreateCopyResultCallback(&error, &value)),
197 test_server_.base_url())); 197 test_server_.base_url()));
198 run_loop.Run(); 198 run_loop.Run();
199 199
200 EXPECT_EQ(GDATA_PARSE_ERROR, error); 200 EXPECT_EQ(GDATA_PARSE_ERROR, error);
201 EXPECT_FALSE(value); 201 EXPECT_FALSE(value);
202 } 202 }
203 203
204 } // namespace google_apis 204 } // namespace google_apis
OLDNEW
« no previous file with comments | « google_apis/drive/base_requests_server_unittest.cc ('k') | google_apis/drive/drive_api_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698