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

Side by Side Diff: chrome/browser/download/drag_download_file.cc

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/download/download_util.cc ('k') | chrome/browser/download/save_package.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009-2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009-2010 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 "chrome/browser/download/drag_download_file.h" 5 #include "chrome/browser/download/drag_download_file.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "chrome/browser/browser_thread.h" 9 #include "chrome/browser/browser_thread.h"
10 #include "chrome/browser/download/download_file.h" 10 #include "chrome/browser/download/download_file.h"
11 #include "chrome/browser/download/download_item.h" 11 #include "chrome/browser/download/download_item.h"
12 #include "chrome/browser/profile.h" 12 #include "chrome/browser/profiles/profile.h"
13 #include "chrome/browser/tab_contents/tab_contents.h" 13 #include "chrome/browser/tab_contents/tab_contents.h"
14 #include "net/base/file_stream.h" 14 #include "net/base/file_stream.h"
15 15
16 DragDownloadFile::DragDownloadFile( 16 DragDownloadFile::DragDownloadFile(
17 const FilePath& file_name_or_path, 17 const FilePath& file_name_or_path,
18 linked_ptr<net::FileStream> file_stream, 18 linked_ptr<net::FileStream> file_stream,
19 const GURL& url, 19 const GURL& url,
20 const GURL& referrer, 20 const GURL& referrer,
21 const std::string& referrer_encoding, 21 const std::string& referrer_encoding,
22 TabContents* tab_contents) 22 TabContents* tab_contents)
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 210
211 void DragDownloadFile::QuitNestedMessageLoop() { 211 void DragDownloadFile::QuitNestedMessageLoop() {
212 AssertCurrentlyOnDragThread(); 212 AssertCurrentlyOnDragThread();
213 213
214 if (is_running_nested_message_loop_) { 214 if (is_running_nested_message_loop_) {
215 is_running_nested_message_loop_ = false; 215 is_running_nested_message_loop_ = false;
216 MessageLoop::current()->Quit(); 216 MessageLoop::current()->Quit();
217 } 217 }
218 } 218 }
219 #endif 219 #endif
OLDNEW
« no previous file with comments | « chrome/browser/download/download_util.cc ('k') | chrome/browser/download/save_package.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698