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

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

Issue 6594063: Update a bunch of files to the new location of browser_thread.h (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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/save_file_manager.cc ('k') | chrome/browser/mach_broker_mac.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) 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 "chrome/browser/download/save_package.h" 5 #include "chrome/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-inl.h" 14 #include "base/stl_util-inl.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/utf_string_conversions.h" 18 #include "base/utf_string_conversions.h"
19 #include "base/task.h" 19 #include "base/task.h"
20 #include "base/threading/thread.h" 20 #include "base/threading/thread.h"
21 #include "chrome/browser/browser_process.h" 21 #include "chrome/browser/browser_process.h"
22 #include "chrome/browser/browser_thread.h"
23 #include "chrome/browser/download/download_item.h" 22 #include "chrome/browser/download/download_item.h"
24 #include "chrome/browser/download/download_item_model.h" 23 #include "chrome/browser/download/download_item_model.h"
25 #include "chrome/browser/download/download_manager.h" 24 #include "chrome/browser/download/download_manager.h"
26 #include "chrome/browser/download/download_prefs.h" 25 #include "chrome/browser/download/download_prefs.h"
27 #include "chrome/browser/download/download_shelf.h" 26 #include "chrome/browser/download/download_shelf.h"
28 #include "chrome/browser/download/download_util.h" 27 #include "chrome/browser/download/download_util.h"
29 #include "chrome/browser/download/save_file.h" 28 #include "chrome/browser/download/save_file.h"
30 #include "chrome/browser/download/save_file_manager.h" 29 #include "chrome/browser/download/save_file_manager.h"
31 #include "chrome/browser/download/save_item.h" 30 #include "chrome/browser/download/save_item.h"
32 #include "chrome/browser/net/url_fixer_upper.h" 31 #include "chrome/browser/net/url_fixer_upper.h"
33 #include "chrome/browser/platform_util.h" 32 #include "chrome/browser/platform_util.h"
34 #include "chrome/browser/prefs/pref_member.h" 33 #include "chrome/browser/prefs/pref_member.h"
35 #include "chrome/browser/prefs/pref_service.h" 34 #include "chrome/browser/prefs/pref_service.h"
36 #include "chrome/browser/profiles/profile.h" 35 #include "chrome/browser/profiles/profile.h"
37 #include "chrome/browser/renderer_host/render_process_host.h"
38 #include "chrome/browser/renderer_host/render_view_host.h"
39 #include "chrome/browser/renderer_host/render_view_host_delegate.h"
40 #include "chrome/browser/renderer_host/resource_dispatcher_host.h"
41 #include "chrome/browser/tab_contents/tab_contents.h"
42 #include "chrome/browser/tab_contents/tab_util.h" 36 #include "chrome/browser/tab_contents/tab_util.h"
43 #include "chrome/common/chrome_paths.h" 37 #include "chrome/common/chrome_paths.h"
44 #include "chrome/common/net/url_request_context_getter.h" 38 #include "chrome/common/net/url_request_context_getter.h"
45 #include "chrome/common/notification_service.h" 39 #include "chrome/common/notification_service.h"
46 #include "chrome/common/notification_type.h" 40 #include "chrome/common/notification_type.h"
47 #include "chrome/common/pref_names.h" 41 #include "chrome/common/pref_names.h"
48 #include "chrome/common/render_messages.h" 42 #include "chrome/common/render_messages.h"
49 #include "chrome/common/url_constants.h" 43 #include "chrome/common/url_constants.h"
44 #include "content/browser/browser_thread.h"
45 #include "content/browser/renderer_host/render_process_host.h"
46 #include "content/browser/renderer_host/render_view_host.h"
47 #include "content/browser/renderer_host/render_view_host_delegate.h"
48 #include "content/browser/renderer_host/resource_dispatcher_host.h"
49 #include "content/browser/tab_contents/tab_contents.h"
50 #include "grit/generated_resources.h" 50 #include "grit/generated_resources.h"
51 #include "net/base/io_buffer.h" 51 #include "net/base/io_buffer.h"
52 #include "net/base/mime_util.h" 52 #include "net/base/mime_util.h"
53 #include "net/base/net_util.h" 53 #include "net/base/net_util.h"
54 #include "net/url_request/url_request_context.h" 54 #include "net/url_request/url_request_context.h"
55 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageSerializerClie nt.h" 55 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageSerializerClie nt.h"
56 #include "ui/base/l10n/l10n_util.h" 56 #include "ui/base/l10n/l10n_util.h"
57 57
58 using base::Time; 58 using base::Time;
59 using WebKit::WebPageSerializerClient; 59 using WebKit::WebPageSerializerClient;
(...skipping 1396 matching lines...) Expand 10 before | Expand all | Expand 10 after
1456 } 1456 }
1457 1457
1458 // SelectFileDialog::Listener interface. 1458 // SelectFileDialog::Listener interface.
1459 void SavePackage::FileSelected(const FilePath& path, 1459 void SavePackage::FileSelected(const FilePath& path,
1460 int index, void* params) { 1460 int index, void* params) {
1461 ContinueSave(path, index); 1461 ContinueSave(path, index);
1462 } 1462 }
1463 1463
1464 void SavePackage::FileSelectionCanceled(void* params) { 1464 void SavePackage::FileSelectionCanceled(void* params) {
1465 } 1465 }
OLDNEW
« no previous file with comments | « chrome/browser/download/save_file_manager.cc ('k') | chrome/browser/mach_broker_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698