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

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

Issue 880393002: Fix webrtcAudioPrivate API to handle requests from <webview>s. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 #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 <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 #include <string> 10 #include <string>
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 // Called when the existence of the other renderer process which is connected 263 // Called when the existence of the other renderer process which is connected
264 // to the Worker in this renderer process has changed. 264 // to the Worker in this renderer process has changed.
265 // It is only called when "enable-embedded-shared-worker" flag is set. 265 // It is only called when "enable-embedded-shared-worker" flag is set.
266 void IncrementWorkerRefCount(); 266 void IncrementWorkerRefCount();
267 void DecrementWorkerRefCount(); 267 void DecrementWorkerRefCount();
268 268
269 // Call this function to resume the navigation when it was deferred 269 // Call this function to resume the navigation when it was deferred
270 // immediately after receiving response headers. 270 // immediately after receiving response headers.
271 void ResumeResponseDeferredAtStart(const GlobalRequestID& request_id); 271 void ResumeResponseDeferredAtStart(const GlobalRequestID& request_id);
272 272
273 void GetAudioOutputControllers(
274 const GetAudioOutputControllersCallback& callback) const override;
275
273 protected: 276 protected:
274 // A proxy for our IPC::Channel that lives on the IO thread (see 277 // A proxy for our IPC::Channel that lives on the IO thread (see
275 // browser_process.h) 278 // browser_process.h)
276 scoped_ptr<IPC::ChannelProxy> channel_; 279 scoped_ptr<IPC::ChannelProxy> channel_;
277 280
278 // A host object ChannelMojo needs. The lifetime is bound to 281 // A host object ChannelMojo needs. The lifetime is bound to
279 // the RenderProcessHostImpl, not the channel. 282 // the RenderProcessHostImpl, not the channel.
280 scoped_ptr<IPC::ChannelMojoHost> channel_mojo_host_; 283 scoped_ptr<IPC::ChannelMojoHost> channel_mojo_host_;
281 284
282 // True if fast shutdown has been performed on this RPH. 285 // True if fast shutdown has been performed on this RPH.
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 bool subscribe_uniform_enabled_; 501 bool subscribe_uniform_enabled_;
499 502
500 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 503 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
501 504
502 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 505 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
503 }; 506 };
504 507
505 } // namespace content 508 } // namespace content
506 509
507 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 510 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698