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

Side by Side Diff: content/browser/browser_main_loop.cc

Issue 2353283002: [TimeZoneMonitor] Decouple //content/browser/time_zone_monitor* to //device/. (Closed)
Patch Set: Do not set output_name in gn Created 4 years, 2 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 (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 "content/browser/browser_main_loop.h" 5 #include "content/browser/browser_main_loop.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 #include "content/browser/histogram_synchronizer.h" 55 #include "content/browser/histogram_synchronizer.h"
56 #include "content/browser/loader/resource_dispatcher_host_impl.h" 56 #include "content/browser/loader/resource_dispatcher_host_impl.h"
57 #include "content/browser/loader_delegate_impl.h" 57 #include "content/browser/loader_delegate_impl.h"
58 #include "content/browser/media/media_internals.h" 58 #include "content/browser/media/media_internals.h"
59 #include "content/browser/mojo/mojo_shell_context.h" 59 #include "content/browser/mojo/mojo_shell_context.h"
60 #include "content/browser/net/browser_online_state_observer.h" 60 #include "content/browser/net/browser_online_state_observer.h"
61 #include "content/browser/renderer_host/media/media_stream_manager.h" 61 #include "content/browser/renderer_host/media/media_stream_manager.h"
62 #include "content/browser/renderer_host/render_process_host_impl.h" 62 #include "content/browser/renderer_host/render_process_host_impl.h"
63 #include "content/browser/speech/speech_recognition_manager_impl.h" 63 #include "content/browser/speech/speech_recognition_manager_impl.h"
64 #include "content/browser/startup_task_runner.h" 64 #include "content/browser/startup_task_runner.h"
65 #include "content/browser/time_zone_monitor.h"
66 #include "content/browser/utility_process_host_impl.h" 65 #include "content/browser/utility_process_host_impl.h"
67 #include "content/browser/webui/content_web_ui_controller_factory.h" 66 #include "content/browser/webui/content_web_ui_controller_factory.h"
68 #include "content/browser/webui/url_data_manager.h" 67 #include "content/browser/webui/url_data_manager.h"
69 #include "content/common/content_switches_internal.h" 68 #include "content/common/content_switches_internal.h"
70 #include "content/common/host_discardable_shared_memory_manager.h" 69 #include "content/common/host_discardable_shared_memory_manager.h"
71 #include "content/common/host_shared_bitmap_manager.h" 70 #include "content/common/host_shared_bitmap_manager.h"
72 #include "content/common/mojo/mojo_shell_connection_impl.h" 71 #include "content/common/mojo/mojo_shell_connection_impl.h"
73 #include "content/public/browser/browser_main_parts.h" 72 #include "content/public/browser/browser_main_parts.h"
74 #include "content/public/browser/content_browser_client.h" 73 #include "content/public/browser/content_browser_client.h"
75 #include "content/public/browser/render_process_host.h" 74 #include "content/public/browser/render_process_host.h"
76 #include "content/public/browser/tracing_controller.h" 75 #include "content/public/browser/tracing_controller.h"
77 #include "content/public/common/content_client.h" 76 #include "content/public/common/content_client.h"
78 #include "content/public/common/content_switches.h" 77 #include "content/public/common/content_switches.h"
79 #include "content/public/common/main_function_params.h" 78 #include "content/public/common/main_function_params.h"
80 #include "content/public/common/result_codes.h" 79 #include "content/public/common/result_codes.h"
81 #include "device/battery/battery_status_service.h" 80 #include "device/battery/battery_status_service.h"
81 #include "device/time_zone_monitor/time_zone_monitor.h"
82 #include "media/base/media.h" 82 #include "media/base/media.h"
83 #include "media/base/user_input_monitor.h" 83 #include "media/base/user_input_monitor.h"
84 #include "media/midi/midi_manager.h" 84 #include "media/midi/midi_manager.h"
85 #include "mojo/edk/embedder/embedder.h" 85 #include "mojo/edk/embedder/embedder.h"
86 #include "mojo/edk/embedder/scoped_ipc_support.h" 86 #include "mojo/edk/embedder/scoped_ipc_support.h"
87 #include "net/base/network_change_notifier.h" 87 #include "net/base/network_change_notifier.h"
88 #include "net/socket/client_socket_factory.h" 88 #include "net/socket/client_socket_factory.h"
89 #include "net/ssl/ssl_config_service.h" 89 #include "net/ssl/ssl_config_service.h"
90 #include "services/shell/runner/common/client_util.h" 90 #include "services/shell/runner/common/client_util.h"
91 #include "skia/ext/event_tracer_impl.h" 91 #include "skia/ext/event_tracer_impl.h"
(...skipping 1220 matching lines...) Expand 10 before | Expand all | Expand 10 after
1312 TRACE_EVENT0( 1312 TRACE_EVENT0(
1313 "startup", 1313 "startup",
1314 "BrowserMainLoop::BrowserThreadsStarted::InitUserInputMonitor"); 1314 "BrowserMainLoop::BrowserThreadsStarted::InitUserInputMonitor");
1315 user_input_monitor_ = media::UserInputMonitor::Create( 1315 user_input_monitor_ = media::UserInputMonitor::Create(
1316 io_thread_->task_runner(), main_thread_->task_runner()); 1316 io_thread_->task_runner(), main_thread_->task_runner());
1317 } 1317 }
1318 1318
1319 { 1319 {
1320 TRACE_EVENT0("startup", 1320 TRACE_EVENT0("startup",
1321 "BrowserMainLoop::BrowserThreadsStarted::TimeZoneMonitor"); 1321 "BrowserMainLoop::BrowserThreadsStarted::TimeZoneMonitor");
1322 time_zone_monitor_ = TimeZoneMonitor::Create(file_thread_->task_runner()); 1322 time_zone_monitor_ =
1323 device::TimeZoneMonitor::Create(file_thread_->task_runner());
1323 } 1324 }
1324 1325
1325 { 1326 {
1326 TRACE_EVENT0("startup", 1327 TRACE_EVENT0("startup",
1327 "BrowserMainLoop::BrowserThreadsStarted::SaveFileManager"); 1328 "BrowserMainLoop::BrowserThreadsStarted::SaveFileManager");
1328 save_file_manager_ = new SaveFileManager(); 1329 save_file_manager_ = new SaveFileManager();
1329 } 1330 }
1330 1331
1331 // Alert the clipboard class to which threads are allowed to access the 1332 // Alert the clipboard class to which threads are allowed to access the
1332 // clipboard: 1333 // clipboard:
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
1540 scoped_refptr<base::SingleThreadTaskRunner> worker_task_runner = 1541 scoped_refptr<base::SingleThreadTaskRunner> worker_task_runner =
1541 audio_thread_->task_runner(); 1542 audio_thread_->task_runner();
1542 audio_manager_ = media::AudioManager::Create(std::move(audio_task_runner), 1543 audio_manager_ = media::AudioManager::Create(std::move(audio_task_runner),
1543 std::move(worker_task_runner), 1544 std::move(worker_task_runner),
1544 MediaInternals::GetInstance()); 1545 MediaInternals::GetInstance());
1545 } 1546 }
1546 CHECK(audio_manager_); 1547 CHECK(audio_manager_);
1547 } 1548 }
1548 1549
1549 } // namespace content 1550 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/browser_main_loop.h ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698