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

Unified Diff: content/browser/mojo/mojo_application_host.h

Issue 592153002: Replace Chrome IPC with Mojo IPC for querying BatteryStatus service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Tim's comments. Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/mojo/mojo_application_host.h
diff --git a/content/browser/mojo/mojo_application_host.h b/content/browser/mojo/mojo_application_host.h
index 27a43f89c2dcd0db5c3df11a8d22fa046a3609c4..238525d6e43946aeb2ad4e6fdf1f4e7a3a606b79 100644
--- a/content/browser/mojo/mojo_application_host.h
+++ b/content/browser/mojo/mojo_application_host.h
@@ -30,12 +30,10 @@ class MojoApplicationHost {
// 1- Init makes service_registry() available synchronously.
// 2- Activate establishes the actual connection to the peer process.
bool Init();
- bool Activate(IPC::Sender* sender, base::ProcessHandle process_handle);
+ void Activate(IPC::Sender* sender, base::ProcessHandle process_handle);
void WillDestroySoon();
- bool did_activate() const { return did_activate_; }
-
ServiceRegistry* service_registry() { return &service_registry_; }
private:

Powered by Google App Engine
This is Rietveld 408576698