diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-20 16:48:16 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-20 16:48:16 +0000 |
commit | a53209b21cb9aeae11f33463f83edee913ce1a71 (patch) | |
tree | 5bcb1df406f192219f0532536ccca10b5dc7aeaf /chrome/test/automation/tab_proxy.h | |
parent | 4a68e24b2b9eddab3a254177d6dd033f0c61b711 (diff) | |
download | chromium_src-a53209b21cb9aeae11f33463f83edee913ce1a71.zip chromium_src-a53209b21cb9aeae11f33463f83edee913ce1a71.tar.gz chromium_src-a53209b21cb9aeae11f33463f83edee913ce1a71.tar.bz2 |
Get rid of SavePackage usage in Chrome. I've moved IsSavableContents onto WebContents itself, IsSavableURL to a file in chrome, and made Chrome's DownloadManagerDelegate give SavePackage the file path through a callback.
BUG=98716
Review URL: https://chromiumcodereview.appspot.com/9254051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118452 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/automation/tab_proxy.h')
-rw-r--r-- | chrome/test/automation/tab_proxy.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/test/automation/tab_proxy.h b/chrome/test/automation/tab_proxy.h index d86f76d..336d6d8 100644 --- a/chrome/test/automation/tab_proxy.h +++ b/chrome/test/automation/tab_proxy.h @@ -22,13 +22,14 @@ #include "chrome/test/automation/automation_handle_tracker.h" #include "chrome/test/automation/dom_element_proxy.h" #include "chrome/test/automation/javascript_execution_controller.h" -#include "content/browser/download/save_package.h" +#include "content/public/browser/save_page_type.h" #include "content/public/common/page_type.h" #include "content/public/common/security_style.h" #include "net/base/cert_status_flags.h" #include "webkit/glue/window_open_disposition.h" class BrowserProxy; +class FilePath; class GURL; namespace IPC { class Message; @@ -305,7 +306,7 @@ class TabProxy : public AutomationResourceProxy, // |dir_path| is the directory for saving resource files. |type| indicates // which type we're saving as: HTML only or the complete web page. bool SavePage(const FilePath& file_name, const FilePath& dir_path, - SavePackage::SavePackageType type) WARN_UNUSED_RESULT; + content::SavePageType type) WARN_UNUSED_RESULT; // Retrieves the number of info-bars currently showing in |count|. bool GetInfoBarCount(size_t* count) WARN_UNUSED_RESULT; |