| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/public/renderer/content_renderer_client.h" | 5 #include "content/public/renderer/content_renderer_client.h" |
| 6 | 6 |
| 7 #include "content/public/renderer/media_stream_renderer_factory.h" | 7 #include "content/public/renderer/media_stream_renderer_factory.h" |
| 8 #include "media/base/renderer_factory.h" | 8 #include "media/base/renderer_factory.h" |
| 9 #include "third_party/WebKit/public/platform/WebAudioDevice.h" | 9 #include "third_party/WebKit/public/platform/WebAudioDevice.h" |
| 10 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h" | 10 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h" |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 | 242 |
| 243 std::unique_ptr<base::TaskScheduler::InitParams> | 243 std::unique_ptr<base::TaskScheduler::InitParams> |
| 244 ContentRendererClient::GetTaskSchedulerInitParams() { | 244 ContentRendererClient::GetTaskSchedulerInitParams() { |
| 245 return nullptr; | 245 return nullptr; |
| 246 } | 246 } |
| 247 | 247 |
| 248 bool ContentRendererClient::AllowMediaSuspend() { | 248 bool ContentRendererClient::AllowMediaSuspend() { |
| 249 return true; | 249 return true; |
| 250 } | 250 } |
| 251 | 251 |
| 252 bool ContentRendererClient::CanBeBackgrounded() const { |
| 253 return true; |
| 254 } |
| 255 |
| 252 } // namespace content | 256 } // namespace content |
| OLD | NEW |