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

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

Issue 11570081: Support file system access in DevTools with isolated file system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added ALLOW_THIS_IN_INITIALIZER_LIST, fixed nits. Created 7 years, 11 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 std::string /* url */, 131 std::string /* url */,
132 std::string /* content */, 132 std::string /* content */,
133 bool /* save_as */) 133 bool /* save_as */)
134 134
135 // Appends given |content| to the file that has been associated with the 135 // Appends given |content| to the file that has been associated with the
136 // given |url| by Save message handler. 136 // given |url| by Save message handler.
137 IPC_MESSAGE_ROUTED2(DevToolsHostMsg_Append, 137 IPC_MESSAGE_ROUTED2(DevToolsHostMsg_Append,
138 std::string /* url */, 138 std::string /* url */,
139 std::string /* content */) 139 std::string /* content */)
140 140
141 // Requests the list of file systems added for devtools previously.
142 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_RequestFileSystems)
Tom Sepez 2013/01/11 18:34:17 nit: I might call this _ListFileSystems since req
Tom Sepez 2013/01/11 18:40:08 Nevermind. It looks like this is doing more than
143
144 // Shows a dialog to select a folder to add an isolated file system for.
145 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_AddFileSystem)
146
147 // Removes previously added devtools file system by given |file_system_path|.
148 IPC_MESSAGE_ROUTED1(DevToolsHostMsg_RemoveFileSystem,
149 std::string /* file_system_path */)
150
141 // Updates agent runtime state stored in devtools manager in order to support 151 // Updates agent runtime state stored in devtools manager in order to support
142 // cross-navigation instrumentation. 152 // cross-navigation instrumentation.
143 IPC_MESSAGE_ROUTED1(DevToolsHostMsg_SaveAgentRuntimeState, 153 IPC_MESSAGE_ROUTED1(DevToolsHostMsg_SaveAgentRuntimeState,
144 std::string /* state */) 154 std::string /* state */)
145 155
146 // Clears browser cache. 156 // Clears browser cache.
147 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_ClearBrowserCache) 157 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_ClearBrowserCache)
148 158
149 // Clears browser cookies. 159 // Clears browser cookies.
150 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_ClearBrowserCookies) 160 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_ClearBrowserCookies)
151 161
152 162
153 //----------------------------------------------------------------------------- 163 //-----------------------------------------------------------------------------
154 // These are messages sent from the inspected page renderer to the worker 164 // These are messages sent from the inspected page renderer to the worker
155 // renderer. 165 // renderer.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698