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

Unified Diff: trunk/src/chrome/browser/media_galleries/media_galleries_preferences.h

Issue 25725004: Revert 226509 "Media Galleries API: Fix MediaGalleriesPreference..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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
« no previous file with comments | « no previous file | trunk/src/chrome/browser/media_galleries/media_galleries_preferences.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/media_galleries/media_galleries_preferences.h
===================================================================
--- trunk/src/chrome/browser/media_galleries/media_galleries_preferences.h (revision 226516)
+++ trunk/src/chrome/browser/media_galleries/media_galleries_preferences.h (working copy)
@@ -240,8 +240,8 @@
void OnInitializationCallbackReturned();
void FinishInitialization();
- // Populates the default galleries. Call only on fresh profiles.
- void AddDefaultGalleries();
+ // Populates the default galleries if this is a fresh profile.
+ void AddDefaultGalleriesIfFreshProfile();
// This is a hack - Some devices (iTunes, Picasa) are singletons in that only
// one instance of that type is supported at a time. As such, the device id
@@ -254,8 +254,6 @@
// device id. It returns true if the device id is up to date.
bool UpdateDeviceIDForSingletonType(const std::string& device_id);
- void OnStorageMonitorInit(bool add_default_galleries);
-
// Handle an iPhoto, iTunes, or Picasa finder returning a device ID to us.
void OnFinderDeviceID(const std::string& device_id);
« no previous file with comments | « no previous file | trunk/src/chrome/browser/media_galleries/media_galleries_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698