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

Side by Side Diff: content/browser/renderer_host/media/media_stream_ui_proxy.h

Issue 616603004: Replacing the OVERRIDE with override and FINAL with final in content/browser/renderer_host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch Created 6 years, 2 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 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 CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_STREAM_UI_PROXY_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_STREAM_UI_PROXY_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_STREAM_UI_PROXY_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_STREAM_UI_PROXY_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 explicit FakeMediaStreamUIProxy(); 92 explicit FakeMediaStreamUIProxy();
93 virtual ~FakeMediaStreamUIProxy(); 93 virtual ~FakeMediaStreamUIProxy();
94 94
95 void SetAvailableDevices(const MediaStreamDevices& devices); 95 void SetAvailableDevices(const MediaStreamDevices& devices);
96 void SetMicAccess(bool access); 96 void SetMicAccess(bool access);
97 void SetCameraAccess(bool access); 97 void SetCameraAccess(bool access);
98 98
99 // MediaStreamUIProxy overrides. 99 // MediaStreamUIProxy overrides.
100 virtual void RequestAccess( 100 virtual void RequestAccess(
101 const MediaStreamRequest& request, 101 const MediaStreamRequest& request,
102 const ResponseCallback& response_callback) OVERRIDE; 102 const ResponseCallback& response_callback) override;
103 virtual void CheckAccess(const GURL& security_origin, 103 virtual void CheckAccess(const GURL& security_origin,
104 MediaStreamType type, 104 MediaStreamType type,
105 int render_process_id, 105 int render_process_id,
106 int render_frame_id, 106 int render_frame_id,
107 const base::Callback<void(bool)>& callback) OVERRIDE; 107 const base::Callback<void(bool)>& callback) override;
108 virtual void OnStarted(const base::Closure& stop_callback, 108 virtual void OnStarted(const base::Closure& stop_callback,
109 const WindowIdCallback& window_id_callback) OVERRIDE; 109 const WindowIdCallback& window_id_callback) override;
110 110
111 private: 111 private:
112 // This is used for RequestAccess(). 112 // This is used for RequestAccess().
113 MediaStreamDevices devices_; 113 MediaStreamDevices devices_;
114 114
115 // These are used for CheckAccess(). 115 // These are used for CheckAccess().
116 bool mic_access_; 116 bool mic_access_;
117 bool camera_access_; 117 bool camera_access_;
118 118
119 DISALLOW_COPY_AND_ASSIGN(FakeMediaStreamUIProxy); 119 DISALLOW_COPY_AND_ASSIGN(FakeMediaStreamUIProxy);
120 }; 120 };
121 121
122 } // namespace content 122 } // namespace content
123 123
124 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_STREAM_UI_PROXY_H_ 124 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_STREAM_UI_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698