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

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

Issue 676953005: Revert of Replace Chrome IPC with Mojo IPC for querying BatteryStatus service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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_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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 private: 283 private:
284 friend class VisitRelayingRenderProcessHost; 284 friend class VisitRelayingRenderProcessHost;
285 285
286 bool ShouldUseMojoChannel() const; 286 bool ShouldUseMojoChannel() const;
287 scoped_ptr<IPC::ChannelProxy> CreateChannelProxy( 287 scoped_ptr<IPC::ChannelProxy> CreateChannelProxy(
288 const std::string& channel_id); 288 const std::string& channel_id);
289 289
290 // Creates and adds the IO thread message filters. 290 // Creates and adds the IO thread message filters.
291 void CreateMessageFilters(); 291 void CreateMessageFilters();
292 292
293 // Registers Mojo services to be exposed to the renderer.
294 void RegisterMojoServices();
295
296 // Control message handlers. 293 // Control message handlers.
297 void OnShutdownRequest(); 294 void OnShutdownRequest();
298 void OnDumpHandlesDone(); 295 void OnDumpHandlesDone();
299 void SuddenTerminationChanged(bool enabled); 296 void SuddenTerminationChanged(bool enabled);
300 void OnUserMetricsRecordAction(const std::string& action); 297 void OnUserMetricsRecordAction(const std::string& action);
301 void OnSavedPageAsMHTML(int job_id, int64 mhtml_file_size); 298 void OnSavedPageAsMHTML(int job_id, int64 mhtml_file_size);
302 void OnCloseACK(int old_route_id); 299 void OnCloseACK(int old_route_id);
303 300
304 // Generates a command line to be used to spawn a renderer and appends the 301 // Generates a command line to be used to spawn a renderer and appends the
305 // results to |*command_line|. 302 // results to |*command_line|.
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 base::TimeTicks survive_for_worker_start_time_; 455 base::TimeTicks survive_for_worker_start_time_;
459 456
460 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 457 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
461 458
462 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 459 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
463 }; 460 };
464 461
465 } // namespace content 462 } // namespace content
466 463
467 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 464 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/browser_main_loop.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