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

Side by Side Diff: content/public/common/content_client.cc

Issue 2047683002: Store Origin Trials public key in browser prefs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 int sandbox_type, 112 int sandbox_type,
113 int* sandbox_profile_resource_id) const { 113 int* sandbox_profile_resource_id) const {
114 return false; 114 return false;
115 } 115 }
116 #endif 116 #endif
117 117
118 bool ContentClient::IsSupplementarySiteIsolationModeEnabled() { 118 bool ContentClient::IsSupplementarySiteIsolationModeEnabled() {
119 return false; 119 return false;
120 } 120 }
121 121
122 void ContentClient::InitializeOriginTrialPolicy() {}
123
122 base::StringPiece ContentClient::GetOriginTrialPublicKey() { 124 base::StringPiece ContentClient::GetOriginTrialPublicKey() {
123 return base::StringPiece(); 125 return base::StringPiece();
124 } 126 }
125 127
126 bool ContentClient::AllowScriptExtensionForServiceWorker( 128 bool ContentClient::AllowScriptExtensionForServiceWorker(
127 const GURL& script_url) { 129 const GURL& script_url) {
128 return false; 130 return false;
129 } 131 }
130 132
131 #if defined(OS_ANDROID) 133 #if defined(OS_ANDROID)
132 bool ContentClient::UsingSynchronousCompositing() { 134 bool ContentClient::UsingSynchronousCompositing() {
133 return false; 135 return false;
134 } 136 }
135 137
136 media::MediaClientAndroid* ContentClient::GetMediaClientAndroid() { 138 media::MediaClientAndroid* ContentClient::GetMediaClientAndroid() {
137 return nullptr; 139 return nullptr;
138 } 140 }
139 #endif // OS_ANDROID 141 #endif // OS_ANDROID
140 142
141 } // namespace content 143 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698