OLD | NEW |
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/fake_file_system.h" | 7 #include "chrome/browser/chromeos/drive/fake_file_system.h" |
7 #include "chrome/browser/chromeos/drive/test_util.h" | |
8 #include "chrome/browser/chromeos/file_manager/drive_test_util.cc" | |
9 #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" |
10 #include "chrome/browser/drive/fake_drive_service.h" | 10 #include "chrome/browser/drive/fake_drive_service.h" |
11 #include "chrome/browser/drive/test_util.h" | 11 #include "chrome/browser/drive/test_util.h" |
12 #include "chrome/test/base/testing_browser_process.h" | 12 #include "chrome/test/base/testing_browser_process.h" |
13 #include "chrome/test/base/testing_profile.h" | 13 #include "chrome/test/base/testing_profile.h" |
14 #include "chrome/test/base/testing_profile_manager.h" | 14 #include "chrome/test/base/testing_profile_manager.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" |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |
OLD | NEW |