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

Unified Diff: chrome/browser/media_gallery/media_file_system_registry.h

Issue 10933137: Media Galleries: Change the media gallery name to be a JSON value with the name and pref id. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: dcheck Created 8 years, 3 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/media_gallery/media_file_system_registry.h
===================================================================
--- chrome/browser/media_gallery/media_file_system_registry.h (revision 157149)
+++ chrome/browser/media_gallery/media_file_system_registry.h (working copy)
@@ -42,9 +42,14 @@
class ScopedMediaDeviceMapEntry;
struct MediaFileSystemInfo {
- string16 name;
+ MediaFileSystemInfo(const std::string& fs_name,
+ const FilePath& fs_path,
+ const std::string& filesystem_id);
+ MediaFileSystemInfo();
+
+ std::string name; // JSON string, must not contain slashes.
+ FilePath path;
std::string fsid;
- FilePath path;
};
typedef base::Callback<void(const std::vector<MediaFileSystemInfo>&)>

Powered by Google App Engine
This is Rietveld 408576698