| Index: chrome/browser/media/native_desktop_media_list.h
|
| diff --git a/chrome/browser/media/native_desktop_media_list.h b/chrome/browser/media/native_desktop_media_list.h
|
| index 138c85cdad53beb052eb725a95cf56cb70addd0d..1b96b1097c6a0929982dde0a38e930f1ddab6467 100644
|
| --- a/chrome/browser/media/native_desktop_media_list.h
|
| +++ b/chrome/browser/media/native_desktop_media_list.h
|
| @@ -21,9 +21,6 @@ class WindowCapturer;
|
| // native windows.
|
| class NativeDesktopMediaList : public DesktopMediaListBase {
|
| public:
|
| - typedef std::map<content::DesktopMediaID::Id, content::DesktopMediaID::Id>
|
| - NativeAuraIdMap;
|
| -
|
| // Caller may pass NULL for either of the arguments in case when only some
|
| // types of sources the model should be populated with (e.g. it will only
|
| // contain windows, if |screen_capturer| is NULL).
|
| @@ -38,14 +35,11 @@ class NativeDesktopMediaList : public DesktopMediaListBase {
|
| class Worker;
|
| friend class Worker;
|
|
|
| - // Refresh() posts a task for the |worker_| to update list of windows and get
|
| - // thumbnails. Then |worker_| first posts tasks for
|
| - // UpdateObserverSourcesList() with fresh list of sources, then follows with
|
| - // OnSourceThumbnail() for each changed thumbnail and then calls
|
| - // DelayLaunchNextRefersh() at the end.
|
| + // Refresh() posts a task for the |worker_| to update list of windows, get
|
| + // thumbnails and schedule next refresh.
|
| void Refresh() override;
|
|
|
| - void OnSourceThumbnailCaptured(int index, const gfx::ImageSkia& image);
|
| + void AddAuraIdToMediaId(std::vector<SourceDescription> sources);
|
| void FinishRefreshOnUiThreadAndScheduleNext(
|
| const std::vector<content::DesktopMediaID>& aura_ids);
|
|
|
|
|