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

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

Issue 2157143002: Move interface registration to OnConnect in RPH (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 #endif 286 #endif
287 287
288 // The count of currently swapped out but pending RenderViews. We have 288 // The count of currently swapped out but pending RenderViews. We have
289 // started to swap these in, so the renderer process should not exit if 289 // started to swap these in, so the renderer process should not exit if
290 // this count is non-zero. 290 // this count is non-zero.
291 int32_t pending_views_; 291 int32_t pending_views_;
292 292
293 private: 293 private:
294 friend class ChildProcessLauncherBrowserTest_ChildSpawnFail_Test; 294 friend class ChildProcessLauncherBrowserTest_ChildSpawnFail_Test;
295 friend class VisitRelayingRenderProcessHost; 295 friend class VisitRelayingRenderProcessHost;
296 class ConnectionFilterImpl;
296 297
297 std::unique_ptr<IPC::ChannelProxy> CreateChannelProxy( 298 std::unique_ptr<IPC::ChannelProxy> CreateChannelProxy(
298 const std::string& channel_id); 299 const std::string& channel_id);
299 300
300 // Creates and adds the IO thread message filters. 301 // Creates and adds the IO thread message filters.
301 void CreateMessageFilters(); 302 void CreateMessageFilters();
302 303
303 // Registers Mojo interfaces to be exposed to the renderer. 304 // Registers Mojo interfaces to be exposed to the renderer.
304 void RegisterMojoInterfaces(); 305 void RegisterMojoInterfaces();
305 306
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 mojo::ScopedMessagePipeHandle in_process_renderer_handle_; 520 mojo::ScopedMessagePipeHandle in_process_renderer_handle_;
520 521
521 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 522 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
522 523
523 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 524 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
524 }; 525 };
525 526
526 } // namespace content 527 } // namespace content
527 528
528 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 529 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/browser_context.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