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

Side by Side Diff: content/renderer/renderer_blink_platform_impl.cc

Issue 2536993002: Remove support for the keygen tag (Closed)
Patch Set: Review feedback Created 4 years 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 #include "content/renderer/renderer_blink_platform_impl.h" 5 #include "content/renderer/renderer_blink_platform_impl.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 } 776 }
777 777
778 //------------------------------------------------------------------------------ 778 //------------------------------------------------------------------------------
779 779
780 blink::WebPublicSuffixList* RendererBlinkPlatformImpl::publicSuffixList() { 780 blink::WebPublicSuffixList* RendererBlinkPlatformImpl::publicSuffixList() {
781 return &public_suffix_list_; 781 return &public_suffix_list_;
782 } 782 }
783 783
784 //------------------------------------------------------------------------------ 784 //------------------------------------------------------------------------------
785 785
786 blink::WebString RendererBlinkPlatformImpl::signedPublicKeyAndChallengeString(
787 unsigned key_size_index,
788 const blink::WebString& challenge,
789 const blink::WebURL& url,
790 const blink::WebURL& top_origin) {
791 std::string signed_public_key;
792 RenderThread::Get()->Send(new RenderProcessHostMsg_Keygen(
793 static_cast<uint32_t>(key_size_index), challenge.utf8(), GURL(url),
794 GURL(top_origin), &signed_public_key));
795 return WebString::fromUTF8(signed_public_key);
796 }
797
798 //------------------------------------------------------------------------------
799
800 blink::WebScrollbarBehavior* RendererBlinkPlatformImpl::scrollbarBehavior() { 786 blink::WebScrollbarBehavior* RendererBlinkPlatformImpl::scrollbarBehavior() {
801 return web_scrollbar_behavior_.get(); 787 return web_scrollbar_behavior_.get();
802 } 788 }
803 789
804 //------------------------------------------------------------------------------ 790 //------------------------------------------------------------------------------
805 791
806 WebBlobRegistry* RendererBlinkPlatformImpl::getBlobRegistry() { 792 WebBlobRegistry* RendererBlinkPlatformImpl::getBlobRegistry() {
807 // blob_registry_ can be NULL when running some tests. 793 // blob_registry_ can be NULL when running some tests.
808 return blob_registry_.get(); 794 return blob_registry_.get();
809 } 795 }
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
1300 return &trial_token_validator_; 1286 return &trial_token_validator_;
1301 } 1287 }
1302 1288
1303 void RendererBlinkPlatformImpl::workerContextCreated( 1289 void RendererBlinkPlatformImpl::workerContextCreated(
1304 const v8::Local<v8::Context>& worker) { 1290 const v8::Local<v8::Context>& worker) {
1305 GetContentClient()->renderer()->DidInitializeWorkerContextOnWorkerThread( 1291 GetContentClient()->renderer()->DidInitializeWorkerContextOnWorkerThread(
1306 worker); 1292 worker);
1307 } 1293 }
1308 1294
1309 } // namespace content 1295 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698