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

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

Issue 1662523004: 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_main_parts.h" 5 #include "chromecast/browser/cast_browser_main_parts.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <string.h> 8 #include <string.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/files/file_util.h" 13 #include "base/files/file_util.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/message_loop/message_loop.h" 15 #include "base/message_loop/message_loop.h"
16 #include "base/path_service.h" 16 #include "base/path_service.h"
17 #include "base/prefs/pref_registry_simple.h"
18 #include "base/run_loop.h" 17 #include "base/run_loop.h"
19 #include "base/thread_task_runner_handle.h" 18 #include "base/thread_task_runner_handle.h"
20 #include "build/build_config.h" 19 #include "build/build_config.h"
21 #include "cc/base/switches.h" 20 #include "cc/base/switches.h"
22 #include "chromecast/base/cast_constants.h" 21 #include "chromecast/base/cast_constants.h"
23 #include "chromecast/base/cast_paths.h" 22 #include "chromecast/base/cast_paths.h"
24 #include "chromecast/base/cast_sys_info_util.h" 23 #include "chromecast/base/cast_sys_info_util.h"
25 #include "chromecast/base/chromecast_switches.h" 24 #include "chromecast/base/chromecast_switches.h"
26 #include "chromecast/base/metrics/cast_metrics_helper.h" 25 #include "chromecast/base/metrics/cast_metrics_helper.h"
27 #include "chromecast/base/metrics/grouped_histogram.h" 26 #include "chromecast/base/metrics/grouped_histogram.h"
28 #include "chromecast/browser/cast_browser_context.h" 27 #include "chromecast/browser/cast_browser_context.h"
29 #include "chromecast/browser/cast_browser_process.h" 28 #include "chromecast/browser/cast_browser_process.h"
30 #include "chromecast/browser/cast_content_browser_client.h" 29 #include "chromecast/browser/cast_content_browser_client.h"
31 #include "chromecast/browser/cast_net_log.h" 30 #include "chromecast/browser/cast_net_log.h"
32 #include "chromecast/browser/devtools/remote_debugging_server.h" 31 #include "chromecast/browser/devtools/remote_debugging_server.h"
33 #include "chromecast/browser/metrics/cast_metrics_prefs.h" 32 #include "chromecast/browser/metrics/cast_metrics_prefs.h"
34 #include "chromecast/browser/metrics/cast_metrics_service_client.h" 33 #include "chromecast/browser/metrics/cast_metrics_service_client.h"
35 #include "chromecast/browser/pref_service_helper.h" 34 #include "chromecast/browser/pref_service_helper.h"
36 #include "chromecast/browser/url_request_context_factory.h" 35 #include "chromecast/browser/url_request_context_factory.h"
37 #include "chromecast/common/platform_client_auth.h" 36 #include "chromecast/common/platform_client_auth.h"
38 #include "chromecast/media/audio/cast_audio_manager_factory.h" 37 #include "chromecast/media/audio/cast_audio_manager_factory.h"
39 #include "chromecast/media/base/key_systems_common.h" 38 #include "chromecast/media/base/key_systems_common.h"
40 #include "chromecast/media/base/media_message_loop.h" 39 #include "chromecast/media/base/media_message_loop.h"
41 #include "chromecast/media/base/video_plane_controller.h" 40 #include "chromecast/media/base/video_plane_controller.h"
42 #include "chromecast/net/connectivity_checker.h" 41 #include "chromecast/net/connectivity_checker.h"
43 #include "chromecast/public/cast_media_shlib.h" 42 #include "chromecast/public/cast_media_shlib.h"
44 #include "chromecast/public/cast_sys_info.h" 43 #include "chromecast/public/cast_sys_info.h"
45 #include "chromecast/service/cast_service.h" 44 #include "chromecast/service/cast_service.h"
45 #include "components/prefs/pref_registry_simple.h"
46 #include "content/public/browser/browser_thread.h" 46 #include "content/public/browser/browser_thread.h"
47 #include "content/public/browser/child_process_security_policy.h" 47 #include "content/public/browser/child_process_security_policy.h"
48 #include "content/public/browser/gpu_data_manager.h" 48 #include "content/public/browser/gpu_data_manager.h"
49 #include "content/public/common/content_switches.h" 49 #include "content/public/common/content_switches.h"
50 #include "gpu/command_buffer/service/gpu_switches.h" 50 #include "gpu/command_buffer/service/gpu_switches.h"
51 #include "media/audio/audio_manager.h" 51 #include "media/audio/audio_manager.h"
52 #include "media/base/media.h" 52 #include "media/base/media.h"
53 #include "ui/compositor/compositor_switches.h" 53 #include "ui/compositor/compositor_switches.h"
54 54
55 #if !defined(OS_ANDROID) 55 #if !defined(OS_ANDROID)
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 #if defined(USE_AURA) 454 #if defined(USE_AURA)
455 aura::Env::DeleteInstance(); 455 aura::Env::DeleteInstance();
456 #endif 456 #endif
457 457
458 DeregisterKillOnAlarm(); 458 DeregisterKillOnAlarm();
459 #endif 459 #endif
460 } 460 }
461 461
462 } // namespace shell 462 } // namespace shell
463 } // namespace chromecast 463 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/browser/android/cast_window_manager.cc ('k') | chromecast/browser/cast_browser_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698