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

Side by Side Diff: chrome/browser/chromeos/file_manager/fileapi_util_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/chromeos/drive/drive_integration_service.h" 5 #include "chrome/browser/chromeos/drive/drive_integration_service.h"
6 #include "chrome/browser/chromeos/drive/drive_test_util.h" 6 #include "chrome/browser/chromeos/drive/drive_test_util.h"
7 #include "chrome/browser/chromeos/drive/fake_file_system.h" 7 #include "chrome/browser/chromeos/drive/fake_file_system.h"
8 #include "chrome/browser/chromeos/file_manager/fileapi_util.h" 8 #include "chrome/browser/chromeos/file_manager/fileapi_util.h"
9 #include "chrome/browser/chromeos/file_manager/mount_test_util.cc" 9 #include "chrome/browser/chromeos/file_manager/mount_test_util.cc"
10 #include "chrome/browser/drive/fake_drive_service.h"
11 #include "chrome/browser/drive/test_util.h"
12 #include "chrome/test/base/testing_browser_process.h" 10 #include "chrome/test/base/testing_browser_process.h"
13 #include "chrome/test/base/testing_profile.h" 11 #include "chrome/test/base/testing_profile.h"
14 #include "chrome/test/base/testing_profile_manager.h" 12 #include "chrome/test/base/testing_profile_manager.h"
13 #include "components/drive/service/fake_drive_service.h"
14 #include "components/drive/service/test_util.h"
15 #include "content/public/browser/storage_partition.h" 15 #include "content/public/browser/storage_partition.h"
16 #include "content/public/common/file_chooser_file_info.h" 16 #include "content/public/common/file_chooser_file_info.h"
17 #include "content/public/test/test_browser_thread_bundle.h" 17 #include "content/public/test/test_browser_thread_bundle.h"
18 #include "content/public/test/test_utils.h" 18 #include "content/public/test/test_utils.h"
19 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
20 #include "ui/shell_dialogs/selected_file_info.h" 20 #include "ui/shell_dialogs/selected_file_info.h"
21 21
22 namespace file_manager { 22 namespace file_manager {
23 namespace util { 23 namespace util {
24 namespace { 24 namespace {
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 context->CrackURL(result[2].file_system_url); 135 context->CrackURL(result[2].file_system_url);
136 EXPECT_EQ(GURL("http://example.com"), url.origin()); 136 EXPECT_EQ(GURL("http://example.com"), url.origin());
137 EXPECT_EQ(storage::kFileSystemTypeIsolated, url.mount_type()); 137 EXPECT_EQ(storage::kFileSystemTypeIsolated, url.mount_type());
138 EXPECT_EQ(storage::kFileSystemTypeDrive, url.type()); 138 EXPECT_EQ(storage::kFileSystemTypeDrive, url.type());
139 EXPECT_EQ(26u, result[2].length); 139 EXPECT_EQ(26u, result[2].length);
140 } 140 }
141 141
142 } // namespace 142 } // namespace
143 } // namespace util 143 } // namespace util
144 } // namespace file_manager 144 } // namespace file_manager
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/file_manager/file_tasks_unittest.cc ('k') | chrome/browser/chromeos/file_manager/open_with_browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698