| 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 12 matching lines...) Expand all Loading... |
| 23 #include "chrome/browser/chrome_notification_types.h" | 23 #include "chrome/browser/chrome_notification_types.h" |
| 24 #include "chrome/browser/chromeos/drive/drive_integration_service.h" | 24 #include "chrome/browser/chromeos/drive/drive_integration_service.h" |
| 25 #include "chrome/browser/chromeos/drive/file_system_interface.h" | 25 #include "chrome/browser/chromeos/drive/file_system_interface.h" |
| 26 #include "chrome/browser/chromeos/drive/test_util.h" | 26 #include "chrome/browser/chromeos/drive/test_util.h" |
| 27 #include "chrome/browser/chromeos/file_manager/drive_test_util.h" | 27 #include "chrome/browser/chromeos/file_manager/drive_test_util.h" |
| 28 #include "chrome/browser/drive/fake_drive_service.h" | 28 #include "chrome/browser/drive/fake_drive_service.h" |
| 29 #include "chrome/browser/extensions/api/test/test_api.h" | 29 #include "chrome/browser/extensions/api/test/test_api.h" |
| 30 #include "chrome/browser/extensions/component_loader.h" | 30 #include "chrome/browser/extensions/component_loader.h" |
| 31 #include "chrome/browser/extensions/extension_apitest.h" | 31 #include "chrome/browser/extensions/extension_apitest.h" |
| 32 #include "chrome/browser/extensions/extension_test_message_listener.h" | 32 #include "chrome/browser/extensions/extension_test_message_listener.h" |
| 33 #include "chrome/browser/google_apis/gdata_wapi_parser.h" | |
| 34 #include "chrome/browser/google_apis/test_util.h" | |
| 35 #include "chrome/browser/profiles/profile.h" | 33 #include "chrome/browser/profiles/profile.h" |
| 36 #include "chrome/common/chrome_switches.h" | 34 #include "chrome/common/chrome_switches.h" |
| 37 #include "chromeos/chromeos_switches.h" | 35 #include "chromeos/chromeos_switches.h" |
| 38 #include "content/public/browser/browser_context.h" | 36 #include "content/public/browser/browser_context.h" |
| 39 #include "content/public/browser/notification_service.h" | 37 #include "content/public/browser/notification_service.h" |
| 40 #include "content/public/test/test_utils.h" | 38 #include "content/public/test/test_utils.h" |
| 41 #include "extensions/common/extension.h" | 39 #include "extensions/common/extension.h" |
| 40 #include "google_apis/drive/gdata_wapi_parser.h" |
| 41 #include "google_apis/drive/test_util.h" |
| 42 #include "net/test/embedded_test_server/embedded_test_server.h" | 42 #include "net/test/embedded_test_server/embedded_test_server.h" |
| 43 #include "webkit/browser/fileapi/external_mount_points.h" | 43 #include "webkit/browser/fileapi/external_mount_points.h" |
| 44 | 44 |
| 45 namespace file_manager { | 45 namespace file_manager { |
| 46 namespace { | 46 namespace { |
| 47 | 47 |
| 48 enum EntryType { | 48 enum EntryType { |
| 49 FILE, | 49 FILE, |
| 50 DIRECTORY, | 50 DIRECTORY, |
| 51 }; | 51 }; |
| (...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 732 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "searchBoxFocus"))); | 732 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "searchBoxFocus"))); |
| 733 | 733 |
| 734 INSTANTIATE_TEST_CASE_P( | 734 INSTANTIATE_TEST_CASE_P( |
| 735 Thumbnails, | 735 Thumbnails, |
| 736 FileManagerBrowserTest, | 736 FileManagerBrowserTest, |
| 737 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "thumbnailsDownloads"), | 737 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "thumbnailsDownloads"), |
| 738 TestParameter(IN_GUEST_MODE, "thumbnailsDownloads"))); | 738 TestParameter(IN_GUEST_MODE, "thumbnailsDownloads"))); |
| 739 | 739 |
| 740 } // namespace | 740 } // namespace |
| 741 } // namespace file_manager | 741 } // namespace file_manager |
| OLD | NEW |