| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index 31c8f70af1f6a8d203d2ef405b1615fb23ff6ace..ceb84ac2d3b875dd5b05f9b0a797f2f0a51e9d63 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -53,6 +53,7 @@
|
| #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h"
|
| #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_factory.h"
|
| #include "chrome/browser/notifications/platform_notification_service_impl.h"
|
| +#include "chrome/browser/password_manager/chrome_password_manager_client.h"
|
| #include "chrome/browser/permissions/permission_context_base.h"
|
| #include "chrome/browser/platform_util.h"
|
| #include "chrome/browser/prerender/prerender_final_status.h"
|
| @@ -2802,6 +2803,13 @@ void ChromeContentBrowserClient::RegisterRenderFrameMojoServices(
|
| registry->AddService(
|
| base::Bind(&CreateWebUsbChooserService, render_frame_host));
|
| }
|
| +
|
| + // Register mojo CredentialManager service only for main frame.
|
| + if (!render_frame_host->GetParent()) {
|
| + registry->AddService(
|
| + base::Bind(&ChromePasswordManagerClient::BindCredentialManager,
|
| + render_frame_host));
|
| + }
|
| }
|
|
|
| void ChromeContentBrowserClient::RegisterInProcessMojoApplications(
|
|
|