summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/download_util.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-04 22:14:12 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-04 22:14:12 +0000
commitef9572ed9d5e511b90e3b0ad259b2691d556e3f2 (patch)
tree035b29984b42414cec043f90f3a5f859b18e5b09 /chrome/browser/download/download_util.cc
parentdbf21cc6203bfef5ce4dc7a9df4ce2f486445dd2 (diff)
downloadchromium_src-ef9572ed9d5e511b90e3b0ad259b2691d556e3f2.zip
chromium_src-ef9572ed9d5e511b90e3b0ad259b2691d556e3f2.tar.gz
chromium_src-ef9572ed9d5e511b90e3b0ad259b2691d556e3f2.tar.bz2
Get rid of a bunch of tab_contents.h includes from chrome. These are all trivial changes to use WebContents instead of TabContents.
BUG=98716 Review URL: http://codereview.chromium.org/9030032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116392 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download/download_util.cc')
-rw-r--r--chrome/browser/download/download_util.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/download/download_util.cc b/chrome/browser/download/download_util.cc
index 5295e15..737f30a 100644
--- a/chrome/browser/download/download_util.cc
+++ b/chrome/browser/download/download_util.cc
@@ -36,7 +36,6 @@
#include "content/browser/download/download_types.h"
#include "content/browser/renderer_host/render_view_host.h"
#include "content/browser/renderer_host/resource_dispatcher_host.h"
-#include "content/browser/tab_contents/tab_contents.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/download_file.h"
#include "content/public/browser/download_item.h"
@@ -388,7 +387,7 @@ void DragDownload(const DownloadItem* download,
if (mime_type.empty())
net::GetMimeTypeFromFile(full_path, &mime_type);
- // Add URL so that we can load supported files when dragged to TabContents.
+ // Add URL so that we can load supported files when dragged to WebContents.
if (net::IsSupportedMimeType(mime_type)) {
data.SetURL(net::FilePathToFileURL(full_path),
download->GetFileNameToReportUser().LossyDisplayName());