| 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 #ifndef CHROMECAST_BROWSER_CAST_BROWSER_MAIN_PARTS_H_ | 5 #ifndef CHROMECAST_BROWSER_CAST_BROWSER_MAIN_PARTS_H_ |
| 6 #define CHROMECAST_BROWSER_CAST_BROWSER_MAIN_PARTS_H_ | 6 #define CHROMECAST_BROWSER_CAST_BROWSER_MAIN_PARTS_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "content/public/browser/browser_main_parts.h" | 12 #include "content/public/browser/browser_main_parts.h" |
| 13 #include "content/public/common/main_function_params.h" | 13 #include "content/public/common/main_function_params.h" |
| 14 | 14 |
| 15 namespace base { | 15 namespace base { |
| 16 class SingleThreadTaskRunner; | 16 class SingleThreadTaskRunner; |
| 17 class Thread; | 17 class Thread; |
| 18 } // namespace base | 18 } // namespace base |
| 19 | 19 |
| 20 #if defined(OS_ANDROID) | |
| 21 namespace breakpad { | |
| 22 class CrashDumpManager; | |
| 23 } | |
| 24 #endif | |
| 25 | |
| 26 namespace net { | 20 namespace net { |
| 27 class NetLog; | 21 class NetLog; |
| 28 } | 22 } |
| 29 | 23 |
| 30 namespace chromecast { | 24 namespace chromecast { |
| 31 class CastMemoryPressureMonitor; | 25 class CastMemoryPressureMonitor; |
| 32 | 26 |
| 33 namespace media { | 27 namespace media { |
| 34 class MediaCapsImpl; | 28 class MediaCapsImpl; |
| 35 class MediaPipelineBackendManager; | 29 class MediaPipelineBackendManager; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 // Tracks usage of media resource by e.g. CMA pipeline, CDM. | 75 // Tracks usage of media resource by e.g. CMA pipeline, CDM. |
| 82 media::MediaResourceTracker* media_resource_tracker_; | 76 media::MediaResourceTracker* media_resource_tracker_; |
| 83 | 77 |
| 84 // Tracks all media pipeline backends. | 78 // Tracks all media pipeline backends. |
| 85 std::unique_ptr<media::MediaPipelineBackendManager> | 79 std::unique_ptr<media::MediaPipelineBackendManager> |
| 86 media_pipeline_backend_manager_; | 80 media_pipeline_backend_manager_; |
| 87 | 81 |
| 88 std::unique_ptr<CastMemoryPressureMonitor> memory_pressure_monitor_; | 82 std::unique_ptr<CastMemoryPressureMonitor> memory_pressure_monitor_; |
| 89 #endif | 83 #endif |
| 90 | 84 |
| 91 #if defined(OS_ANDROID) | |
| 92 std::unique_ptr<breakpad::CrashDumpManager> crash_dump_manager_; | |
| 93 #endif | |
| 94 | |
| 95 DISALLOW_COPY_AND_ASSIGN(CastBrowserMainParts); | 85 DISALLOW_COPY_AND_ASSIGN(CastBrowserMainParts); |
| 96 }; | 86 }; |
| 97 | 87 |
| 98 } // namespace shell | 88 } // namespace shell |
| 99 } // namespace chromecast | 89 } // namespace chromecast |
| 100 | 90 |
| 101 #endif // CHROMECAST_BROWSER_CAST_BROWSER_MAIN_PARTS_H_ | 91 #endif // CHROMECAST_BROWSER_CAST_BROWSER_MAIN_PARTS_H_ |
| OLD | NEW |