Chromium Code Reviews| 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_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 57 GetBrowserMessageFilters(); | 57 GetBrowserMessageFilters(); |
| 58 | 58 |
| 59 // Provide an AudioManagerFactory instance for WebAudio playback. | 59 // Provide an AudioManagerFactory instance for WebAudio playback. |
| 60 virtual scoped_ptr<::media::AudioManagerFactory> CreateAudioManagerFactory(); | 60 virtual scoped_ptr<::media::AudioManagerFactory> CreateAudioManagerFactory(); |
| 61 | 61 |
| 62 #if !defined(OS_ANDROID) | 62 #if !defined(OS_ANDROID) |
| 63 // Creates a MediaPipelineDevice (CMA backend) for media playback, called | 63 // Creates a MediaPipelineDevice (CMA backend) for media playback, called |
| 64 // once per media player instance. | 64 // once per media player instance. |
| 65 virtual scoped_ptr<media::MediaPipelineBackend> CreateMediaPipelineBackend( | 65 virtual scoped_ptr<media::MediaPipelineBackend> CreateMediaPipelineBackend( |
| 66 const media::MediaPipelineDeviceParams& params); | 66 const media::MediaPipelineDeviceParams& params); |
| 67 virtual void OnMediaPipelineBackendCreate(); | |
| 68 virtual void OnMediaPipelineBackendDestroy(); | |
|
halliwell
2015/08/25 00:48:34
nit: created, destroyed.
yucliu1
2015/08/25 04:27:57
Done.
| |
| 67 #endif | 69 #endif |
| 68 | 70 |
| 69 // Performs cleanup for process exit (but before AtExitManager cleanup). | 71 // Performs cleanup for process exit (but before AtExitManager cleanup). |
| 70 void ProcessExiting(); | 72 void ProcessExiting(); |
| 71 | 73 |
| 72 // Invoked when the metrics client ID changes. | 74 // Invoked when the metrics client ID changes. |
| 73 virtual void SetMetricsClientId(const std::string& client_id); | 75 virtual void SetMetricsClientId(const std::string& client_id); |
| 74 | 76 |
| 75 // Allows registration of extra metrics providers. | 77 // Allows registration of extra metrics providers. |
| 76 virtual void RegisterMetricsProviders( | 78 virtual void RegisterMetricsProviders( |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 171 | 173 |
| 172 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; | 174 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; |
| 173 | 175 |
| 174 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); | 176 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); |
| 175 }; | 177 }; |
| 176 | 178 |
| 177 } // namespace shell | 179 } // namespace shell |
| 178 } // namespace chromecast | 180 } // namespace chromecast |
| 179 | 181 |
| 180 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 182 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |