diff options
-rw-r--r-- | chrome/browser/automation/automation_provider.cc | 3 | ||||
-rw-r--r-- | chrome/browser/automation/automation_provider.h | 3 | ||||
-rw-r--r-- | chrome/test/automation/automation_messages_internal.h | 4 |
3 files changed, 4 insertions, 6 deletions
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc index ce3e169..d6cf19b 100644 --- a/chrome/browser/automation/automation_provider.cc +++ b/chrome/browser/automation/automation_provider.cc @@ -2596,7 +2596,6 @@ void AutomationProvider::OverrideEncoding(int tab_handle, } } -void AutomationProvider::SavePackageShouldPromptUser( - const IPC::Message& message, bool should_prompt) { +void AutomationProvider::SavePackageShouldPromptUser(bool should_prompt) { SavePackage::SetShouldPromptUser(should_prompt); } diff --git a/chrome/browser/automation/automation_provider.h b/chrome/browser/automation/automation_provider.h index 8597b99..06d7440 100644 --- a/chrome/browser/automation/automation_provider.h +++ b/chrome/browser/automation/automation_provider.h @@ -387,8 +387,7 @@ class AutomationProvider : public base::RefCounted<AutomationProvider>, const std::wstring& encoding_name, bool* success); - void SavePackageShouldPromptUser(const IPC::Message& message, - bool should_prompt); + void SavePackageShouldPromptUser(bool should_prompt); // Convert a tab handle into a WebContents. If |tab| is non-NULL a pointer // to the tab is also returned. Returns NULL in case of failure or if the tab diff --git a/chrome/test/automation/automation_messages_internal.h b/chrome/test/automation/automation_messages_internal.h index f73c252..06a76cf 100644 --- a/chrome/test/automation/automation_messages_internal.h +++ b/chrome/test/automation/automation_messages_internal.h @@ -847,7 +847,7 @@ IPC_BEGIN_MESSAGES(Automation) // Used to disable the dialog box that prompts the user for a path when // saving a web page. - IPC_MESSAGE_ROUTED1(AutomationMsg_SavePackageShouldPromptUser, - bool /* false if we want to not show the dialog */) + IPC_SYNC_MESSAGE_ROUTED1_0(AutomationMsg_SavePackageShouldPromptUser, + bool /* false if we want to not show the dialog */) IPC_END_MESSAGES(Automation) |