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

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

Issue 8890026: Allow chromedriver to set local state preferences. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years 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/webdriver_capabilities_parser.h
diff --git a/chrome/test/webdriver/webdriver_capabilities_parser.h b/chrome/test/webdriver/webdriver_capabilities_parser.h
index 8f9320d89675d647084bf0476513ded3d90d62f6..6c7962dfc1323788beda2407f67b819e50355ca0 100644
--- a/chrome/test/webdriver/webdriver_capabilities_parser.h
+++ b/chrome/test/webdriver/webdriver_capabilities_parser.h
@@ -28,6 +28,10 @@ struct Capabilities {
Capabilities();
~Capabilities();
+ // Whether Chrome should perform SSL certification revocation checking.
+ // In some test environments, these checks can take a long time.
+ bool cert_revocation_checking;
+
// Command line to use for starting Chrome.
CommandLine command;
@@ -52,6 +56,12 @@ struct Capabilities {
// Path to a custom profile to use.
FilePath profile;
+ // If true, ChromeDriver will bypass certain configuration options that
Huyen 2011/12/09 23:56:55 same comment as in webdriver_session.h. Maybe reor
kkania 2011/12/10 00:37:44 Done.
+ // are convenient for normal website testing with WebDriver. E.g., if
+ // false, ChromeDriver will configure Chrome so that websites automatically
+ // can track user location without running into an infobar.
+ bool no_website_testing_defaults;
+
// Whether ChromeDriver should log verbosely.
bool verbose;
};
@@ -77,12 +87,14 @@ class CapabilitiesParser {
private:
Error* ParseArgs(const base::Value* option);
Error* ParseBinary(const base::Value* option);
+ Error* ParseCertRevocationChecking(const base::Value* option);
Error* ParseChannel(const base::Value* option);
Error* ParseDetach(const base::Value* option);
Error* ParseExtensions(const base::Value* option);
Error* ParseLoadAsync(const base::Value* option);
Error* ParseNativeEvents(const base::Value* option);
Error* ParseProfile(const base::Value* option);
+ Error* ParseNoWebsiteTestingDefaults(const base::Value* option);
Error* ParseVerbose(const base::Value* option);
// Decodes the given base64-encoded string, optionally unzips it, and
// writes the result to |path|.

Powered by Google App Engine
This is Rietveld 408576698