| OLD | NEW |
| 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 "chrome/browser/chrome_content_browser_client.h" | 5 #include "chrome/browser/chrome_content_browser_client.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <set> | 8 #include <set> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 2945 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2956 base::Bind(&password_manager::ContentPasswordManagerDriverFactory:: | 2956 base::Bind(&password_manager::ContentPasswordManagerDriverFactory:: |
| 2957 BindSensitiveInputVisibilityService, | 2957 BindSensitiveInputVisibilityService, |
| 2958 render_frame_host)); | 2958 render_frame_host)); |
| 2959 | 2959 |
| 2960 #if BUILDFLAG(ANDROID_JAVA_UI) | 2960 #if BUILDFLAG(ANDROID_JAVA_UI) |
| 2961 content::WebContents* web_contents = | 2961 content::WebContents* web_contents = |
| 2962 content::WebContents::FromRenderFrameHost(render_frame_host); | 2962 content::WebContents::FromRenderFrameHost(render_frame_host); |
| 2963 if (web_contents) { | 2963 if (web_contents) { |
| 2964 registry->AddInterface( | 2964 registry->AddInterface( |
| 2965 web_contents->GetJavaInterfaces() | 2965 web_contents->GetJavaInterfaces() |
| 2966 ->CreateInterfaceFactory<payments::mojom::PaymentRequest>()); | 2966 ->CreateInterfaceFactory<blink::mojom::PaymentRequest>()); |
| 2967 registry->AddInterface( | 2967 registry->AddInterface( |
| 2968 base::Bind(&ForwardShareServiceRequest, | 2968 base::Bind(&ForwardShareServiceRequest, |
| 2969 web_contents->GetJavaInterfaces()->GetWeakPtr())); | 2969 web_contents->GetJavaInterfaces()->GetWeakPtr())); |
| 2970 } | 2970 } |
| 2971 #endif | 2971 #endif |
| 2972 | 2972 |
| 2973 #if defined(ENABLE_MEDIA_ROUTER) | 2973 #if defined(ENABLE_MEDIA_ROUTER) |
| 2974 registry->AddInterface( | 2974 registry->AddInterface( |
| 2975 base::Bind(&CastRemotingConnector::CreateRemoterFactory, | 2975 base::Bind(&CastRemotingConnector::CreateRemoterFactory, |
| 2976 render_frame_host)); | 2976 render_frame_host)); |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3226 kWebRtcDevSwitchNames, | 3226 kWebRtcDevSwitchNames, |
| 3227 arraysize(kWebRtcDevSwitchNames)); | 3227 arraysize(kWebRtcDevSwitchNames)); |
| 3228 } | 3228 } |
| 3229 } | 3229 } |
| 3230 #endif // defined(ENABLE_WEBRTC) | 3230 #endif // defined(ENABLE_WEBRTC) |
| 3231 | 3231 |
| 3232 std::unique_ptr<content::MemoryCoordinatorDelegate> | 3232 std::unique_ptr<content::MemoryCoordinatorDelegate> |
| 3233 ChromeContentBrowserClient::GetMemoryCoordinatorDelegate() { | 3233 ChromeContentBrowserClient::GetMemoryCoordinatorDelegate() { |
| 3234 return memory::ChromeMemoryCoordinatorDelegate::Create(); | 3234 return memory::ChromeMemoryCoordinatorDelegate::Create(); |
| 3235 } | 3235 } |
| OLD | NEW |