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

Unified Diff: chrome/test/data/extensions/api_test/file_browser/mount_test/test.js

Issue 677413007: Add a has_media flag to VolumeMetadata. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix has_media flags on unittest. Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/extensions/api_test/file_browser/mount_test/test.js
diff --git a/chrome/test/data/extensions/api_test/file_browser/mount_test/test.js b/chrome/test/data/extensions/api_test/file_browser/mount_test/test.js
index 9b317218384370efc2f8a93007d64b8dfd1e8f20..ff093636d55b3c93d5dd8916bff6fbb59a362093 100644
--- a/chrome/test/data/extensions/api_test/file_browser/mount_test/test.js
+++ b/chrome/test/data/extensions/api_test/file_browser/mount_test/test.js
@@ -12,6 +12,7 @@ var expectedVolume1 = {
devicePath: 'system_path_prefix1',
isParentDevice: false,
isReadOnly: false,
+ hasMedia: false,
profile: {profileId: "", displayName: "", isCurrentProfile: true}
};
@@ -24,6 +25,7 @@ var expectedVolume2 = {
devicePath: 'system_path_prefix2',
isParentDevice: true,
isReadOnly: true,
+ hasMedia: true,
profile: {profileId: "", displayName: "", isCurrentProfile: true}
};
@@ -36,6 +38,7 @@ var expectedVolume3 = {
devicePath: 'system_path_prefix3',
isParentDevice: true,
isReadOnly: false,
+ hasMedia: false,
profile: {profileId: "", displayName: "", isCurrentProfile: true}
};
@@ -44,6 +47,7 @@ var expectedDownloadsVolume = {
volumeLabel: '',
volumeType: 'downloads',
isReadOnly: false,
+ hasMedia: false,
profile: {profileId: "", displayName: "", isCurrentProfile: true}
};
@@ -53,6 +57,7 @@ var expectedDriveVolume = {
sourcePath: /^\/special\/drive[^\/]*$/,
volumeType: 'drive',
isReadOnly: false,
+ hasMedia: false,
profile: {profileId: "", displayName: "", isCurrentProfile: true}
};
@@ -62,6 +67,7 @@ var expectedArchiveVolume = {
sourcePath: /removable\/mount_path3\/archive.zip$/,
volumeType: 'archive',
isReadOnly: true,
+ hasMedia: false,
profile: {profileId: "", displayName: "", isCurrentProfile: true}
};

Powered by Google App Engine
This is Rietveld 408576698