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

Side by Side Diff: chrome/browser/chromeos/extensions/file_manager/file_manager_browsertest.cc

Issue 15994002: Move more browser-specific webkit/fileapi code to webkit/browser/fileapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
OLDNEW
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 22 matching lines...) Expand all
33 #include "chrome/browser/profiles/profile.h" 33 #include "chrome/browser/profiles/profile.h"
34 #include "chrome/browser/ui/browser_window.h" 34 #include "chrome/browser/ui/browser_window.h"
35 #include "chrome/browser/ui/tabs/tab_strip_model.h" 35 #include "chrome/browser/ui/tabs/tab_strip_model.h"
36 #include "chrome/common/chrome_switches.h" 36 #include "chrome/common/chrome_switches.h"
37 #include "chrome/common/extensions/extension.h" 37 #include "chrome/common/extensions/extension.h"
38 #include "chrome/test/base/ui_test_utils.h" 38 #include "chrome/test/base/ui_test_utils.h"
39 #include "chromeos/chromeos_switches.h" 39 #include "chromeos/chromeos_switches.h"
40 #include "content/public/browser/browser_context.h" 40 #include "content/public/browser/browser_context.h"
41 #include "content/public/browser/render_view_host.h" 41 #include "content/public/browser/render_view_host.h"
42 #include "net/base/escape.h" 42 #include "net/base/escape.h"
43 #include "webkit/fileapi/external_mount_points.h" 43 #include "webkit/browser/fileapi/external_mount_points.h"
44 44
45 namespace { 45 namespace {
46 46
47 const char kKeyboardTestFileName[] = "world.ogv"; 47 const char kKeyboardTestFileName[] = "world.ogv";
48 const char kKeyboardTestFileCopyName[] = "world (1).ogv"; 48 const char kKeyboardTestFileCopyName[] = "world (1).ogv";
49 49
50 // Test suffixes appended to the Javascript tests' names. 50 // Test suffixes appended to the Javascript tests' names.
51 const char kDownloadsVolume[] = "Downloads"; 51 const char kDownloadsVolume[] = "Downloads";
52 const char kDriveVolume[] = "Drive"; 52 const char kDriveVolume[] = "Drive";
53 53
(...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 // TODO(hirono): Bring back the offline feature. http://crbug.com/238545 900 // TODO(hirono): Bring back the offline feature. http://crbug.com/238545
901 IN_PROC_BROWSER_TEST_P(FileManagerBrowserTransferTest, 901 IN_PROC_BROWSER_TEST_P(FileManagerBrowserTransferTest,
902 DISABLED_TransferFromOfflineToDrive) { 902 DISABLED_TransferFromOfflineToDrive) {
903 ASSERT_NO_FATAL_FAILURE(PrepareVolume()); 903 ASSERT_NO_FATAL_FAILURE(PrepareVolume());
904 ResultCatcher catcher; 904 ResultCatcher catcher;
905 ASSERT_NO_FATAL_FAILURE(StartTest("transferFromOfflineToDrive")); 905 ASSERT_NO_FATAL_FAILURE(StartTest("transferFromOfflineToDrive"));
906 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); 906 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
907 } 907 }
908 908
909 } // namespace 909 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/extensions/file_manager/file_handler_util.cc ('k') | chrome/browser/devtools/devtools_file_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698