summaryrefslogtreecommitdiffstats
path: root/content/shell/shell_messages.h
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-17 09:46:36 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-17 09:46:36 +0000
commit09ec9f9bad4fceb6cc88461c29f0866d125d174b (patch)
treec45cb22bb08d98bb9dbf48fdbf0dd90ca2117754 /content/shell/shell_messages.h
parent0bfe67466dfd44dbd99c2a4785405039b01d4019 (diff)
downloadchromium_src-09ec9f9bad4fceb6cc88461c29f0866d125d174b.zip
chromium_src-09ec9f9bad4fceb6cc88461c29f0866d125d174b.tar.gz
chromium_src-09ec9f9bad4fceb6cc88461c29f0866d125d174b.tar.bz2
[content shell] implement additional URL handling methods of the WebTestDelegate
Those callbacks are not yet used, but are required for the TestRunner BUG=111316 R=marja@chromium.org Review URL: https://codereview.chromium.org/11572041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173435 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/shell_messages.h')
-rw-r--r--content/shell/shell_messages.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/content/shell/shell_messages.h b/content/shell/shell_messages.h
index 72114f0..08cc391 100644
--- a/content/shell/shell_messages.h
+++ b/content/shell/shell_messages.h
@@ -59,6 +59,11 @@ IPC_MESSAGE_ROUTED0(ShellViewHostMsg_DidFinishLoad)
IPC_MESSAGE_ROUTED1(ShellViewHostMsg_PrintMessage,
std::string /* message */)
+// Read a file and returns its contents.
+IPC_SYNC_MESSAGE_ROUTED1_1(ShellViewHostMsg_ReadFileToString,
+ FilePath /* local path */,
+ std::string /* contents */)
+
// The following messages correspond to methods of the testRunner.
IPC_MESSAGE_ROUTED0(ShellViewHostMsg_NotifyDone)
IPC_MESSAGE_ROUTED0(ShellViewHostMsg_DumpAsText)