| 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/browser/cast_browser_process.h" | 5 #include "chromecast/browser/cast_browser_process.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "chromecast/browser/cast_browser_context.h" |
| 9 #include "chromecast/browser/devtools/remote_debugging_server.h" |
| 10 #include "chromecast/browser/service/cast_service.h" |
| 8 #include "chromecast/metrics/cast_metrics_service_client.h" | 11 #include "chromecast/metrics/cast_metrics_service_client.h" |
| 9 #include "chromecast/service/cast_service.h" | |
| 10 #include "chromecast/shell/browser/cast_browser_context.h" | |
| 11 #include "chromecast/shell/browser/devtools/remote_debugging_server.h" | |
| 12 | 12 |
| 13 #if defined(OS_ANDROID) | 13 #if defined(OS_ANDROID) |
| 14 #include "components/crash/browser/crash_dump_manager_android.h" | 14 #include "components/crash/browser/crash_dump_manager_android.h" |
| 15 #endif // defined(OS_ANDROID) | 15 #endif // defined(OS_ANDROID) |
| 16 | 16 |
| 17 namespace chromecast { | 17 namespace chromecast { |
| 18 namespace shell { | 18 namespace shell { |
| 19 | 19 |
| 20 namespace { | 20 namespace { |
| 21 CastBrowserProcess* g_instance = NULL; | 21 CastBrowserProcess* g_instance = NULL; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 #if defined(OS_ANDROID) | 63 #if defined(OS_ANDROID) |
| 64 void CastBrowserProcess::SetCrashDumpManager( | 64 void CastBrowserProcess::SetCrashDumpManager( |
| 65 breakpad::CrashDumpManager* crash_dump_manager) { | 65 breakpad::CrashDumpManager* crash_dump_manager) { |
| 66 DCHECK(!crash_dump_manager_); | 66 DCHECK(!crash_dump_manager_); |
| 67 crash_dump_manager_.reset(crash_dump_manager); | 67 crash_dump_manager_.reset(crash_dump_manager); |
| 68 } | 68 } |
| 69 #endif // defined(OS_ANDROID) | 69 #endif // defined(OS_ANDROID) |
| 70 | 70 |
| 71 } // namespace shell | 71 } // namespace shell |
| 72 } // namespace chromecast | 72 } // namespace chromecast |
| OLD | NEW |