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

Unified Diff: content/renderer/renderer_blink_platform_impl.h

Issue 1680873002: [Experimental Framework] Move trial token code to renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add boringssl dependency to content/renderer/ 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/renderer_blink_platform_impl.h
diff --git a/content/renderer/renderer_blink_platform_impl.h b/content/renderer/renderer_blink_platform_impl.h
index 5e938fdaadbc962365feb28773063449b7758ab8..dc6a81cf9f12bd26a22a362c3a70e8f60981c9af 100644
--- a/content/renderer/renderer_blink_platform_impl.h
+++ b/content/renderer/renderer_blink_platform_impl.h
@@ -16,6 +16,7 @@
#include "cc/blink/web_compositor_support_impl.h"
#include "content/child/blink_platform_impl.h"
#include "content/common/content_export.h"
+#include "content/renderer/origin_trials/trial_token_validator.h"
#include "content/renderer/webpublicsuffixlist_impl.h"
#include "device/vibration/vibration_manager.mojom.h"
#include "third_party/WebKit/public/platform/WebGraphicsContext3D.h"
@@ -190,6 +191,8 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl {
const blink::WebString& sample) override;
void recordRapporURL(const char* metric, const blink::WebURL& url) override;
+ blink::WebTrialTokenValidator* trialTokenValidator() override;
+
// Set the PlatformEventObserverBase in |platform_event_observers_| associated
// with |type| to |observer|. If there was already an observer associated to
// the given |type|, it will be replaced.
@@ -296,6 +299,8 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl {
scheduler::RendererScheduler* renderer_scheduler_; // NOT OWNED
+ TrialTokenValidator trial_token_validator_;
+
DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl);
};
« no previous file with comments | « content/renderer/origin_trials/trial_token_validator.cc ('k') | content/renderer/renderer_blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698