Index: chrome/test/webdriver/webdriver_automation.h |
diff --git a/chrome/test/webdriver/webdriver_automation.h b/chrome/test/webdriver/webdriver_automation.h |
index 03300e9631fe11a302179909d1f42928b0d017fa..55ca682be66f3a88346263c550ff5e28e9cfb17a 100644 |
--- a/chrome/test/webdriver/webdriver_automation.h |
+++ b/chrome/test/webdriver/webdriver_automation.h |
@@ -24,6 +24,7 @@ struct WebKeyEvent; |
namespace base { |
class DictionaryValue; |
class ListValue; |
+class Value; |
} |
namespace webdriver { |
@@ -58,6 +59,10 @@ class Automation { |
// If false, Chrome will also be terminated if this process is killed or |
// shutdown. |
bool detach_process; |
+ |
+ // True if Chrome should perform SSL certification revocation checking. |
+ // In some test environments, these checks can take a long time. |
+ bool cert_revocation_checking; |
}; |
Automation(); |
@@ -173,6 +178,18 @@ class Automation { |
void InstallExtension(const FilePath& path, std::string* extension_id, |
Error** error); |
+ // Set a local state preference, which is not associated with any profile. |
+ // Ownership of |value| is taken by this function. |
+ void SetLocalStatePreference(const std::string& pref, |
+ base::Value* value, |
+ Error** error); |
+ |
+ // Set a user preference, which is associated with the current profile. |
+ // Ownership of |value| is taken by this fucntion. |
+ void SetPreference(const std::string& pref, |
+ base::Value* value, |
+ Error** error); |
+ |
private: |
AutomationProxy* automation() const; |
Error* GetIndicesForTab(int tab_id, int* browser_index, int* tab_index); |