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

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

Issue 6928021: Make ViewHostMsg_Keygen a routed ipc (part 1/2). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unnecessary WebKit::s Created 9 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « content/renderer/render_view.cc ('k') | no next file » | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_webkitclient_impl.h" 5 #include "content/renderer/renderer_webkitclient_impl.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/platform_file.h" 10 #include "base/platform_file.h"
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 } 555 }
556 556
557 //------------------------------------------------------------------------------ 557 //------------------------------------------------------------------------------
558 558
559 WebKit::WebString RendererWebKitClientImpl::signedPublicKeyAndChallengeString( 559 WebKit::WebString RendererWebKitClientImpl::signedPublicKeyAndChallengeString(
560 unsigned key_size_index, 560 unsigned key_size_index,
561 const WebKit::WebString& challenge, 561 const WebKit::WebString& challenge,
562 const WebKit::WebURL& url) { 562 const WebKit::WebURL& url) {
563 std::string signed_public_key; 563 std::string signed_public_key;
564 RenderThread::current()->Send(new ViewHostMsg_Keygen( 564 RenderThread::current()->Send(new ViewHostMsg_Keygen(
565 MSG_ROUTING_CONTROL,
565 static_cast<uint32>(key_size_index), 566 static_cast<uint32>(key_size_index),
566 challenge.utf8(), 567 challenge.utf8(),
567 GURL(url), 568 GURL(url),
568 &signed_public_key)); 569 &signed_public_key));
569 return WebString::fromUTF8(signed_public_key); 570 return WebString::fromUTF8(signed_public_key);
570 } 571 }
571 572
572 //------------------------------------------------------------------------------ 573 //------------------------------------------------------------------------------
573 574
574 WebBlobRegistry* RendererWebKitClientImpl::blobRegistry() { 575 WebBlobRegistry* RendererWebKitClientImpl::blobRegistry() {
575 if (!blob_registry_.get()) 576 if (!blob_registry_.get())
576 blob_registry_.reset(new WebBlobRegistryImpl(RenderThread::current())); 577 blob_registry_.reset(new WebBlobRegistryImpl(RenderThread::current()));
577 return blob_registry_.get(); 578 return blob_registry_.get();
578 } 579 }
OLDNEW
« no previous file with comments | « content/renderer/render_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698