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

Unified Diff: third_party/WebKit/public/platform/WebTrialTokenValidator.h

Issue 1752463002: Cleanup TrialToken in preparation of moving it to content/common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/origin_trials/OriginTrialContextTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebTrialTokenValidator.h
diff --git a/third_party/WebKit/public/platform/WebTrialTokenValidator.h b/third_party/WebKit/public/platform/WebTrialTokenValidator.h
index c6108b7e1e7839f292e173c25a2cfe2abe0aba67..b11cb215a68614b540b686f6f1d4ad2c12b58402 100644
--- a/third_party/WebKit/public/platform/WebTrialTokenValidator.h
+++ b/third_party/WebKit/public/platform/WebTrialTokenValidator.h
@@ -6,6 +6,7 @@
#define WebTrialTokenValidator_h
#include "public/platform/WebCallbacks.h"
+#include "public/platform/WebSecurityOrigin.h"
#include "public/platform/WebString.h"
namespace blink {
@@ -24,7 +25,7 @@ public:
// Returns true if the given token is valid for the specified origin and
// feature name.
- virtual bool validateToken(const WebString& token, const WebString& origin, const WebString& featureName) = 0;
+ virtual bool validateToken(const WebString& token, const WebSecurityOrigin&, const WebString& featureName) = 0;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/origin_trials/OriginTrialContextTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698