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

Side by Side Diff: content/public/renderer/content_renderer_client.h

Issue 1653263005: [Experimental Framework] Move the trial token public key out of content and into the embedder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase, and update for recent token changes Created 4 years, 10 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
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 320
321 // Notifies that a service worker context will be destroyed. This function 321 // Notifies that a service worker context will be destroyed. This function
322 // is called from the worker thread. 322 // is called from the worker thread.
323 virtual void WillDestroyServiceWorkerContextOnWorkerThread( 323 virtual void WillDestroyServiceWorkerContextOnWorkerThread(
324 v8::Local<v8::Context> context, 324 v8::Local<v8::Context> context,
325 const GURL& url) {} 325 const GURL& url) {}
326 326
327 // Whether this renderer should enforce preferences related to the WebRTC 327 // Whether this renderer should enforce preferences related to the WebRTC
328 // routing logic, i.e. allowing multiple routes and non-proxied UDP. 328 // routing logic, i.e. allowing multiple routes and non-proxied UDP.
329 virtual bool ShouldEnforceWebRTCRoutingPreferences(); 329 virtual bool ShouldEnforceWebRTCRoutingPreferences();
330
331 // Returns the public key to be used for origin trials, or an empty string if
332 // origin trials are not enabled in this context.
333 virtual base::StringPiece GetOriginTrialPublicKey();
330 }; 334 };
331 335
332 } // namespace content 336 } // namespace content
333 337
334 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 338 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698