OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/chrome_content_browser_client.h" | 5 #include "chrome/browser/chrome_content_browser_client.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <set> | 8 #include <set> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/base_switches.h" | 12 #include "base/base_switches.h" |
13 #include "base/bind.h" | 13 #include "base/bind.h" |
14 #include "base/bind_helpers.h" | 14 #include "base/bind_helpers.h" |
15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
16 #include "base/files/scoped_file.h" | 16 #include "base/files/scoped_file.h" |
17 #include "base/lazy_instance.h" | 17 #include "base/lazy_instance.h" |
18 #include "base/macros.h" | 18 #include "base/macros.h" |
19 #include "base/memory/ptr_util.h" | 19 #include "base/memory/ptr_util.h" |
20 #include "base/metrics/histogram_macros.h" | 20 #include "base/metrics/histogram_macros.h" |
21 #include "base/path_service.h" | 21 #include "base/path_service.h" |
22 #include "base/strings/string_number_conversions.h" | 22 #include "base/strings/string_number_conversions.h" |
23 #include "base/strings/string_split.h" | 23 #include "base/strings/string_split.h" |
24 #include "base/strings/string_util.h" | 24 #include "base/strings/string_util.h" |
25 #include "base/strings/stringprintf.h" | 25 #include "base/strings/stringprintf.h" |
26 #include "base/strings/utf_string_conversions.h" | 26 #include "base/strings/utf_string_conversions.h" |
27 #include "base/thread_task_runner_handle.h" | |
28 #include "base/threading/sequenced_worker_pool.h" | 27 #include "base/threading/sequenced_worker_pool.h" |
| 28 #include "base/threading/thread_task_runner_handle.h" |
29 #include "build/build_config.h" | 29 #include "build/build_config.h" |
30 #include "chrome/browser/after_startup_task_utils.h" | 30 #include "chrome/browser/after_startup_task_utils.h" |
31 #include "chrome/browser/apps/app_url_redirector.h" | 31 #include "chrome/browser/apps/app_url_redirector.h" |
32 #include "chrome/browser/browser_about_handler.h" | 32 #include "chrome/browser/browser_about_handler.h" |
33 #include "chrome/browser/browser_process.h" | 33 #include "chrome/browser/browser_process.h" |
34 #include "chrome/browser/browser_shutdown.h" | 34 #include "chrome/browser/browser_shutdown.h" |
35 #include "chrome/browser/browsing_data/browsing_data_helper.h" | 35 #include "chrome/browser/browsing_data/browsing_data_helper.h" |
36 #include "chrome/browser/browsing_data/browsing_data_remover.h" | 36 #include "chrome/browser/browsing_data/browsing_data_remover.h" |
37 #include "chrome/browser/browsing_data/browsing_data_remover_factory.h" | 37 #include "chrome/browser/browsing_data/browsing_data_remover_factory.h" |
38 #include "chrome/browser/character_encoding.h" | 38 #include "chrome/browser/character_encoding.h" |
(...skipping 2937 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2976 if (channel <= kMaxDisableEncryptionChannel) { | 2976 if (channel <= kMaxDisableEncryptionChannel) { |
2977 static const char* const kWebRtcDevSwitchNames[] = { | 2977 static const char* const kWebRtcDevSwitchNames[] = { |
2978 switches::kDisableWebRtcEncryption, | 2978 switches::kDisableWebRtcEncryption, |
2979 }; | 2979 }; |
2980 to_command_line->CopySwitchesFrom(from_command_line, | 2980 to_command_line->CopySwitchesFrom(from_command_line, |
2981 kWebRtcDevSwitchNames, | 2981 kWebRtcDevSwitchNames, |
2982 arraysize(kWebRtcDevSwitchNames)); | 2982 arraysize(kWebRtcDevSwitchNames)); |
2983 } | 2983 } |
2984 } | 2984 } |
2985 #endif // defined(ENABLE_WEBRTC) | 2985 #endif // defined(ENABLE_WEBRTC) |
OLD | NEW |