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

Side by Side Diff: chrome/test/data/extensions/api_test/filebrowser_mount/test.html

Issue 7583041: Adding a format device button to UI. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: fix Created 9 years, 4 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
« no previous file with comments | « chrome/browser/resources/file_manager/js/mock_chrome.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <script> 1 <script>
2 // These have to be sync'd with extension_file_browser_private_apitest.cc 2 // These have to be sync'd with extension_file_browser_private_apitest.cc
3 var expectedVolume1 = { 3 var expectedVolume1 = {
4 devicePath: 'device_path1', 4 devicePath: 'device_path1',
5 mountPath: 'mount_path1', 5 mountPath: 'removable/mount_path1',
6 systemPath: 'system_path1', 6 systemPath: 'system_path1',
7 filePath: 'file_path1', 7 filePath: 'file_path1',
8 deviceLabel: 'device_label1', 8 deviceLabel: 'device_label1',
9 driveLabel: 'drive_label1', 9 driveLabel: 'drive_label1',
10 deviceType: 'flash', 10 deviceType: 'flash',
11 totalSize: 1073741824, 11 totalSize: 1073741824,
12 isParent: false, 12 isParent: false,
13 isReadOnly: false, 13 isReadOnly: false,
14 hasMedia: false, 14 hasMedia: false,
15 isOnBootDevice: false 15 isOnBootDevice: false
16 }; 16 };
17 17
18 var expectedVolume2 = { 18 var expectedVolume2 = {
19 devicePath: 'device_path2', 19 devicePath: 'device_path2',
20 mountPath: 'mount_path2', 20 mountPath: 'mount_path2',
21 mountPath: 'removable/mount_path2',
21 systemPath: 'system_path2', 22 systemPath: 'system_path2',
22 filePath: 'file_path2', 23 filePath: 'file_path2',
23 deviceLabel: 'device_label2', 24 deviceLabel: 'device_label2',
24 driveLabel: 'drive_label2', 25 driveLabel: 'drive_label2',
25 deviceType: 'hdd', 26 deviceType: 'hdd',
26 totalSize: 47723, 27 totalSize: 47723,
27 isParent: true, 28 isParent: true,
28 isReadOnly: true, 29 isReadOnly: true,
29 hasMedia: true, 30 hasMedia: true,
30 isOnBootDevice: true 31 isOnBootDevice: true
31 }; 32 };
32 33
33 var expectedVolume3 = { 34 var expectedVolume3 = {
34 devicePath: 'device_path3', 35 devicePath: 'device_path3',
35 mountPath: 'mount_path3', 36 mountPath: 'mount_path3',
37 mountPath: 'removable/mount_path3',
36 systemPath: 'system_path3', 38 systemPath: 'system_path3',
37 filePath: 'file_path3', 39 filePath: 'file_path3',
38 deviceLabel: 'device_label3', 40 deviceLabel: 'device_label3',
39 driveLabel: 'drive_label3', 41 driveLabel: 'drive_label3',
40 deviceType: 'optical', 42 deviceType: 'optical',
41 totalSize: 0, 43 totalSize: 0,
42 isParent: true, 44 isParent: true,
43 isReadOnly: false, 45 isReadOnly: false,
44 hasMedia: false, 46 hasMedia: false,
45 isOnBootDevice: true 47 isOnBootDevice: true
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 "", 116 "",
115 chrome.test.callbackFail("Device path not found")); 117 chrome.test.callbackFail("Device path not found"));
116 } 118 }
117 ]); 119 ]);
118 </script> 120 </script>
119 <html> 121 <html>
120 <body> 122 <body>
121 FileBrowserMounting tests... 123 FileBrowserMounting tests...
122 </body> 124 </body>
123 </html> 125 </html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/file_manager/js/mock_chrome.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698