diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-07 21:43:20 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-07 21:43:20 +0000 |
commit | 5bcdb31304d676b38ce605180b7d8816e9a8b745 (patch) | |
tree | 8e12e0a79c722b6199fb067c2b020c40ec0ddfbf /chrome/browser/automation/automation_provider.h | |
parent | c2374c94270d846055463aa1e61f239957f82f09 (diff) | |
download | chromium_src-5bcdb31304d676b38ce605180b7d8816e9a8b745.zip chromium_src-5bcdb31304d676b38ce605180b7d8816e9a8b745.tar.gz chromium_src-5bcdb31304d676b38ce605180b7d8816e9a8b745.tar.bz2 |
Add a UI test to make sure we sanitize the filename
of files saved using the "Save page as..." menu item.
This involves adding a new automation provider method
for disabling the dialog prompting for a filename.
Review URL: http://codereview.chromium.org/16555
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7683 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/automation_provider.h')
-rw-r--r-- | chrome/browser/automation/automation_provider.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/automation/automation_provider.h b/chrome/browser/automation/automation_provider.h index f539841..5467b79 100644 --- a/chrome/browser/automation/automation_provider.h +++ b/chrome/browser/automation/automation_provider.h @@ -359,6 +359,9 @@ class AutomationProvider : public base::RefCounted<AutomationProvider>, int tab_handle, const std::wstring& encoding_name); + void SavePackageShouldPromptUser(const IPC::Message& message, + 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 // is not of the WebContents type. |