| 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> |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 #endif | 267 #endif |
| 268 | 268 |
| 269 #if defined(USE_ASH) | 269 #if defined(USE_ASH) |
| 270 #include "chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.h" | 270 #include "chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.h" |
| 271 #endif | 271 #endif |
| 272 | 272 |
| 273 #if defined(USE_X11) | 273 #if defined(USE_X11) |
| 274 #include "chrome/browser/chrome_browser_main_extra_parts_x11.h" | 274 #include "chrome/browser/chrome_browser_main_extra_parts_x11.h" |
| 275 #endif | 275 #endif |
| 276 | 276 |
| 277 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) | 277 #if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION) |
| 278 #include "chrome/browser/captive_portal/captive_portal_tab_helper.h" | 278 #include "chrome/browser/captive_portal/captive_portal_tab_helper.h" |
| 279 #endif | 279 #endif |
| 280 | 280 |
| 281 #if !defined(DISABLE_NACL) | 281 #if !defined(DISABLE_NACL) |
| 282 #include "components/nacl/browser/nacl_browser.h" | 282 #include "components/nacl/browser/nacl_browser.h" |
| 283 #include "components/nacl/browser/nacl_host_message_filter.h" | 283 #include "components/nacl/browser/nacl_host_message_filter.h" |
| 284 #include "components/nacl/browser/nacl_process_host.h" | 284 #include "components/nacl/browser/nacl_process_host.h" |
| 285 #include "components/nacl/common/nacl_process_type.h" | 285 #include "components/nacl/common/nacl_process_type.h" |
| 286 #include "components/nacl/common/nacl_switches.h" | 286 #include "components/nacl/common/nacl_switches.h" |
| 287 #endif | 287 #endif |
| (...skipping 3005 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3293 if (channel <= kMaxDisableEncryptionChannel) { | 3293 if (channel <= kMaxDisableEncryptionChannel) { |
| 3294 static const char* const kWebRtcDevSwitchNames[] = { | 3294 static const char* const kWebRtcDevSwitchNames[] = { |
| 3295 switches::kDisableWebRtcEncryption, | 3295 switches::kDisableWebRtcEncryption, |
| 3296 }; | 3296 }; |
| 3297 to_command_line->CopySwitchesFrom(from_command_line, | 3297 to_command_line->CopySwitchesFrom(from_command_line, |
| 3298 kWebRtcDevSwitchNames, | 3298 kWebRtcDevSwitchNames, |
| 3299 arraysize(kWebRtcDevSwitchNames)); | 3299 arraysize(kWebRtcDevSwitchNames)); |
| 3300 } | 3300 } |
| 3301 } | 3301 } |
| 3302 #endif // defined(ENABLE_WEBRTC) | 3302 #endif // defined(ENABLE_WEBRTC) |
| OLD | NEW |