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

Unified Diff: content/renderer/renderer_blink_platform_impl.cc

Issue 1476873002: Adding <keygen> Content Setting (Final) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix origin check. Created 4 years, 11 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.cc
diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc
index 391a2a4827698dc770fa2280d0b7752b75df451a..fcda4e1426f803d05e5e986e1034563fe8460e00 100644
--- a/content/renderer/renderer_blink_platform_impl.cc
+++ b/content/renderer/renderer_blink_platform_impl.cc
@@ -822,11 +822,12 @@ blink::WebPublicSuffixList* RendererBlinkPlatformImpl::publicSuffixList() {
blink::WebString RendererBlinkPlatformImpl::signedPublicKeyAndChallengeString(
unsigned key_size_index,
const blink::WebString& challenge,
- const blink::WebURL& url) {
+ const blink::WebURL& url,
+ const blink::WebURL& top_url) {
nasko 2016/01/11 22:25:47 This is no longer an URL, but an origin. Can you p
svaldez 2016/01/12 13:53:38 Done.
std::string signed_public_key;
RenderThread::Get()->Send(new RenderProcessHostMsg_Keygen(
static_cast<uint32_t>(key_size_index), challenge.utf8(), GURL(url),
- &signed_public_key));
+ GURL(top_url), &signed_public_key));
return WebString::fromUTF8(signed_public_key);
}
« no previous file with comments | « content/renderer/renderer_blink_platform_impl.h ('k') | third_party/WebKit/Source/core/html/HTMLKeygenElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698