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

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: nitfixes 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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 #if defined(OS_ANDROID) 266 #if defined(OS_ANDROID)
267 SynchronousCompositorBrowserFilter* synchronous_compositor_filter() const { 267 SynchronousCompositorBrowserFilter* synchronous_compositor_filter() const {
268 return synchronous_compositor_filter_.get(); 268 return synchronous_compositor_filter_.get();
269 } 269 }
270 #endif 270 #endif
271 271
272 void set_is_for_guests_only_for_testing(bool is_for_guests_only) { 272 void set_is_for_guests_only_for_testing(bool is_for_guests_only) {
273 is_for_guests_only_ = is_for_guests_only; 273 is_for_guests_only_ = is_for_guests_only;
274 } 274 }
275 275
276 void GetAudioOutputControllers(
277 const GetAudioOutputControllersCallback& callback) const override;
278
279 #if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX) 276 #if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX)
280 // Launch the zygote early in the browser startup. 277 // Launch the zygote early in the browser startup.
281 static void EarlyZygoteLaunch(); 278 static void EarlyZygoteLaunch();
282 #endif // defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX) 279 #endif // defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX)
283 280
284 void RecomputeAndUpdateWebKitPreferences(); 281 void RecomputeAndUpdateWebKitPreferences();
285 282
286 // Called when an audio stream is added or removed and used to determine if 283 // Called when an audio stream is added or removed and used to determine if
287 // the process should be backgrounded or not. 284 // the process should be backgrounded or not.
288 void OnAudioStreamAdded() override; 285 void OnAudioStreamAdded() override;
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 instance_weak_factory_; 607 instance_weak_factory_;
611 608
612 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 609 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
613 610
614 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 611 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
615 }; 612 };
616 613
617 } // namespace content 614 } // namespace content
618 615
619 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 616 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698