| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/shell/common/shell_origin_trial_policy.h" | 5 #include "content/shell/common/shell_origin_trial_policy.h" |
| 6 | 6 |
| 7 namespace content { | 7 namespace content { |
| 8 | 8 |
| 9 namespace { | 9 namespace { |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 : public_key_(base::StringPiece( | 23 : public_key_(base::StringPiece( |
| 24 reinterpret_cast<const char*>(kOriginTrialPublicKey), | 24 reinterpret_cast<const char*>(kOriginTrialPublicKey), |
| 25 arraysize(kOriginTrialPublicKey))) {} | 25 arraysize(kOriginTrialPublicKey))) {} |
| 26 | 26 |
| 27 ShellOriginTrialPolicy::~ShellOriginTrialPolicy() {} | 27 ShellOriginTrialPolicy::~ShellOriginTrialPolicy() {} |
| 28 | 28 |
| 29 base::StringPiece ShellOriginTrialPolicy::GetPublicKey() const { | 29 base::StringPiece ShellOriginTrialPolicy::GetPublicKey() const { |
| 30 return public_key_; | 30 return public_key_; |
| 31 } | 31 } |
| 32 | 32 |
| 33 bool ShellOriginTrialPolicy::IsFeatureDisabled( |
| 34 base::StringPiece feature) const { |
| 35 return false; |
| 36 } |
| 37 |
| 33 } // namespace content | 38 } // namespace content |
| OLD | NEW |