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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 2784563003: WebRTC Audio private API: removing WebRtcAudioPrivate(Set/Get)ActiveSinkFunction (Closed)
Patch Set: updated api version Created 3 years, 8 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDER_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 #if defined(OS_ANDROID) 273 #if defined(OS_ANDROID)
274 SynchronousCompositorBrowserFilter* synchronous_compositor_filter() const { 274 SynchronousCompositorBrowserFilter* synchronous_compositor_filter() const {
275 return synchronous_compositor_filter_.get(); 275 return synchronous_compositor_filter_.get();
276 } 276 }
277 #endif 277 #endif
278 278
279 void set_is_for_guests_only_for_testing(bool is_for_guests_only) { 279 void set_is_for_guests_only_for_testing(bool is_for_guests_only) {
280 is_for_guests_only_ = is_for_guests_only; 280 is_for_guests_only_ = is_for_guests_only;
281 } 281 }
282 282
283 void GetAudioOutputControllers(
284 const GetAudioOutputControllersCallback& callback) const override;
285
286 #if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX) 283 #if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX)
287 // Launch the zygote early in the browser startup. 284 // Launch the zygote early in the browser startup.
288 static void EarlyZygoteLaunch(); 285 static void EarlyZygoteLaunch();
289 #endif // defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX) 286 #endif // defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX)
290 287
291 void RecomputeAndUpdateWebKitPreferences(); 288 void RecomputeAndUpdateWebKitPreferences();
292 289
293 // Called when an audio stream is added or removed and used to determine if 290 // Called when an audio stream is added or removed and used to determine if
294 // the process should be backgrounded or not. 291 // the process should be backgrounded or not.
295 void OnAudioStreamAdded() override; 292 void OnAudioStreamAdded() override;
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
623 FrameSinkProviderImpl frame_sink_provider_; 620 FrameSinkProviderImpl frame_sink_provider_;
624 621
625 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 622 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
626 623
627 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 624 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
628 }; 625 };
629 626
630 } // namespace content 627 } // namespace content
631 628
632 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 629 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/media/audio_renderer_host.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698