Index: chrome/test/automation/automation_proxy.h |
=================================================================== |
--- chrome/test/automation/automation_proxy.h (revision 44838) |
+++ chrome/test/automation/automation_proxy.h (working copy) |
@@ -183,10 +183,12 @@ |
// sent. |
bool SavePackageShouldPromptUser(bool should_prompt) WARN_UNUSED_RESULT; |
- // Installs the extension crx. Returns the ExtensionProxy for the |
- // installed extension, or NULL on failure. |
+ // Installs the extension crx. If |with_ui| is true an install confirmation |
+ // and notification UI is shown, otherwise the install is silent. Returns the |
+ // ExtensionProxy for the installed extension, or NULL on failure. |
// Note: Overinstalls and downgrades will return NULL. |
- scoped_refptr<ExtensionProxy> InstallExtension(const FilePath& crx_file); |
+ scoped_refptr<ExtensionProxy> InstallExtension(const FilePath& crx_file, |
+ bool with_ui); |
// Asserts that the next extension test result is true. |
void EnsureExtensionTestResult(); |
@@ -195,6 +197,9 @@ |
// Returns true on success. |
bool GetEnabledExtensions(std::vector<FilePath>* extension_directories); |
+ // Resets to the default theme. Returns true on success. |
+ bool ResetToDefaultTheme(); |
+ |
#if defined(OS_CHROMEOS) |
// Logs in through the Chrome OS login wizard with given |username| |
// and |password|. Returns true on success. |