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

Unified Diff: chrome/browser/automation/automation_provider.h

Issue 2861019: Enable "get html from page" functionality for PyAuto.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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 side-by-side diff with in-line comments
Download patch
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,
« no previous file with comments | « no previous file | chrome/browser/automation/automation_provider.cc » ('j') | chrome/browser/automation/automation_provider.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698