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

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

Issue 46039: Removed unneeded includes of base/scoped_ptr.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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_file.cc ('k') | chrome/browser/external_protocol_handler.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/scoped_ptr.h"
12 #include "base/string_util.h" 11 #include "base/string_util.h"
13 #include "base/task.h" 12 #include "base/task.h"
14 #include "chrome/browser/browser_process.h" 13 #include "chrome/browser/browser_process.h"
15 #include "chrome/browser/download/save_file.h" 14 #include "chrome/browser/download/save_file.h"
16 #include "chrome/browser/download/save_package.h" 15 #include "chrome/browser/download/save_package.h"
17 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" 16 #include "chrome/browser/renderer_host/resource_dispatcher_host.h"
18 #include "chrome/browser/tab_contents/tab_util.h" 17 #include "chrome/browser/tab_contents/tab_util.h"
19 #include "chrome/browser/tab_contents/web_contents.h" 18 #include "chrome/browser/tab_contents/web_contents.h"
20 #include "chrome/common/chrome_paths.h" 19 #include "chrome/common/chrome_paths.h"
21 #include "chrome/common/stl_util-inl.h" 20 #include "chrome/common/stl_util-inl.h"
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 SaveFileMap::iterator it = save_file_map_.find(*i); 580 SaveFileMap::iterator it = save_file_map_.find(*i);
582 if (it != save_file_map_.end()) { 581 if (it != save_file_map_.end()) {
583 SaveFile* save_file = it->second; 582 SaveFile* save_file = it->second;
584 DCHECK(!save_file->in_progress()); 583 DCHECK(!save_file->in_progress());
585 file_util::Delete(save_file->full_path(), false); 584 file_util::Delete(save_file->full_path(), false);
586 delete save_file; 585 delete save_file;
587 save_file_map_.erase(it); 586 save_file_map_.erase(it);
588 } 587 }
589 } 588 }
590 } 589 }
OLDNEW
« no previous file with comments | « chrome/browser/download/download_file.cc ('k') | chrome/browser/external_protocol_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698