OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/shell/browser/shell_browser_main_parts.h" | 5 #include "content/shell/browser/shell_browser_main_parts.h" |
6 | 6 |
7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
12 #include "base/threading/thread.h" | 12 #include "base/threading/thread.h" |
13 #include "base/threading/thread_restrictions.h" | 13 #include "base/threading/thread_restrictions.h" |
14 #include "cc/base/switches.h" | 14 #include "cc/base/switches.h" |
15 #include "content/public/browser/browser_thread.h" | 15 #include "content/public/browser/browser_thread.h" |
16 #include "content/public/browser/storage_partition.h" | 16 #include "content/public/browser/storage_partition.h" |
17 #include "content/public/common/content_switches.h" | 17 #include "content/public/common/content_switches.h" |
18 #include "content/public/common/main_function_params.h" | 18 #include "content/public/common/main_function_params.h" |
19 #include "content/public/common/url_constants.h" | 19 #include "content/public/common/url_constants.h" |
20 #include "content/shell/browser/shell.h" | 20 #include "content/shell/browser/shell.h" |
21 #include "content/shell/browser/shell_browser_context.h" | 21 #include "content/shell/browser/shell_browser_context.h" |
22 #include "content/shell/browser/shell_devtools_delegate.h" | 22 #include "content/shell/browser/shell_devtools_delegate.h" |
23 #include "content/shell/browser/shell_net_log.h" | 23 #include "content/shell/browser/shell_net_log.h" |
24 #include "content/shell/common/shell_switches.h" | 24 #include "content/shell/common/shell_switches.h" |
25 #include "grit/net_resources.h" | 25 #include "grit/net_resources.h" |
26 #include "net/base/filename_util.h" | |
27 #include "net/base/net_module.h" | 26 #include "net/base/net_module.h" |
| 27 #include "net/base/net_util.h" |
28 #include "ui/base/resource/resource_bundle.h" | 28 #include "ui/base/resource/resource_bundle.h" |
29 #include "url/gurl.h" | 29 #include "url/gurl.h" |
30 #include "webkit/browser/quota/quota_manager.h" | 30 #include "webkit/browser/quota/quota_manager.h" |
31 | 31 |
32 #if defined(ENABLE_PLUGINS) | 32 #if defined(ENABLE_PLUGINS) |
33 #include "content/public/browser/plugin_service.h" | 33 #include "content/public/browser/plugin_service.h" |
34 #include "content/shell/browser/shell_plugin_service_filter.h" | 34 #include "content/shell/browser/shell_plugin_service_filter.h" |
35 #endif | 35 #endif |
36 | 36 |
37 #if defined(OS_ANDROID) | 37 #if defined(OS_ANDROID) |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 } | 180 } |
181 | 181 |
182 void ShellBrowserMainParts::PostMainMessageLoopRun() { | 182 void ShellBrowserMainParts::PostMainMessageLoopRun() { |
183 if (devtools_delegate_) | 183 if (devtools_delegate_) |
184 devtools_delegate_->Stop(); | 184 devtools_delegate_->Stop(); |
185 browser_context_.reset(); | 185 browser_context_.reset(); |
186 off_the_record_browser_context_.reset(); | 186 off_the_record_browser_context_.reset(); |
187 } | 187 } |
188 | 188 |
189 } // namespace | 189 } // namespace |
OLD | NEW |