| 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 |
| 11 #include <deque> | 11 #include <deque> |
| 12 #include <string> | 12 #include <string> |
| 13 | 13 |
| 14 #include "apps/app_window.h" | 14 #include "apps/app_window.h" |
| 15 #include "apps/app_window_registry.h" | 15 #include "apps/app_window_registry.h" |
| 16 #include "base/bind.h" | 16 #include "base/bind.h" |
| 17 #include "base/file_util.h" | |
| 18 #include "base/files/file_path.h" | 17 #include "base/files/file_path.h" |
| 18 #include "base/files/file_util.h" |
| 19 #include "base/json/json_reader.h" | 19 #include "base/json/json_reader.h" |
| 20 #include "base/json/json_value_converter.h" | 20 #include "base/json/json_value_converter.h" |
| 21 #include "base/json/json_writer.h" | 21 #include "base/json/json_writer.h" |
| 22 #include "base/prefs/pref_service.h" | 22 #include "base/prefs/pref_service.h" |
| 23 #include "base/strings/string_piece.h" | 23 #include "base/strings/string_piece.h" |
| 24 #include "base/strings/utf_string_conversions.h" | 24 #include "base/strings/utf_string_conversions.h" |
| 25 #include "base/time/time.h" | 25 #include "base/time/time.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/file_manager/app_id.h" | 28 #include "chrome/browser/chromeos/file_manager/app_id.h" |
| (...skipping 1488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1517 } | 1517 } |
| 1518 | 1518 |
| 1519 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { | 1519 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { |
| 1520 AddScript("video_player/open_video_files.js"); | 1520 AddScript("video_player/open_video_files.js"); |
| 1521 set_test_case_name("openSingleVideoOnDrive"); | 1521 set_test_case_name("openSingleVideoOnDrive"); |
| 1522 StartTest(); | 1522 StartTest(); |
| 1523 } | 1523 } |
| 1524 | 1524 |
| 1525 } // namespace | 1525 } // namespace |
| 1526 } // namespace file_manager | 1526 } // namespace file_manager |
| OLD | NEW |