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

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

Issue 382333002: Introduce ChannelMojo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renamed ChanelBuilder to ChannelFactory Created 6 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 | Annotate | Revision Log
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_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 271
272 // The count of currently swapped out but pending RenderViews. We have 272 // The count of currently swapped out but pending RenderViews. We have
273 // started to swap these in, so the renderer process should not exit if 273 // started to swap these in, so the renderer process should not exit if
274 // this count is non-zero. 274 // this count is non-zero.
275 int32 pending_views_; 275 int32 pending_views_;
276 276
277 private: 277 private:
278 friend class VisitRelayingRenderProcessHost; 278 friend class VisitRelayingRenderProcessHost;
279 279
280 void MaybeActivateMojo(); 280 void MaybeActivateMojo();
281 bool IsMojoChannelEnabled() const;
282 scoped_ptr<IPC::ChannelProxy> CreateChannelProxy(
283 const std::string& channel_id);
281 284
282 // Creates and adds the IO thread message filters. 285 // Creates and adds the IO thread message filters.
283 void CreateMessageFilters(); 286 void CreateMessageFilters();
284 287
285 // Control message handlers. 288 // Control message handlers.
286 void OnShutdownRequest(); 289 void OnShutdownRequest();
287 void OnDumpHandlesDone(); 290 void OnDumpHandlesDone();
288 void SuddenTerminationChanged(bool enabled); 291 void SuddenTerminationChanged(bool enabled);
289 void OnUserMetricsRecordAction(const std::string& action); 292 void OnUserMetricsRecordAction(const std::string& action);
290 void OnSavedPageAsMHTML(int job_id, int64 mhtml_file_size); 293 void OnSavedPageAsMHTML(int job_id, int64 mhtml_file_size);
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 #if defined(OS_MACOSX) 455 #if defined(OS_MACOSX)
453 base::ScopedCFTypeRef<IOSurfaceRef> last_io_surface_; 456 base::ScopedCFTypeRef<IOSurfaceRef> last_io_surface_;
454 #endif 457 #endif
455 458
456 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 459 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
457 }; 460 };
458 461
459 } // namespace content 462 } // namespace content
460 463
461 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 464 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698