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

Side by Side Diff: chrome/renderer/chrome_content_renderer_client.h

Issue 1741783002: Add disabled origin trial feature list (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ef-finch
Patch Set: Rebase; style fixes Created 4 years, 9 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 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 const blink::WebURLResponse& response, 147 const blink::WebURLResponse& response,
148 std::map<std::string, std::string>* properties) override; 148 std::map<std::string, std::string>* properties) override;
149 void DidInitializeServiceWorkerContextOnWorkerThread( 149 void DidInitializeServiceWorkerContextOnWorkerThread(
150 v8::Local<v8::Context> context, 150 v8::Local<v8::Context> context,
151 const GURL& url) override; 151 const GURL& url) override;
152 void WillDestroyServiceWorkerContextOnWorkerThread( 152 void WillDestroyServiceWorkerContextOnWorkerThread(
153 v8::Local<v8::Context> context, 153 v8::Local<v8::Context> context,
154 const GURL& url) override; 154 const GURL& url) override;
155 bool ShouldEnforceWebRTCRoutingPreferences() override; 155 bool ShouldEnforceWebRTCRoutingPreferences() override;
156 base::StringPiece GetOriginTrialPublicKey() override; 156 base::StringPiece GetOriginTrialPublicKey() override;
157 bool IsOriginTrialFeatureDisabled(const std::string& feature) override;
157 158
158 #if defined(ENABLE_SPELLCHECK) 159 #if defined(ENABLE_SPELLCHECK)
159 // Sets a new |spellcheck|. Used for testing only. 160 // Sets a new |spellcheck|. Used for testing only.
160 // Takes ownership of |spellcheck|. 161 // Takes ownership of |spellcheck|.
161 void SetSpellcheck(SpellCheck* spellcheck); 162 void SetSpellcheck(SpellCheck* spellcheck);
162 #endif 163 #endif
163 164
164 #if defined(ENABLE_PLUGINS) 165 #if defined(ENABLE_PLUGINS)
165 static blink::WebPlugin* CreatePlugin( 166 static blink::WebPlugin* CreatePlugin(
166 content::RenderFrame* render_frame, 167 content::RenderFrame* render_frame,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 #if defined(ENABLE_PRINT_PREVIEW) 217 #if defined(ENABLE_PRINT_PREVIEW)
217 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; 218 scoped_ptr<ChromePDFPrintClient> pdf_print_client_;
218 #endif 219 #endif
219 #if defined(ENABLE_PLUGINS) 220 #if defined(ENABLE_PLUGINS)
220 std::set<std::string> allowed_camera_device_origins_; 221 std::set<std::string> allowed_camera_device_origins_;
221 std::set<std::string> allowed_compositor_origins_; 222 std::set<std::string> allowed_compositor_origins_;
222 #endif 223 #endif
223 }; 224 };
224 225
225 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 226 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698