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

Unified Diff: content/common/power_monitor_messages.h

Issue 2433203003: Mojoify PoweMonitorMessageBroadcaster IPC from browser to child process (Closed)
Patch Set: code rebase Created 4 years, 2 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
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/public/app/mojo/content_browser_manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/power_monitor_messages.h
diff --git a/content/common/power_monitor_messages.h b/content/common/power_monitor_messages.h
deleted file mode 100644
index 9b462454c85132c6a44240f1e6cff9fc650717e6..0000000000000000000000000000000000000000
--- a/content/common/power_monitor_messages.h
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Multiply-included message file, no include guard.
-
-#include "ipc/ipc_message_macros.h"
-#include "ipc/ipc_param_traits.h"
-#include "ipc/ipc_platform_file.h"
-
-#undef IPC_MESSAGE_EXPORT
-#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
-#define IPC_MESSAGE_START PowerMonitorMsgStart
-
-// Messages sent from the browser to the renderer/gpu.
-
-// Notification of a change in power status of the computer, such
-// as from switching between battery and A/C power.
-IPC_MESSAGE_CONTROL1(PowerMonitorMsg_PowerStateChange,
- bool /* on_battery_power */)
-
-// Notification that the system is suspending.
-IPC_MESSAGE_CONTROL0(PowerMonitorMsg_Suspend)
-
-// Notification that the system is resuming.
-IPC_MESSAGE_CONTROL0(PowerMonitorMsg_Resume)
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/public/app/mojo/content_browser_manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698