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

Side by Side Diff: chrome/browser/media/desktop_streams_registry.h

Issue 89683003: Rename DesktopMediaPickerModel[Impl]->[Native]DesktopMediaList (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 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_DESKTOP_STREAMS_REGISTRY_H_ 5 #ifndef CHROME_BROWSER_MEDIA_DESKTOP_STREAMS_REGISTRY_H_
6 #define CHROME_BROWSER_MEDIA_DESKTOP_STREAMS_REGISTRY_H_ 6 #define CHROME_BROWSER_MEDIA_DESKTOP_STREAMS_REGISTRY_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "chrome/browser/media/desktop_media_picker_model.h" 11 #include "chrome/browser/media/desktop_media_list.h"
12 #include "url/gurl.h" 12 #include "url/gurl.h"
13 13
14 // DesktopStreamsRegistry is used to store accepted desktop media streams for 14 // DesktopStreamsRegistry is used to store accepted desktop media streams for
15 // Desktop Capture API. Single instance of this class is created per browser in 15 // Desktop Capture API. Single instance of this class is created per browser in
16 // MediaCaptureDevicesDispatcher. 16 // MediaCaptureDevicesDispatcher.
17 class DesktopStreamsRegistry { 17 class DesktopStreamsRegistry {
18 public: 18 public:
19 DesktopStreamsRegistry(); 19 DesktopStreamsRegistry();
20 ~DesktopStreamsRegistry(); 20 ~DesktopStreamsRegistry();
21 21
(...skipping 26 matching lines...) Expand all
48 48
49 // Helper function that removes an expired stream from the registry. 49 // Helper function that removes an expired stream from the registry.
50 void CleanupStream(const std::string& id); 50 void CleanupStream(const std::string& id);
51 51
52 StreamsMap approved_streams_; 52 StreamsMap approved_streams_;
53 53
54 DISALLOW_COPY_AND_ASSIGN(DesktopStreamsRegistry); 54 DISALLOW_COPY_AND_ASSIGN(DesktopStreamsRegistry);
55 }; 55 };
56 56
57 #endif // CHROME_BROWSER_MEDIA_DESKTOP_STREAMS_REGISTRY_H_ 57 #endif // CHROME_BROWSER_MEDIA_DESKTOP_STREAMS_REGISTRY_H_
OLDNEW
« no previous file with comments | « chrome/browser/media/desktop_media_picker_model_unittest.cc ('k') | chrome/browser/media/native_desktop_media_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698