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

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

Issue 880393002: Fix webrtcAudioPrivate API to handle requests from <webview>s. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update test Created 5 years, 10 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 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 2365 matching lines...) Expand 10 before | Expand all | Expand 10 after
2376 } 2376 }
2377 2377
2378 void RenderProcessHostImpl::DecrementWorkerRefCount() { 2378 void RenderProcessHostImpl::DecrementWorkerRefCount() {
2379 DCHECK_CURRENTLY_ON(BrowserThread::UI); 2379 DCHECK_CURRENTLY_ON(BrowserThread::UI);
2380 DCHECK_GT(worker_ref_count_, 0); 2380 DCHECK_GT(worker_ref_count_, 0);
2381 --worker_ref_count_; 2381 --worker_ref_count_;
2382 if (worker_ref_count_ == 0) 2382 if (worker_ref_count_ == 0)
2383 Cleanup(); 2383 Cleanup();
2384 } 2384 }
2385 2385
2386 void RenderProcessHostImpl::GetAudioOutputControllers(
2387 const GetAudioOutputControllersCallback& callback) const {
2388 audio_renderer_host()->GetOutputControllers(callback);
2389 }
2390
2386 } // namespace content 2391 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.h ('k') | content/browser/renderer_host/render_view_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698