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

Unified Diff: content/browser/download/download_manager_impl.cc

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
Index: content/browser/download/download_manager_impl.cc
===================================================================
--- content/browser/download/download_manager_impl.cc (revision 116331)
+++ content/browser/download/download_manager_impl.cc (working copy)
@@ -309,7 +309,7 @@
if (download->PromptUserForSaveLocation()) {
// We must ask the user for the place to put the download.
- TabContents* contents = download->GetTabContents();
+ WebContents* contents = download->GetTabContents();
// |id_ptr| will be deleted in either FileSelected() or
// FileSelectionCancelled().
@@ -991,7 +991,7 @@
// If the contents no longer exists, we ask the embedder to suggest another
// tab.
if (!content)
- content = delegate_->GetAlternativeTabContentsToNotifyForDownload();
+ content = delegate_->GetAlternativeWebContentsToNotifyForDownload();
if (content && content->GetDelegate())
content->GetDelegate()->OnStartDownload(content, download);
« no previous file with comments | « content/browser/debugger/devtools_manager_unittest.cc ('k') | content/browser/download/mock_download_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698