OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/browser/download/drag_download_file.h" | 5 #include "content/browser/download/drag_download_file.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
9 #include "content/browser/download/download_stats.h" | 9 #include "content/browser/download/download_stats.h" |
10 #include "content/browser/web_contents/web_contents_impl.h" | 10 #include "content/browser/web_contents/web_contents_impl.h" |
11 #include "content/public/browser/browser_context.h" | 11 #include "content/public/browser/browser_context.h" |
12 #include "content/public/browser/browser_thread.h" | 12 #include "content/public/browser/browser_thread.h" |
13 #include "content/public/browser/download_item.h" | 13 #include "content/public/browser/download_item.h" |
14 #include "content/public/browser/download_save_info.h" | 14 #include "content/public/browser/download_save_info.h" |
15 #include "content/public/browser/download_url_parameters.h" | 15 #include "content/public/browser/download_url_parameters.h" |
16 #include "net/base/file_stream.h" | 16 #include "net/base/file_stream.h" |
17 | 17 |
18 namespace content { | 18 namespace content { |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 | 233 |
234 void DragDownloadFile::CheckThread() { | 234 void DragDownloadFile::CheckThread() { |
235 #if defined(OS_WIN) | 235 #if defined(OS_WIN) |
236 DCHECK(drag_message_loop_ == base::MessageLoop::current()); | 236 DCHECK(drag_message_loop_ == base::MessageLoop::current()); |
237 #else | 237 #else |
238 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); | 238 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
239 #endif | 239 #endif |
240 } | 240 } |
241 | 241 |
242 } // namespace content | 242 } // namespace content |
OLD | NEW |