Revert of Add button to add new FSP services to Files app. (patchset #8 id:140001...
[chromium-blink-merge.git] / chrome / browser / media_galleries / gallery_watch_manager_observer.h
bloba4671e5e35add4fd0737b6228aa4d209187ac66d
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_GALLERY_WATCH_MANAGER_OBSERVER_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_GALLERY_WATCH_MANAGER_OBSERVER_H_
8 #include "base/basictypes.h"
9 #include "chrome/browser/media_galleries/media_galleries_preferences.h"
11 class GalleryWatchManagerObserver {
12 public:
13 virtual ~GalleryWatchManagerObserver() {}
15 // Called when the gallery contents change.
16 virtual void OnGalleryChanged(const std::string& extension_id,
17 MediaGalleryPrefId gallery_id) = 0;
19 // Called when the gallery watch is dropped without the caller requesting it,
20 // because the permission was revoked, device was detached, etc.
21 virtual void OnGalleryWatchDropped(const std::string& extension_id,
22 MediaGalleryPrefId gallery_id) = 0;
25 #endif // CHROME_BROWSER_MEDIA_GALLERIES_GALLERY_WATCH_MANAGER_OBSERVER_H_