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

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

Issue 8401007: Don't run the pre and post handlers after chromedriver receives a termination request. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years, 2 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
« no previous file with comments | « no previous file | chrome/test/webdriver/webdriver_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/webdriver_session.h
diff --git a/chrome/test/webdriver/webdriver_session.h b/chrome/test/webdriver/webdriver_session.h
index 7c2f6b632f40ce7f24b8e50e214697e34775fca2..776c9dd4baa35c9c343c737bd9d6e446728b3e99 100644
--- a/chrome/test/webdriver/webdriver_session.h
+++ b/chrome/test/webdriver/webdriver_session.h
@@ -403,6 +403,9 @@ class Session {
std::string alert_prompt_text_;
bool has_alert_prompt_text_;
+ // True if the session has started the termination process.
+ bool terminated_;
+
Options options_;
DISALLOW_COPY_AND_ASSIGN(Session);
« no previous file with comments | « no previous file | chrome/test/webdriver/webdriver_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698