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

Unified Diff: chrome/browser/chromeos/extensions/file_browser_private_apitest.cc

Issue 10830003: Extract and dispatch device uuid in media device attached notification message. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments. Created 8 years, 5 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/browser/chromeos/extensions/file_browser_private_apitest.cc
diff --git a/chrome/browser/chromeos/extensions/file_browser_private_apitest.cc b/chrome/browser/chromeos/extensions/file_browser_private_apitest.cc
index 9237c5b491d91d70d664dafb7ebc24770bc9c6e6..303dbcd4b34a4624c0adf28a378bddded4aaaf33 100644
--- a/chrome/browser/chromeos/extensions/file_browser_private_apitest.cc
+++ b/chrome/browser/chromeos/extensions/file_browser_private_apitest.cc
@@ -28,6 +28,7 @@ struct TestDiskInfo {
const char* file_path;
const char* device_label;
const char* drive_label;
+ const char* fs_uuid;
const char* system_path_prefix;
chromeos::DeviceType device_type;
uint64 size_in_bytes;
@@ -54,6 +55,7 @@ TestDiskInfo kTestDisks[] = {
"file_path1",
"device_label1",
"drive_label1",
+ "FFFF-FFFF",
"system_path_prefix1",
chromeos::DEVICE_TYPE_USB,
1073741824,
@@ -68,6 +70,7 @@ TestDiskInfo kTestDisks[] = {
"file_path2",
"device_label2",
"drive_label2",
+ "0FFF-FFFF",
"system_path_prefix2",
chromeos::DEVICE_TYPE_MOBILE,
47723,
@@ -82,6 +85,7 @@ TestDiskInfo kTestDisks[] = {
"file_path3",
"device_label3",
"drive_label3",
+ "00FF-FFFF",
"system_path_prefix3",
chromeos::DEVICE_TYPE_OPTICAL_DISC,
0,
@@ -190,6 +194,7 @@ class ExtensionFileBrowserPrivateApiTest : public ExtensionApiTest {
kTestDisks[disk_info_index].file_path,
kTestDisks[disk_info_index].device_label,
kTestDisks[disk_info_index].drive_label,
+ kTestDisks[disk_info_index].fs_uuid,
kTestDisks[disk_info_index].system_path_prefix,
kTestDisks[disk_info_index].device_type,
kTestDisks[disk_info_index].size_in_bytes,

Powered by Google App Engine
This is Rietveld 408576698