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

Side by Side Diff: content/browser/download/save_package.cc

Issue 7631009: Move download_manager_delegate.h to content. I forgot to move this earlier. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 | « content/browser/download/download_manager_delegate.h ('k') | content/content_browser.gypi » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/save_package.h" 5 #include "content/browser/download/save_package.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/i18n/file_util_icu.h" 11 #include "base/i18n/file_util_icu.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/message_loop.h" 13 #include "base/message_loop.h"
14 #include "base/stl_util.h" 14 #include "base/stl_util.h"
15 #include "base/string_piece.h" 15 #include "base/string_piece.h"
16 #include "base/string_split.h" 16 #include "base/string_split.h"
17 #include "base/sys_string_conversions.h" 17 #include "base/sys_string_conversions.h"
18 #include "base/task.h" 18 #include "base/task.h"
19 #include "base/threading/thread.h" 19 #include "base/threading/thread.h"
20 #include "base/utf_string_conversions.h" 20 #include "base/utf_string_conversions.h"
21 #include "chrome/browser/download/download_history.h"
22 #include "chrome/browser/download/download_item_model.h"
23 #include "chrome/browser/download/download_manager_delegate.h"
24 #include "chrome/browser/download/download_util.h"
25 #include "content/browser/browser_context.h" 21 #include "content/browser/browser_context.h"
26 #include "content/browser/browser_thread.h" 22 #include "content/browser/browser_thread.h"
27 #include "content/browser/content_browser_client.h" 23 #include "content/browser/content_browser_client.h"
28 #include "content/browser/download/download_item.h" 24 #include "content/browser/download/download_item.h"
29 #include "content/browser/download/download_manager.h" 25 #include "content/browser/download/download_manager.h"
26 #include "content/browser/download/download_manager_delegate.h"
30 #include "content/browser/download/save_file.h" 27 #include "content/browser/download/save_file.h"
31 #include "content/browser/download/save_file_manager.h" 28 #include "content/browser/download/save_file_manager.h"
32 #include "content/browser/download/save_item.h" 29 #include "content/browser/download/save_item.h"
33 #include "content/browser/renderer_host/render_process_host.h" 30 #include "content/browser/renderer_host/render_process_host.h"
34 #include "content/browser/renderer_host/render_view_host.h" 31 #include "content/browser/renderer_host/render_view_host.h"
35 #include "content/browser/renderer_host/render_view_host_delegate.h" 32 #include "content/browser/renderer_host/render_view_host_delegate.h"
36 #include "content/browser/renderer_host/resource_dispatcher_host.h" 33 #include "content/browser/renderer_host/resource_dispatcher_host.h"
37 #include "content/browser/tab_contents/tab_contents.h" 34 #include "content/browser/tab_contents/tab_contents.h"
38 #include "content/common/url_constants.h" 35 #include "content/common/url_constants.h"
39 #include "content/common/view_messages.h" 36 #include "content/common/view_messages.h"
(...skipping 1239 matching lines...) Expand 10 before | Expand all | Expand 10 after
1279 StopObservation(); 1276 StopObservation();
1280 } 1277 }
1281 1278
1282 void SavePackage::FinalizeDownloadEntry() { 1279 void SavePackage::FinalizeDownloadEntry() {
1283 DCHECK(download_); 1280 DCHECK(download_);
1284 DCHECK(download_manager_); 1281 DCHECK(download_manager_);
1285 1282
1286 download_manager_->SavePageDownloadFinished(download_); 1283 download_manager_->SavePageDownloadFinished(download_);
1287 StopObservation(); 1284 StopObservation();
1288 } 1285 }
OLDNEW
« no previous file with comments | « content/browser/download/download_manager_delegate.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698