Index: chrome/browser/automation/automation_provider.h |
=================================================================== |
--- chrome/browser/automation/automation_provider.h (revision 50654) |
+++ chrome/browser/automation/automation_provider.h (working copy) |
@@ -327,6 +327,10 @@ |
int64 id, |
bool* success); |
+ // Util for creating a JSON error return string (dict with key |
+ // 'error' and error string value). No need to quote input. |
+ std::string JSONErrorString(std::string err); |
+ |
// Set window dimensions. |
// Uses the JSON interface for input/output. |
void SetWindowDimensions(Browser* browser, |
@@ -432,6 +436,12 @@ |
DictionaryValue* args, |
IPC::Message* reply_message); |
+ // Save the contents of a tab into a file. |
+ // Uses the JSON interface for input/output. |
+ void SaveTabContents(Browser* browser, |
+ DictionaryValue* args, |
+ IPC::Message* reply_message); |
+ |
// Generic pattern for pyautolib |
// Uses the JSON interface for input/output. |
void SendJSONRequest(int handle, |