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

Side by Side Diff: chrome/browser/media_gallery/media_galleries_preferences.h

Issue 10911242: make media gallery directory tooltips in media gallery config dialog absolute paths (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: +! 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_MEDIA_GALLERY_MEDIA_GALLERIES_PREFERENCES_H_ 5 #ifndef CHROME_BROWSER_MEDIA_GALLERY_MEDIA_GALLERIES_PREFERENCES_H_
6 #define CHROME_BROWSER_MEDIA_GALLERY_MEDIA_GALLERIES_PREFERENCES_H_ 6 #define CHROME_BROWSER_MEDIA_GALLERY_MEDIA_GALLERIES_PREFERENCES_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 28 matching lines...) Expand all
39 struct MediaGalleryPrefInfo { 39 struct MediaGalleryPrefInfo {
40 enum Type { 40 enum Type {
41 kAutoDetected, // Auto added to the list of galleries. 41 kAutoDetected, // Auto added to the list of galleries.
42 kUserAdded, // Explicitly added by the user. 42 kUserAdded, // Explicitly added by the user.
43 kBlackListed, // Auto added but then removed by the user. 43 kBlackListed, // Auto added but then removed by the user.
44 }; 44 };
45 45
46 MediaGalleryPrefInfo(); 46 MediaGalleryPrefInfo();
47 ~MediaGalleryPrefInfo(); 47 ~MediaGalleryPrefInfo();
48 48
49 // The absolute path of the gallery.
50 FilePath AbsolutePath() const;
51
49 // The ID that identifies this gallery in this Profile. 52 // The ID that identifies this gallery in this Profile.
50 MediaGalleryPrefId pref_id; 53 MediaGalleryPrefId pref_id;
51 54
52 // The user-visible name of this gallery. 55 // The user-visible name of this gallery.
53 string16 display_name; 56 string16 display_name;
54 57
55 // A string which uniquely and persistently identifies the device that the 58 // A string which uniquely and persistently identifies the device that the
56 // gallery lives on. 59 // gallery lives on.
57 std::string device_id; 60 std::string device_id;
58 61
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 DeviceIdPrefIdsMap device_map_; 139 DeviceIdPrefIdsMap device_map_;
137 140
138 extensions::ExtensionPrefs* GetExtensionPrefs() const; 141 extensions::ExtensionPrefs* GetExtensionPrefs() const;
139 142
140 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesPreferences); 143 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesPreferences);
141 }; 144 };
142 145
143 } // namespace chrome 146 } // namespace chrome
144 147
145 #endif // CHROME_BROWSER_MEDIA_GALLERY_MEDIA_GALLERIES_PREFERENCES_H_ 148 #endif // CHROME_BROWSER_MEDIA_GALLERY_MEDIA_GALLERIES_PREFERENCES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698