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

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

Issue 14895013: Move webkit/fileapi/file_system_mount_point_provider.h 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.mpeg"; 47 const char kKeyboardTestFileName[] = "world.mpeg";
48 const int64 kKeyboardTestFileSize = 1000; 48 const int64 kKeyboardTestFileSize = 1000;
49 const char kKeyboardTestFileCopyName[] = "world (1).mpeg"; 49 const char kKeyboardTestFileCopyName[] = "world (1).mpeg";
50 50
51 // Test suffixes appended to the Javascript tests' names. 51 // Test suffixes appended to the Javascript tests' names.
52 const char kDownloadsVolume[] = "Downloads"; 52 const char kDownloadsVolume[] = "Downloads";
53 const char kDriveVolume[] = "Drive"; 53 const char kDriveVolume[] = "Drive";
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after
843 } 843 }
844 844
845 IN_PROC_BROWSER_TEST_P(FileManagerBrowserTransferTest, 845 IN_PROC_BROWSER_TEST_P(FileManagerBrowserTransferTest,
846 TransferFromDriveToDownloads) { 846 TransferFromDriveToDownloads) {
847 ASSERT_TRUE(PrepareVolume()); 847 ASSERT_TRUE(PrepareVolume());
848 ResultCatcher catcher; 848 ResultCatcher catcher;
849 StartTest("transferFromDriveToDownloads"); 849 StartTest("transferFromDriveToDownloads");
850 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); 850 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
851 } 851 }
852 } // namespace 852 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698