| 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/common/content_client.h" | 5 #include "content/public/common/content_client.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/strings/string_piece.h" | 8 #include "base/strings/string_piece.h" |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "content/public/common/origin_util.h" | 10 #include "content/public/common/origin_util.h" |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 bool ContentClient::IsSupplementarySiteIsolationModeEnabled() { | 118 bool ContentClient::IsSupplementarySiteIsolationModeEnabled() { |
| 119 return false; | 119 return false; |
| 120 } | 120 } |
| 121 | 121 |
| 122 void ContentClient::InitializeOriginTrialPolicy() {} | 122 void ContentClient::InitializeOriginTrialPolicy() {} |
| 123 | 123 |
| 124 base::StringPiece ContentClient::GetOriginTrialPublicKey() { | 124 base::StringPiece ContentClient::GetOriginTrialPublicKey() { |
| 125 return base::StringPiece(); | 125 return base::StringPiece(); |
| 126 } | 126 } |
| 127 | 127 |
| 128 bool ContentClient::IsOriginTrialFeatureDisabled(base::StringPiece feature) { |
| 129 return false; |
| 130 } |
| 131 |
| 128 bool ContentClient::AllowScriptExtensionForServiceWorker( | 132 bool ContentClient::AllowScriptExtensionForServiceWorker( |
| 129 const GURL& script_url) { | 133 const GURL& script_url) { |
| 130 return false; | 134 return false; |
| 131 } | 135 } |
| 132 | 136 |
| 133 #if defined(OS_ANDROID) | 137 #if defined(OS_ANDROID) |
| 134 bool ContentClient::UsingSynchronousCompositing() { | 138 bool ContentClient::UsingSynchronousCompositing() { |
| 135 return false; | 139 return false; |
| 136 } | 140 } |
| 137 | 141 |
| 138 media::MediaClientAndroid* ContentClient::GetMediaClientAndroid() { | 142 media::MediaClientAndroid* ContentClient::GetMediaClientAndroid() { |
| 139 return nullptr; | 143 return nullptr; |
| 140 } | 144 } |
| 141 #endif // OS_ANDROID | 145 #endif // OS_ANDROID |
| 142 | 146 |
| 143 } // namespace content | 147 } // namespace content |
| OLD | NEW |