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

Side by Side Diff: chrome/browser/chrome_content_browser_client.cc

Issue 2489943003: Revert of [Web Payments] Mojom namespace blink -> payments (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | components/payments/android/payments_jni_registrar.cc » ('j') | 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) 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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | components/payments/android/payments_jni_registrar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698