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

Side by Side Diff: content/common/devtools_messages.h

Issue 182993003: Add the ability for DevTools to wrap network transactions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added optional QUIC setup in HttpCache constructor Created 6 years, 8 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 // Developer tools consist of the following parts: 5 // Developer tools consist of the following parts:
6 // 6 //
7 // DevToolsAgent lives in the renderer of an inspected page and provides access 7 // DevToolsAgent lives in the renderer of an inspected page and provides access
8 // to the pages resources, DOM, v8 etc. by means of IPC messages. 8 // to the pages resources, DOM, v8 etc. by means of IPC messages.
9 // 9 //
10 // DevToolsClient is a thin delegate that lives in the tools front-end 10 // DevToolsClient is a thin delegate that lives in the tools front-end
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // cross-navigation instrumentation. 115 // cross-navigation instrumentation.
116 IPC_MESSAGE_ROUTED1(DevToolsHostMsg_SaveAgentRuntimeState, 116 IPC_MESSAGE_ROUTED1(DevToolsHostMsg_SaveAgentRuntimeState,
117 std::string /* state */) 117 std::string /* state */)
118 118
119 // Clears browser cache. 119 // Clears browser cache.
120 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_ClearBrowserCache) 120 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_ClearBrowserCache)
121 121
122 // Clears browser cookies. 122 // Clears browser cookies.
123 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_ClearBrowserCookies) 123 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_ClearBrowserCookies)
124 124
125 // Disables / reenables network.
126 IPC_MESSAGE_ROUTED1(DevToolsHostMsg_DisableNetwork,
127 bool /* disable */)
128
125 //----------------------------------------------------------------------------- 129 //-----------------------------------------------------------------------------
126 // These are messages sent from the GPU process to the inspected renderer. 130 // These are messages sent from the GPU process to the inspected renderer.
127 131
128 IPC_STRUCT_BEGIN(GpuTaskInfo) 132 IPC_STRUCT_BEGIN(GpuTaskInfo)
129 IPC_STRUCT_MEMBER(double, timestamp) 133 IPC_STRUCT_MEMBER(double, timestamp)
130 IPC_STRUCT_MEMBER(int, phase) 134 IPC_STRUCT_MEMBER(int, phase)
131 IPC_STRUCT_MEMBER(bool, foreign) 135 IPC_STRUCT_MEMBER(bool, foreign)
132 IPC_STRUCT_MEMBER(uint64, used_gpu_memory_bytes) 136 IPC_STRUCT_MEMBER(uint64, used_gpu_memory_bytes)
133 IPC_STRUCT_END() 137 IPC_STRUCT_END()
134 138
135 // Recorded events are passed in chunks to the renderer process. 139 // Recorded events are passed in chunks to the renderer process.
136 IPC_MESSAGE_ROUTED1(DevToolsAgentMsg_GpuTasksChunk, 140 IPC_MESSAGE_ROUTED1(DevToolsAgentMsg_GpuTasksChunk,
137 std::vector<GpuTaskInfo> /* gpu_tasks */) 141 std::vector<GpuTaskInfo> /* gpu_tasks */)
138 142
139 //----------------------------------------------------------------------------- 143 //-----------------------------------------------------------------------------
140 // These are messages sent from the inspected page renderer to the worker 144 // These are messages sent from the inspected page renderer to the worker
141 // renderer. 145 // renderer.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698