[safe-browsing] Database full hash matches like prefix match.
[chromium-blink-merge.git] / chrome / browser / media / desktop_media_list_observer.h
blob1988f52b5bca12547775721e99089833ae868162
1 // Copyright 2013 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_DESKTOP_MEDIA_LIST_OBSERVER_H_
6 #define CHROME_BROWSER_MEDIA_DESKTOP_MEDIA_LIST_OBSERVER_H_
8 // Interface implemented by the desktop media picker dialog to receive
9 // notifications about changes in DesktopMediaList.
10 class DesktopMediaListObserver {
11 public:
12 virtual void OnSourceAdded(int index) = 0;
13 virtual void OnSourceRemoved(int index) = 0;
14 virtual void OnSourceMoved(int old_index, int new_index) = 0;
15 virtual void OnSourceNameChanged(int index) = 0;
16 virtual void OnSourceThumbnailChanged(int index) = 0;
18 protected:
19 virtual ~DesktopMediaListObserver() {}
22 #endif // CHROME_BROWSER_MEDIA_DESKTOP_MEDIA_LIST_OBSERVER_H_