| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 49   ~CastContentBrowserClient() override; | 49   ~CastContentBrowserClient() override; | 
| 50 | 50 | 
| 51   // Appends extra command line arguments before launching a new process. | 51   // Appends extra command line arguments before launching a new process. | 
| 52   virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line); | 52   virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line); | 
| 53 | 53 | 
| 54   // Returns any BrowserMessageFilters that should be added when launching a | 54   // Returns any BrowserMessageFilters that should be added when launching a | 
| 55   // new render process. | 55   // new render process. | 
| 56   virtual std::vector<scoped_refptr<content::BrowserMessageFilter>> | 56   virtual std::vector<scoped_refptr<content::BrowserMessageFilter>> | 
| 57   GetBrowserMessageFilters(); | 57   GetBrowserMessageFilters(); | 
| 58 | 58 | 
| 59   // Provide an AudioManagerFactory instance for WebAudio playback. |  | 
| 60   virtual scoped_ptr<::media::AudioManagerFactory> CreateAudioManagerFactory(); |  | 
| 61 |  | 
| 62 #if !defined(OS_ANDROID) | 59 #if !defined(OS_ANDROID) | 
| 63   // Creates a MediaPipelineDevice (CMA backend) for media playback, called | 60   // Creates a MediaPipelineDevice (CMA backend) for media playback, called | 
| 64   // once per media player instance. | 61   // once per media player instance. | 
| 65   virtual scoped_ptr<media::MediaPipelineDevice> CreateMediaPipelineDevice( | 62   virtual scoped_ptr<media::MediaPipelineDevice> CreateMediaPipelineDevice( | 
| 66       const media::MediaPipelineDeviceParams& params); | 63       const media::MediaPipelineDeviceParams& params); | 
| 67 #endif | 64 #endif | 
| 68 | 65 | 
| 69   // content::ContentBrowserClient implementation: | 66   // content::ContentBrowserClient implementation: | 
| 70   content::BrowserMainParts* CreateBrowserMainParts( | 67   content::BrowserMainParts* CreateBrowserMainParts( | 
| 71       const content::MainFunctionParams& parameters) override; | 68       const content::MainFunctionParams& parameters) override; | 
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 161 | 158 | 
| 162   scoped_ptr<URLRequestContextFactory> url_request_context_factory_; | 159   scoped_ptr<URLRequestContextFactory> url_request_context_factory_; | 
| 163 | 160 | 
| 164   DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); | 161   DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); | 
| 165 }; | 162 }; | 
| 166 | 163 | 
| 167 }  // namespace shell | 164 }  // namespace shell | 
| 168 }  // namespace chromecast | 165 }  // namespace chromecast | 
| 169 | 166 | 
| 170 #endif  // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 167 #endif  // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 
| OLD | NEW | 
|---|