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

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

Issue 3040: Move the Save Page code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 3 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/save_file_manager.h ('k') | chrome/browser/download/save_item.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
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 <Windows.h> 5 #include <Windows.h>
6 #include <objbase.h> 6 #include <objbase.h>
7 7
8 #include "chrome/browser/save_file_manager.h" 8 #include "chrome/browser/download/save_file_manager.h"
9 9
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/scoped_ptr.h" 12 #include "base/scoped_ptr.h"
13 #include "base/string_util.h" 13 #include "base/string_util.h"
14 #include "base/task.h" 14 #include "base/task.h"
15 #include "chrome/browser/browser_process.h" 15 #include "chrome/browser/browser_process.h"
16 #include "chrome/browser/download/save_file.h"
17 #include "chrome/browser/download/save_package.h"
16 #include "chrome/browser/resource_dispatcher_host.h" 18 #include "chrome/browser/resource_dispatcher_host.h"
17 #include "chrome/browser/save_file.h"
18 #include "chrome/browser/save_package.h"
19 #include "chrome/browser/tab_contents.h" 19 #include "chrome/browser/tab_contents.h"
20 #include "chrome/browser/tab_util.h" 20 #include "chrome/browser/tab_util.h"
21 #include "chrome/browser/web_contents.h" 21 #include "chrome/browser/web_contents.h"
22 #include "chrome/common/chrome_paths.h" 22 #include "chrome/common/chrome_paths.h"
23 #include "chrome/common/stl_util-inl.h" 23 #include "chrome/common/stl_util-inl.h"
24 #include "chrome/common/win_util.h" 24 #include "chrome/common/win_util.h"
25 #include "chrome/common/win_safe_util.h" 25 #include "chrome/common/win_safe_util.h"
26 #include "googleurl/src/gurl.h" 26 #include "googleurl/src/gurl.h"
27 #include "net/base/net_util.h" 27 #include "net/base/net_util.h"
28 #include "net/url_request/url_request_context.h" 28 #include "net/url_request/url_request_context.h"
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
573 if (it != save_file_map_.end()) { 573 if (it != save_file_map_.end()) {
574 SaveFile* save_file = it->second; 574 SaveFile* save_file = it->second;
575 DCHECK(!save_file->in_progress()); 575 DCHECK(!save_file->in_progress());
576 DeleteFile(save_file->full_path().c_str()); 576 DeleteFile(save_file->full_path().c_str());
577 delete save_file; 577 delete save_file;
578 save_file_map_.erase(it); 578 save_file_map_.erase(it);
579 } 579 }
580 } 580 }
581 } 581 }
582 582
OLDNEW
« no previous file with comments | « chrome/browser/download/save_file_manager.h ('k') | chrome/browser/download/save_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698