OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 // Browser test for basic Chrome OS file manager functionality: | 5 // Browser test for basic Chrome OS file manager functionality: |
6 // - The file list is updated when a file is added externally to the Downloads | 6 // - The file list is updated when a file is added externally to the Downloads |
7 // folder. | 7 // folder. |
8 // - Selecting a file and copy-pasting it with the keyboard copies the file. | 8 // - Selecting a file and copy-pasting it with the keyboard copies the file. |
9 // - Selecting a file and pressing delete deletes it. | 9 // - Selecting a file and pressing delete deletes it. |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "base/time/time.h" | 24 #include "base/time/time.h" |
25 #include "chrome/browser/browser_process.h" | 25 #include "chrome/browser/browser_process.h" |
26 #include "chrome/browser/chromeos/drive/drive_integration_service.h" | 26 #include "chrome/browser/chromeos/drive/drive_integration_service.h" |
27 #include "chrome/browser/chromeos/drive/file_system_interface.h" | 27 #include "chrome/browser/chromeos/drive/file_system_interface.h" |
28 #include "chrome/browser/chromeos/drive/test_util.h" | 28 #include "chrome/browser/chromeos/drive/test_util.h" |
29 #include "chrome/browser/chromeos/file_manager/app_id.h" | 29 #include "chrome/browser/chromeos/file_manager/app_id.h" |
30 #include "chrome/browser/chromeos/file_manager/drive_test_util.h" | 30 #include "chrome/browser/chromeos/file_manager/drive_test_util.h" |
31 #include "chrome/browser/chromeos/file_manager/path_util.h" | 31 #include "chrome/browser/chromeos/file_manager/path_util.h" |
32 #include "chrome/browser/chromeos/file_manager/volume_manager.h" | 32 #include "chrome/browser/chromeos/file_manager/volume_manager.h" |
33 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 33 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
34 #include "chrome/browser/drive/fake_drive_service.h" | |
35 #include "chrome/browser/extensions/component_loader.h" | 34 #include "chrome/browser/extensions/component_loader.h" |
36 #include "chrome/browser/extensions/extension_apitest.h" | 35 #include "chrome/browser/extensions/extension_apitest.h" |
37 #include "chrome/browser/notifications/notification.h" | 36 #include "chrome/browser/notifications/notification.h" |
38 #include "chrome/browser/notifications/notification_ui_manager.h" | 37 #include "chrome/browser/notifications/notification_ui_manager.h" |
39 #include "chrome/browser/profiles/profile.h" | 38 #include "chrome/browser/profiles/profile.h" |
40 #include "chrome/browser/signin/signin_manager_factory.h" | 39 #include "chrome/browser/signin/signin_manager_factory.h" |
41 #include "chrome/browser/ui/ash/multi_user/multi_user_util.h" | 40 #include "chrome/browser/ui/ash/multi_user/multi_user_util.h" |
42 #include "chrome/browser/ui/ash/multi_user/multi_user_window_manager.h" | 41 #include "chrome/browser/ui/ash/multi_user/multi_user_window_manager.h" |
43 #include "chrome/common/chrome_switches.h" | 42 #include "chrome/common/chrome_switches.h" |
44 #include "chrome/common/pref_names.h" | 43 #include "chrome/common/pref_names.h" |
45 #include "chromeos/chromeos_switches.h" | 44 #include "chromeos/chromeos_switches.h" |
| 45 #include "components/drive/service/fake_drive_service.h" |
46 #include "components/signin/core/browser/signin_manager.h" | 46 #include "components/signin/core/browser/signin_manager.h" |
47 #include "components/user_manager/user_manager.h" | 47 #include "components/user_manager/user_manager.h" |
48 #include "content/public/browser/notification_service.h" | 48 #include "content/public/browser/notification_service.h" |
49 #include "content/public/test/test_utils.h" | 49 #include "content/public/test/test_utils.h" |
50 #include "extensions/browser/api/test/test_api.h" | 50 #include "extensions/browser/api/test/test_api.h" |
51 #include "extensions/browser/app_window/app_window.h" | 51 #include "extensions/browser/app_window/app_window.h" |
52 #include "extensions/browser/app_window/app_window_registry.h" | 52 #include "extensions/browser/app_window/app_window_registry.h" |
53 #include "extensions/browser/notification_types.h" | 53 #include "extensions/browser/notification_types.h" |
54 #include "extensions/common/extension.h" | 54 #include "extensions/common/extension.h" |
55 #include "extensions/test/extension_test_message_listener.h" | 55 #include "extensions/test/extension_test_message_listener.h" |
(...skipping 1523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1579 StartTest(); | 1579 StartTest(); |
1580 } | 1580 } |
1581 | 1581 |
1582 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { | 1582 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { |
1583 set_test_case_name("openSingleVideoOnDrive"); | 1583 set_test_case_name("openSingleVideoOnDrive"); |
1584 StartTest(); | 1584 StartTest(); |
1585 } | 1585 } |
1586 | 1586 |
1587 } // namespace | 1587 } // namespace |
1588 } // namespace file_manager | 1588 } // namespace file_manager |
OLD | NEW |