Chromium Code Reviews| 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..730e3ef4766f4cdae7f85171d51eb3d8256ea7c3 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 need_to_add_default_galleries); |
|
vandebo (ex-Chrome)
2013/10/01 22:19:01
nit: add_default_galleries
tommycli
2013/10/01 23:20:37
Done.
|
| + |
| // Handle an iPhoto, iTunes, or Picasa finder returning a device ID to us. |
| void OnFinderDeviceID(const std::string& device_id); |