Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2331)

Unified Diff: content/public/common/content_client.cc

Issue 2049783002: Refactor OriginTrialPolicy to be an abstract interface in content/public/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ef-add-revoked-feature-list
Patch Set: Switch to lazy initialization in ChromeContentClient Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/common/content_client.h ('k') | content/public/common/origin_trial_policy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_client.cc
diff --git a/content/public/common/content_client.cc b/content/public/common/content_client.cc
index 4deed2d832cb07efa90df369c513cb16386df55a..43cede30c6af2cb588a700671b64f17a773bfa4e 100644
--- a/content/public/common/content_client.cc
+++ b/content/public/common/content_client.cc
@@ -119,8 +119,8 @@ bool ContentClient::IsSupplementarySiteIsolationModeEnabled() {
return false;
}
-base::StringPiece ContentClient::GetOriginTrialPublicKey() {
- return base::StringPiece();
+OriginTrialPolicy* ContentClient::GetOriginTrialPolicy() {
+ return nullptr;
}
bool ContentClient::AllowScriptExtensionForServiceWorker(
« no previous file with comments | « content/public/common/content_client.h ('k') | content/public/common/origin_trial_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698