OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "chromecast/browser/cast_browser_process.h" | 5 #include "chromecast/browser/cast_browser_process.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/prefs/pref_service.h" | |
11 #include "build/build_config.h" | 10 #include "build/build_config.h" |
12 #include "chromecast/base/metrics/cast_metrics_helper.h" | 11 #include "chromecast/base/metrics/cast_metrics_helper.h" |
13 #include "chromecast/browser/cast_browser_context.h" | 12 #include "chromecast/browser/cast_browser_context.h" |
14 #include "chromecast/browser/cast_resource_dispatcher_host_delegate.h" | 13 #include "chromecast/browser/cast_resource_dispatcher_host_delegate.h" |
15 #include "chromecast/browser/devtools/remote_debugging_server.h" | 14 #include "chromecast/browser/devtools/remote_debugging_server.h" |
16 #include "chromecast/browser/metrics/cast_metrics_service_client.h" | 15 #include "chromecast/browser/metrics/cast_metrics_service_client.h" |
17 #include "chromecast/net/connectivity_checker.h" | 16 #include "chromecast/net/connectivity_checker.h" |
18 #include "chromecast/service/cast_service.h" | 17 #include "chromecast/service/cast_service.h" |
| 18 #include "components/prefs/pref_service.h" |
19 | 19 |
20 #if defined(OS_ANDROID) | 20 #if defined(OS_ANDROID) |
21 #include "components/crash/content/browser/crash_dump_manager_android.h" | 21 #include "components/crash/content/browser/crash_dump_manager_android.h" |
22 #endif // defined(OS_ANDROID) | 22 #endif // defined(OS_ANDROID) |
23 | 23 |
24 #if defined(USE_AURA) | 24 #if defined(USE_AURA) |
25 #include "chromecast/graphics/cast_screen.h" | 25 #include "chromecast/graphics/cast_screen.h" |
26 #endif // defined(USE_AURA) | 26 #endif // defined(USE_AURA) |
27 | 27 |
28 namespace chromecast { | 28 namespace chromecast { |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 connectivity_checker_.swap(connectivity_checker); | 119 connectivity_checker_.swap(connectivity_checker); |
120 } | 120 } |
121 | 121 |
122 void CastBrowserProcess::SetNetLog(net::NetLog* net_log) { | 122 void CastBrowserProcess::SetNetLog(net::NetLog* net_log) { |
123 DCHECK(!net_log_); | 123 DCHECK(!net_log_); |
124 net_log_ = net_log; | 124 net_log_ = net_log; |
125 } | 125 } |
126 | 126 |
127 } // namespace shell | 127 } // namespace shell |
128 } // namespace chromecast | 128 } // namespace chromecast |
OLD | NEW |