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/app/cast_main_delegate.h" | 5 #include "chromecast/app/cast_main_delegate.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
12 #include "base/cpu.h" | 12 #include "base/cpu.h" |
13 #include "base/files/file.h" | 13 #include "base/files/file.h" |
14 #include "base/files/file_enumerator.h" | 14 #include "base/files/file_enumerator.h" |
15 #include "base/files/file_util.h" | 15 #include "base/files/file_util.h" |
16 #include "base/lazy_instance.h" | 16 #include "base/lazy_instance.h" |
17 #include "base/logging.h" | 17 #include "base/logging.h" |
18 #include "base/path_service.h" | 18 #include "base/path_service.h" |
19 #include "base/posix/global_descriptors.h" | 19 #include "base/posix/global_descriptors.h" |
20 #include "chromecast/base/cast_paths.h" | 20 #include "chromecast/base/cast_paths.h" |
21 #include "chromecast/browser/cast_content_browser_client.h" | 21 #include "chromecast/browser/cast_content_browser_client.h" |
22 #include "chromecast/common/cast_resource_delegate.h" | 22 #include "chromecast/common/cast_resource_delegate.h" |
23 #include "chromecast/common/global_descriptors.h" | 23 #include "chromecast/common/global_descriptors.h" |
24 #include "chromecast/renderer/cast_content_renderer_client.h" | 24 #include "chromecast/renderer/cast_content_renderer_client.h" |
25 #include "components/crash/app/crash_reporter_client.h" | 25 #include "components/crash/content/app/crash_reporter_client.h" |
26 #include "content/public/browser/browser_main_runner.h" | 26 #include "content/public/browser/browser_main_runner.h" |
27 #include "content/public/common/content_switches.h" | 27 #include "content/public/common/content_switches.h" |
28 #include "ui/base/resource/resource_bundle.h" | 28 #include "ui/base/resource/resource_bundle.h" |
29 | 29 |
30 #if defined(OS_ANDROID) | 30 #if defined(OS_ANDROID) |
31 #include "base/android/apk_assets.h" | 31 #include "base/android/apk_assets.h" |
32 #include "chromecast/app/android/cast_crash_reporter_client_android.h" | 32 #include "chromecast/app/android/cast_crash_reporter_client_android.h" |
33 #include "chromecast/app/android/crash_handler.h" | 33 #include "chromecast/app/android/crash_handler.h" |
34 #else | 34 #else |
35 #include "chromecast/app/linux/cast_crash_reporter_client.h" | 35 #include "chromecast/app/linux/cast_crash_reporter_client.h" |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 } | 228 } |
229 | 229 |
230 content::ContentRendererClient* | 230 content::ContentRendererClient* |
231 CastMainDelegate::CreateContentRendererClient() { | 231 CastMainDelegate::CreateContentRendererClient() { |
232 renderer_client_ = CastContentRendererClient::Create(); | 232 renderer_client_ = CastContentRendererClient::Create(); |
233 return renderer_client_.get(); | 233 return renderer_client_.get(); |
234 } | 234 } |
235 | 235 |
236 } // namespace shell | 236 } // namespace shell |
237 } // namespace chromecast | 237 } // namespace chromecast |
OLD | NEW |