| 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 "media/base/renderer_factory.h" | 7 #include "media/base/renderer_factory.h" |
| 8 #include "third_party/WebKit/public/web/WebPluginPlaceholder.h" | 8 #include "third_party/WebKit/public/web/WebPluginPlaceholder.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 | 168 |
| 169 bool ContentRendererClient::AllowPepperMediaStreamAPI(const GURL& url) { | 169 bool ContentRendererClient::AllowPepperMediaStreamAPI(const GURL& url) { |
| 170 return false; | 170 return false; |
| 171 } | 171 } |
| 172 | 172 |
| 173 void ContentRendererClient::AddKeySystems( | 173 void ContentRendererClient::AddKeySystems( |
| 174 std::vector<media::KeySystemInfo>* key_systems) { | 174 std::vector<media::KeySystemInfo>* key_systems) { |
| 175 } | 175 } |
| 176 | 176 |
| 177 scoped_ptr<media::RendererFactory> | 177 scoped_ptr<media::RendererFactory> |
| 178 ContentRendererClient::CreateMediaRendererFactory(RenderFrame* render_frame) { | 178 ContentRendererClient::CreateMediaRendererFactory( |
| 179 RenderFrame* render_frame, |
| 180 const scoped_refptr<media::MediaLog>& media_log) { |
| 179 return nullptr; | 181 return nullptr; |
| 180 } | 182 } |
| 181 | 183 |
| 182 bool ContentRendererClient::ShouldReportDetailedMessageForSource( | 184 bool ContentRendererClient::ShouldReportDetailedMessageForSource( |
| 183 const base::string16& source) const { | 185 const base::string16& source) const { |
| 184 return false; | 186 return false; |
| 185 } | 187 } |
| 186 | 188 |
| 187 bool ContentRendererClient::ShouldEnableSiteIsolationPolicy() const { | 189 bool ContentRendererClient::ShouldEnableSiteIsolationPolicy() const { |
| 188 return true; | 190 return true; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 207 const std::string& mime_type, | 209 const std::string& mime_type, |
| 208 const GURL& original_url) { | 210 const GURL& original_url) { |
| 209 return nullptr; | 211 return nullptr; |
| 210 } | 212 } |
| 211 | 213 |
| 212 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { | 214 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { |
| 213 return std::string(); | 215 return std::string(); |
| 214 } | 216 } |
| 215 | 217 |
| 216 } // namespace content | 218 } // namespace content |
| OLD | NEW |