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

Side by Side Diff: chrome/browser/media_galleries/gallery_watch_manager_observer.h

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_GALLERY_WATCH_MANAGER_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_GALLERY_WATCH_MANAGER_OBSERVER_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_GALLERY_WATCH_MANAGER_OBSERVER_H_ 6 #define CHROME_BROWSER_MEDIA_GALLERIES_GALLERY_WATCH_MANAGER_OBSERVER_H_
7 7
8 #include "base/basictypes.h"
9 #include "chrome/browser/media_galleries/media_galleries_preferences.h" 8 #include "chrome/browser/media_galleries/media_galleries_preferences.h"
10 9
11 class GalleryWatchManagerObserver { 10 class GalleryWatchManagerObserver {
12 public: 11 public:
13 virtual ~GalleryWatchManagerObserver() {} 12 virtual ~GalleryWatchManagerObserver() {}
14 13
15 // Called when the gallery contents change. 14 // Called when the gallery contents change.
16 virtual void OnGalleryChanged(const std::string& extension_id, 15 virtual void OnGalleryChanged(const std::string& extension_id,
17 MediaGalleryPrefId gallery_id) = 0; 16 MediaGalleryPrefId gallery_id) = 0;
18 17
19 // Called when the gallery watch is dropped without the caller requesting it, 18 // Called when the gallery watch is dropped without the caller requesting it,
20 // because the permission was revoked, device was detached, etc. 19 // because the permission was revoked, device was detached, etc.
21 virtual void OnGalleryWatchDropped(const std::string& extension_id, 20 virtual void OnGalleryWatchDropped(const std::string& extension_id,
22 MediaGalleryPrefId gallery_id) = 0; 21 MediaGalleryPrefId gallery_id) = 0;
23 }; 22 };
24 23
25 #endif // CHROME_BROWSER_MEDIA_GALLERIES_GALLERY_WATCH_MANAGER_OBSERVER_H_ 24 #endif // CHROME_BROWSER_MEDIA_GALLERIES_GALLERY_WATCH_MANAGER_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698