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

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

Issue 5572001: Send screenshots back to the client for debugging (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: added tests which compare against a reference md5 hash Created 9 years, 9 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_observers.h
diff --git a/chrome/browser/automation/automation_provider_observers.h b/chrome/browser/automation/automation_provider_observers.h
index 2eff551ee352445e39f5b96023c8bd68d6d537fb..4db7c674aa87f1bb474429cd24f237ae3092d580 100644
--- a/chrome/browser/automation/automation_provider_observers.h
+++ b/chrome/browser/automation/automation_provider_observers.h
@@ -948,7 +948,8 @@ class PageSnapshotTaker : public DomOperationObserver {
PageSnapshotTaker(AutomationProvider* automation,
IPC::Message* reply_message,
RenderViewHost* render_view,
- const FilePath& path);
+ const FilePath& path,
+ bool use_json_interface);
virtual ~PageSnapshotTaker();
// Start the process of taking a snapshot of the entire page.
@@ -973,6 +974,7 @@ class PageSnapshotTaker : public DomOperationObserver {
RenderViewHost* render_view_;
FilePath image_path_;
bool received_width_;
+ bool use_json_interface_;
gfx::Size entire_page_size_;
DISALLOW_COPY_AND_ASSIGN(PageSnapshotTaker);

Powered by Google App Engine
This is Rietveld 408576698