| Index: chrome/browser/media_galleries/media_galleries_preferences.h
|
| diff --git a/chrome/browser/media_galleries/media_galleries_preferences.h b/chrome/browser/media_galleries/media_galleries_preferences.h
|
| index e04806bbab758ae0b07eb2c2d943e3e1d4cc07a8..7acfeed6e664099c976f615f23acad55e1a43c62 100644
|
| --- a/chrome/browser/media_galleries/media_galleries_preferences.h
|
| +++ b/chrome/browser/media_galleries/media_galleries_preferences.h
|
| @@ -240,8 +240,8 @@ class MediaGalleriesPreferences : public BrowserContextKeyedService,
|
| void OnInitializationCallbackReturned();
|
| void FinishInitialization();
|
|
|
| - // Populates the default galleries if this is a fresh profile.
|
| - void AddDefaultGalleriesIfFreshProfile();
|
| + // Populates the default galleries. Call only on fresh profiles.
|
| + void AddDefaultGalleries();
|
|
|
| // 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,6 +254,8 @@ class MediaGalleriesPreferences : public BrowserContextKeyedService,
|
| // 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);
|
|
|
|
|