summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/save_package.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-04 07:58:34 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-04 07:58:34 +0000
commit57c6a6579cf274fe37d6196931a3034d90da7113 (patch)
treeec42313580156ccc039b5fee714ee12259cb08ee /chrome/browser/download/save_package.h
parentb23c9e1f05d474adc327c85d87eacc77554976e0 (diff)
downloadchromium_src-57c6a6579cf274fe37d6196931a3034d90da7113.zip
chromium_src-57c6a6579cf274fe37d6196931a3034d90da7113.tar.gz
chromium_src-57c6a6579cf274fe37d6196931a3034d90da7113.tar.bz2
Replace all occurrances of WebContents with TabContents.
Review URL: http://codereview.chromium.org/99177 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15194 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download/save_package.h')
-rw-r--r--chrome/browser/download/save_package.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/download/save_package.h b/chrome/browser/download/save_package.h
index 8feabd3..698fa60 100644
--- a/chrome/browser/download/save_package.h
+++ b/chrome/browser/download/save_package.h
@@ -29,9 +29,9 @@ class GURL;
class MessageLoop;
class PrefService;
class Profile;
-class WebContents;
+class TabContents;
class URLRequestContext;
-class WebContents;
+class TabContents;
namespace base {
class Thread;
@@ -83,12 +83,12 @@ class SavePackage : public base::RefCountedThreadSafe<SavePackage>,
// Constructor for user initiated page saving. This constructor results in a
// SavePackage that will generate and sanitize a suggested name for the user
// in the "Save As" dialog box.
- SavePackage(WebContents* web_content);
+ SavePackage(TabContents* web_content);
// This contructor is used only for testing. We can bypass the file and
// directory name generation / sanitization by providing well known paths
// better suited for tests.
- SavePackage(WebContents* web_content,
+ SavePackage(TabContents* web_content,
SavePackageType save_type,
const FilePath& file_full_path,
const FilePath& directory_full_path);
@@ -259,7 +259,7 @@ class SavePackage : public base::RefCountedThreadSafe<SavePackage>,
// Non-owning pointer for handling file writing on the file thread.
SaveFileManager* file_manager_;
- WebContents* web_contents_;
+ TabContents* tab_contents_;
// We use a fake DownloadItem here in order to reuse the DownloadItemView.
// This class owns the pointer.