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

Side by Side Diff: chromecast/browser/cast_browser_process.cc

Issue 1662843002: Revert of Delete base/prefs and update callers to use components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
OLDNEW
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"
10 #include "build/build_config.h" 11 #include "build/build_config.h"
11 #include "chromecast/base/metrics/cast_metrics_helper.h" 12 #include "chromecast/base/metrics/cast_metrics_helper.h"
12 #include "chromecast/browser/cast_browser_context.h" 13 #include "chromecast/browser/cast_browser_context.h"
13 #include "chromecast/browser/cast_resource_dispatcher_host_delegate.h" 14 #include "chromecast/browser/cast_resource_dispatcher_host_delegate.h"
14 #include "chromecast/browser/devtools/remote_debugging_server.h" 15 #include "chromecast/browser/devtools/remote_debugging_server.h"
15 #include "chromecast/browser/metrics/cast_metrics_service_client.h" 16 #include "chromecast/browser/metrics/cast_metrics_service_client.h"
16 #include "chromecast/net/connectivity_checker.h" 17 #include "chromecast/net/connectivity_checker.h"
17 #include "chromecast/service/cast_service.h" 18 #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
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
OLDNEW
« no previous file with comments | « chromecast/browser/cast_browser_main_parts.cc ('k') | chromecast/browser/devtools/remote_debugging_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698