Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2741)

Unified Diff: content/browser/download/mock_download_manager_delegate.h

Issue 9030032: Get rid of a bunch of tab_contents.h includes from chrome. These are all trivial changes to use W... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/download/download_manager_impl.cc ('k') | content/browser/download/save_package.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/mock_download_manager_delegate.h
===================================================================
--- content/browser/download/mock_download_manager_delegate.h (revision 116331)
+++ content/browser/download/mock_download_manager_delegate.h (working copy)
@@ -26,12 +26,12 @@
MOCK_METHOD1(SetDownloadManager, void(content::DownloadManager* dm));
MOCK_METHOD0(Shutdown, void());
MOCK_METHOD1(ShouldStartDownload, bool(int32 download_id));
- MOCK_METHOD3(ChooseDownloadPath, void(TabContents* tab_contents,
+ MOCK_METHOD3(ChooseDownloadPath, void(content::WebContents* web_contents,
const FilePath& suggested_path,
void* data));
MOCK_METHOD2(OverrideIntermediatePath, bool(content::DownloadItem* item,
FilePath* intermediate_path));
- MOCK_METHOD0(GetAlternativeTabContentsToNotifyForDownload,
+ MOCK_METHOD0(GetAlternativeWebContentsToNotifyForDownload,
content::WebContents*());
MOCK_METHOD1(ShouldOpenFileBasedOnExtension, bool(const FilePath& path));
MOCK_METHOD1(ShouldCompleteDownload, bool(content::DownloadItem* item));
@@ -48,7 +48,7 @@
MOCK_METHOD2(RemoveItemsFromPersistentStoreBetween, void(
base::Time remove_begin,
base::Time remove_end));
- MOCK_METHOD3(GetSaveDir, void(TabContents* tab_contents,
+ MOCK_METHOD3(GetSaveDir, void(content::WebContents* web_contents,
FilePath* website_save_dir,
FilePath* download_save_dir));
MOCK_METHOD3(ChooseSavePath, void(
« no previous file with comments | « content/browser/download/download_manager_impl.cc ('k') | content/browser/download/save_package.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698