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

Side by Side Diff: components/drive/service/drive_api_service_unittest.cc

Issue 1190203002: Move (most of) chrome/browser/drive into components/drive/service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 5 years, 5 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "base/message_loop/message_loop.h" 5 #include "base/message_loop/message_loop.h"
6 #include "base/test/test_simple_task_runner.h" 6 #include "base/test/test_simple_task_runner.h"
7 #include "chrome/browser/drive/drive_api_service.h" 7 #include "components/drive/service/drive_api_service.h"
8 #include "google_apis/drive/dummy_auth_service.h" 8 #include "google_apis/drive/dummy_auth_service.h"
9 #include "google_apis/drive/request_sender.h" 9 #include "google_apis/drive/request_sender.h"
10 #include "google_apis/drive/test_util.h" 10 #include "google_apis/drive/test_util.h"
11 #include "net/url_request/url_request_test_util.h" 11 #include "net/url_request/url_request_test_util.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 13
14 namespace drive { 14 namespace drive {
15 namespace { 15 namespace {
16 const char kTestUserAgent[] = "test-user-agent"; 16 const char kTestUserAgent[] = "test-user-agent";
17 } 17 }
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 "text/plain", 10, "resource_id", 70 "text/plain", 10, "resource_id",
71 base::FilePath(FILE_PATH_LITERAL("/file")), UploadExistingFileOptions(), 71 base::FilePath(FILE_PATH_LITERAL("/file")), UploadExistingFileOptions(),
72 google_apis::test_util::CreateCopyResultCallback(&error, 72 google_apis::test_util::CreateCopyResultCallback(&error,
73 &file_resource), 73 &file_resource),
74 google_apis::ProgressCallback()); 74 google_apis::ProgressCallback());
75 EXPECT_EQ(google_apis::DRIVE_OTHER_ERROR, error); 75 EXPECT_EQ(google_apis::DRIVE_OTHER_ERROR, error);
76 } 76 }
77 } 77 }
78 78
79 } // namespace drive 79 } // namespace drive
OLDNEW
« no previous file with comments | « components/drive/service/drive_api_service.cc ('k') | components/drive/service/drive_service_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698