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

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

Issue 464883002: Credential Manager: Renderer-side implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Style. Created 6 years, 4 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
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_webkitplatformsupport_impl.h" 5 #include "content/renderer/renderer_webkitplatformsupport_impl.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 854 matching lines...) Expand 10 before | Expand all | Expand 10 after
865 865
866 //------------------------------------------------------------------------------ 866 //------------------------------------------------------------------------------
867 867
868 WebBlobRegistry* RendererWebKitPlatformSupportImpl::blobRegistry() { 868 WebBlobRegistry* RendererWebKitPlatformSupportImpl::blobRegistry() {
869 // blob_registry_ can be NULL when running some tests. 869 // blob_registry_ can be NULL when running some tests.
870 return blob_registry_.get(); 870 return blob_registry_.get();
871 } 871 }
872 872
873 //------------------------------------------------------------------------------ 873 //------------------------------------------------------------------------------
874 874
875 blink::WebCredentialManager*
876 RendererWebKitPlatformSupportImpl::credentialManager() {
877 return GetContentClient()->renderer()->GetCredentialManager();
jam 2014/08/19 19:55:31 the pattern we had used for the content refactorin
Mike West 2014/08/20 13:17:20 That keeps //content clean at the expense of makin
878 }
879
880 //------------------------------------------------------------------------------
881
875 void RendererWebKitPlatformSupportImpl::sampleGamepads(WebGamepads& gamepads) { 882 void RendererWebKitPlatformSupportImpl::sampleGamepads(WebGamepads& gamepads) {
876 DCHECK(gamepad_provider_); 883 DCHECK(gamepad_provider_);
877 gamepad_provider_->SampleGamepads(gamepads); 884 gamepad_provider_->SampleGamepads(gamepads);
878 } 885 }
879 886
880 //------------------------------------------------------------------------------ 887 //------------------------------------------------------------------------------
881 888
882 WebRTCPeerConnectionHandler* 889 WebRTCPeerConnectionHandler*
883 RendererWebKitPlatformSupportImpl::createRTCPeerConnectionHandler( 890 RendererWebKitPlatformSupportImpl::createRTCPeerConnectionHandler(
884 WebRTCPeerConnectionHandlerClient* client) { 891 WebRTCPeerConnectionHandlerClient* client) {
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
1200 1207
1201 //------------------------------------------------------------------------------ 1208 //------------------------------------------------------------------------------
1202 1209
1203 // static 1210 // static
1204 void RendererWebKitPlatformSupportImpl::MockBatteryStatusChangedForTesting( 1211 void RendererWebKitPlatformSupportImpl::MockBatteryStatusChangedForTesting(
1205 const blink::WebBatteryStatus& status) { 1212 const blink::WebBatteryStatus& status) {
1206 g_test_battery_status_dispatcher.Get().PostBatteryStatusChange(status); 1213 g_test_battery_status_dispatcher.Get().PostBatteryStatusChange(status);
1207 } 1214 }
1208 1215
1209 } // namespace content 1216 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698