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 <string> | 7 #include <string> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/cpu.h" | 10 #include "base/cpu.h" |
11 #include "base/lazy_instance.h" | 11 #include "base/lazy_instance.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/path_service.h" | 13 #include "base/path_service.h" |
14 #include "base/posix/global_descriptors.h" | 14 #include "base/posix/global_descriptors.h" |
15 #include "chromecast/base/cast_paths.h" | 15 #include "chromecast/base/cast_paths.h" |
16 #include "chromecast/browser/cast_content_browser_client.h" | 16 #include "chromecast/browser/cast_content_browser_client.h" |
17 #include "chromecast/common/cast_resource_delegate.h" | 17 #include "chromecast/common/cast_resource_delegate.h" |
18 #include "chromecast/common/global_descriptors.h" | 18 #include "chromecast/common/global_descriptors.h" |
19 #include "chromecast/crash/cast_crash_reporter_client.h" | 19 #include "chromecast/crash/linux/cast_crash_reporter_client.h" |
alokp
2015/06/15 17:51:48
Is this cc file linux only? If not it seems weird
gunsch
2015/06/15 18:05:59
+1, maybe guard with OS_LINUX below now that it ha
slan
2015/06/16 14:57:48
Done. Guarded via #else, to keep consistent with t
| |
20 #include "chromecast/renderer/cast_content_renderer_client.h" | 20 #include "chromecast/renderer/cast_content_renderer_client.h" |
21 #include "components/crash/app/crash_reporter_client.h" | 21 #include "components/crash/app/crash_reporter_client.h" |
22 #include "content/public/browser/browser_main_runner.h" | 22 #include "content/public/browser/browser_main_runner.h" |
23 #include "content/public/common/content_switches.h" | 23 #include "content/public/common/content_switches.h" |
24 #include "ui/base/resource/resource_bundle.h" | 24 #include "ui/base/resource/resource_bundle.h" |
25 | 25 |
26 #if defined(OS_ANDROID) | 26 #if defined(OS_ANDROID) |
27 #include "chromecast/crash/android/crash_handler.h" | 27 #include "chromecast/crash/android/crash_handler.h" |
28 #endif // defined(OS_ANDROID) | 28 #endif // defined(OS_ANDROID) |
29 | 29 |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
155 } | 155 } |
156 | 156 |
157 content::ContentRendererClient* | 157 content::ContentRendererClient* |
158 CastMainDelegate::CreateContentRendererClient() { | 158 CastMainDelegate::CreateContentRendererClient() { |
159 renderer_client_ = CastContentRendererClient::Create(); | 159 renderer_client_ = CastContentRendererClient::Create(); |
160 return renderer_client_.get(); | 160 return renderer_client_.get(); |
161 } | 161 } |
162 | 162 |
163 } // namespace shell | 163 } // namespace shell |
164 } // namespace chromecast | 164 } // namespace chromecast |
OLD | NEW |