static const char kCouldNotWatchGalleryError[];
GalleryWatchManager();
- virtual ~GalleryWatchManager();
+ ~GalleryWatchManager() override;
// Add or remove observer of change events - this is the only way to
// get the result of the file watches. There can only be one observer per
void OnFilePathChanged(const base::FilePath& path, bool error);
// MediaGalleriesPreferences::GalleryChangeObserver implementation.
- virtual void OnPermissionRemoved(MediaGalleriesPreferences* pref,
- const std::string& extension_id,
- MediaGalleryPrefId pref_id) OVERRIDE;
- virtual void OnGalleryRemoved(MediaGalleriesPreferences* pref,
- MediaGalleryPrefId pref_id) OVERRIDE;
+ void OnPermissionRemoved(MediaGalleriesPreferences* pref,
+ const std::string& extension_id,
+ MediaGalleryPrefId pref_id) override;
+ void OnGalleryRemoved(MediaGalleriesPreferences* pref,
+ MediaGalleryPrefId pref_id) override;
// storage_monitor::RemovableStorageObserver implementation.
- virtual void OnRemovableStorageDetached(
- const storage_monitor::StorageInfo& info) OVERRIDE;
+ void OnRemovableStorageDetached(
+ const storage_monitor::StorageInfo& info) override;
// True if the we are already observing the storage monitor.
bool storage_monitor_observed_;