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

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

Issue 891353004: Make --disable-mojo-channel work on the browser process (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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 #endif 295 #endif
296 296
297 // The count of currently swapped out but pending RenderViews. We have 297 // The count of currently swapped out but pending RenderViews. We have
298 // started to swap these in, so the renderer process should not exit if 298 // started to swap these in, so the renderer process should not exit if
299 // this count is non-zero. 299 // this count is non-zero.
300 int32 pending_views_; 300 int32 pending_views_;
301 301
302 private: 302 private:
303 friend class VisitRelayingRenderProcessHost; 303 friend class VisitRelayingRenderProcessHost;
304 304
305 bool ShouldUseMojoChannel() const;
306 scoped_ptr<IPC::ChannelProxy> CreateChannelProxy( 305 scoped_ptr<IPC::ChannelProxy> CreateChannelProxy(
307 const std::string& channel_id); 306 const std::string& channel_id);
308 307
309 // Creates and adds the IO thread message filters. 308 // Creates and adds the IO thread message filters.
310 void CreateMessageFilters(); 309 void CreateMessageFilters();
311 310
312 // Registers Mojo services to be exposed to the renderer. 311 // Registers Mojo services to be exposed to the renderer.
313 void RegisterMojoServices(); 312 void RegisterMojoServices();
314 313
315 // Control message handlers. 314 // Control message handlers.
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 bool subscribe_uniform_enabled_; 501 bool subscribe_uniform_enabled_;
503 502
504 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 503 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
505 504
506 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 505 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
507 }; 506 };
508 507
509 } // namespace content 508 } // namespace content
510 509
511 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 510 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698