Chromium Code Reviews| Index: content/browser/tab_contents/web_drag_source_gtk.cc |
| diff --git a/content/browser/tab_contents/web_drag_source_gtk.cc b/content/browser/tab_contents/web_drag_source_gtk.cc |
| index da09af234226bbc3566c02bd08751b057afd6ebb..231109ec6cd037b52bed51a0c5dea9d6ccf3c9cd 100644 |
| --- a/content/browser/tab_contents/web_drag_source_gtk.cc |
| +++ b/content/browser/tab_contents/web_drag_source_gtk.cc |
| @@ -18,6 +18,7 @@ |
| #include "content/public/browser/content_browser_client.h" |
| #include "content/public/browser/render_view_host_delegate.h" |
| #include "content/public/browser/web_contents_view.h" |
| +#include "content/public/common/content_client.h" |
| #include "net/base/file_stream.h" |
| #include "net/base/net_util.h" |
| #include "third_party/skia/include/core/SkBitmap.h" |
| @@ -243,7 +244,9 @@ void WebDragSourceGtk::OnDragDataGet(GtkWidget* sender, |
| if (net::FileURLToFilePath(file_url, &file_path)) { |
| // Open the file as a stream. |
| net::FileStream* file_stream = |
| - drag_download_util::CreateFileStreamForDrop(&file_path); |
| + drag_download_util::CreateFileStreamForDrop( |
| + &file_path, |
| + content::GetContentClient()->browser()->GetNetLog()); |
|
mmenke
2012/02/03 18:12:36
nit: Fix indent
ahendrickson
2012/02/05 05:06:53
Done.
|
| if (file_stream) { |
| // Start downloading the file to the stream. |
| scoped_refptr<DragDownloadFile> drag_file_downloader = |