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

Unified Diff: chrome/test/webdriver/session_manager.h

Issue 5572001: Send screenshots back to the client for debugging (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: fixed nit Created 9 years, 10 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/test/webdriver/session_manager.h
diff --git a/chrome/test/webdriver/session_manager.h b/chrome/test/webdriver/session_manager.h
index a99d989f33abd9df58fa8dc1e19b2798c8a02757..3e0637af303a34b0ce150fbaa436eff8f11aac71 100644
--- a/chrome/test/webdriver/session_manager.h
+++ b/chrome/test/webdriver/session_manager.h
@@ -33,13 +33,14 @@ class SessionManager {
Session* GetSession(const std::string& id) const;
- void set_port(const std::string& port);
+ void SetPort(const std::string& port);
+ void SetChromeDir(const FilePath& chrome_dir);
+ void SetScreenshotOnError(bool screenshot);
+ void SetUrlBase(const std::string& url_base);
- void set_url_base(const std::string& url_base);
- std::string url_base() const;
-
- void set_chrome_dir(const FilePath& chrome_dir);
- FilePath chrome_dir() const;
+ FilePath ChromeDir() const;
+ std::string UrlBase() const;
+ bool ScreenshotOnError() const;
private:
SessionManager();
@@ -51,6 +52,7 @@ class SessionManager {
std::string port_;
std::string url_base_;
FilePath chrome_dir_;
+ bool screenshot_on_error_;
DISALLOW_COPY_AND_ASSIGN(SessionManager);
};

Powered by Google App Engine
This is Rietveld 408576698