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/shell/app/cast_main_delegate.h" | 5 #include "chromecast/app/cast_main_delegate.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/cpu.h" | 8 #include "base/cpu.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
11 #include "base/posix/global_descriptors.h" | 11 #include "base/posix/global_descriptors.h" |
| 12 #include "chromecast/browser/cast_content_browser_client.h" |
12 #include "chromecast/common/cast_paths.h" | 13 #include "chromecast/common/cast_paths.h" |
13 #include "chromecast/common/cast_resource_delegate.h" | 14 #include "chromecast/common/cast_resource_delegate.h" |
14 #include "chromecast/common/global_descriptors.h" | 15 #include "chromecast/common/global_descriptors.h" |
15 #include "chromecast/shell/browser/cast_content_browser_client.h" | 16 #include "chromecast/renderer/cast_content_renderer_client.h" |
16 #include "chromecast/shell/renderer/cast_content_renderer_client.h" | |
17 #include "content/public/browser/browser_main_runner.h" | 17 #include "content/public/browser/browser_main_runner.h" |
18 #include "content/public/common/content_switches.h" | 18 #include "content/public/common/content_switches.h" |
19 #include "ui/base/resource/resource_bundle.h" | 19 #include "ui/base/resource/resource_bundle.h" |
20 | 20 |
21 #if defined(OS_ANDROID) | 21 #if defined(OS_ANDROID) |
22 #include "chromecast/crash/android/crash_handler.h" | 22 #include "chromecast/crash/android/crash_handler.h" |
23 #endif // defined(OS_ANDROID) | 23 #endif // defined(OS_ANDROID) |
24 | 24 |
25 namespace chromecast { | 25 namespace chromecast { |
26 namespace shell { | 26 namespace shell { |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 } | 131 } |
132 | 132 |
133 content::ContentRendererClient* | 133 content::ContentRendererClient* |
134 CastMainDelegate::CreateContentRendererClient() { | 134 CastMainDelegate::CreateContentRendererClient() { |
135 renderer_client_.reset(new CastContentRendererClient); | 135 renderer_client_.reset(new CastContentRendererClient); |
136 return renderer_client_.get(); | 136 return renderer_client_.get(); |
137 } | 137 } |
138 | 138 |
139 } // namespace shell | 139 } // namespace shell |
140 } // namespace chromecast | 140 } // namespace chromecast |
OLD | NEW |