diff options
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/devtools_messages.h | 4 | ||||
-rw-r--r-- | chrome/common/devtools_messages_internal.h | 2 | ||||
-rw-r--r-- | chrome/common/render_messages_internal.h | 6 |
3 files changed, 8 insertions, 4 deletions
diff --git a/chrome/common/devtools_messages.h b/chrome/common/devtools_messages.h index 4a09d43..060c4d9 100644 --- a/chrome/common/devtools_messages.h +++ b/chrome/common/devtools_messages.h @@ -6,8 +6,12 @@ #define CHROME_COMMON_DEVTOOLS_MESSAGES_H_ #pragma once +#include <map> + #include "ipc/ipc_message_utils.h" +typedef std::map<std::string, std::string> DevToolsRuntimeProperties; + #define MESSAGES_INTERNAL_FILE "chrome/common/devtools_messages_internal.h" #include "ipc/ipc_message_macros.h" diff --git a/chrome/common/devtools_messages_internal.h b/chrome/common/devtools_messages_internal.h index 4eb9cca..ac8dbce 100644 --- a/chrome/common/devtools_messages_internal.h +++ b/chrome/common/devtools_messages_internal.h @@ -70,7 +70,7 @@ IPC_BEGIN_MESSAGES(DevToolsAgent) // Tells agent that there is a client host connected to it. IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_Attach, - std::vector<std::string> /* runtime_features */) + DevToolsRuntimeProperties /* properties */) // Tells agent that there is no longer a client host connected to it. IPC_MESSAGE_CONTROL0(DevToolsAgentMsg_Detach) diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h index 55d3a66..2838579 100644 --- a/chrome/common/render_messages_internal.h +++ b/chrome/common/render_messages_internal.h @@ -1660,9 +1660,9 @@ IPC_BEGIN_MESSAGES(ViewHost) // Updates runtime features store in devtools manager in order to support // cross-navigation instrumentation. - IPC_MESSAGE_ROUTED2(ViewHostMsg_DevToolsRuntimeFeatureStateChanged, - std::string /* feature */, - bool /* enabled */) + IPC_MESSAGE_ROUTED2(ViewHostMsg_DevToolsRuntimePropertyChanged, + std::string /* name */, + std::string /* value */) // Send back a string to be recorded by UserMetrics. IPC_MESSAGE_ROUTED1(ViewHostMsg_UserMetricsRecordAction, |