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

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

Issue 6028009: Move base/thread.h to base/threading, fix up callers to use the new location.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "build/build_config.h" 5 #include "build/build_config.h"
6 6
7 #include "chrome/browser/download/save_file_manager.h" 7 #include "chrome/browser/download/save_file_manager.h"
8 8
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/stl_util-inl.h" 11 #include "base/stl_util-inl.h"
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "base/task.h" 13 #include "base/task.h"
14 #include "base/thread.h" 14 #include "base/threading/thread.h"
15 #include "chrome/browser/browser_thread.h" 15 #include "chrome/browser/browser_thread.h"
16 #include "chrome/browser/download/save_file.h" 16 #include "chrome/browser/download/save_file.h"
17 #include "chrome/browser/download/save_package.h" 17 #include "chrome/browser/download/save_package.h"
18 #include "chrome/browser/platform_util.h" 18 #include "chrome/browser/platform_util.h"
19 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" 19 #include "chrome/browser/renderer_host/resource_dispatcher_host.h"
20 #include "chrome/browser/tab_contents/tab_contents.h" 20 #include "chrome/browser/tab_contents/tab_contents.h"
21 #include "chrome/browser/tab_contents/tab_util.h" 21 #include "chrome/browser/tab_contents/tab_util.h"
22 #include "chrome/common/chrome_paths.h" 22 #include "chrome/common/chrome_paths.h"
23 #include "chrome/common/net/url_request_context_getter.h" 23 #include "chrome/common/net/url_request_context_getter.h"
24 #include "googleurl/src/gurl.h" 24 #include "googleurl/src/gurl.h"
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 SaveFileMap::iterator it = save_file_map_.find(*i); 523 SaveFileMap::iterator it = save_file_map_.find(*i);
524 if (it != save_file_map_.end()) { 524 if (it != save_file_map_.end()) {
525 SaveFile* save_file = it->second; 525 SaveFile* save_file = it->second;
526 DCHECK(!save_file->in_progress()); 526 DCHECK(!save_file->in_progress());
527 file_util::Delete(save_file->full_path(), false); 527 file_util::Delete(save_file->full_path(), false);
528 delete save_file; 528 delete save_file;
529 save_file_map_.erase(it); 529 save_file_map_.erase(it);
530 } 530 }
531 } 531 }
532 } 532 }
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