| Index: chrome/browser/password_manager/chrome_password_manager_client.cc
|
| diff --git a/chrome/browser/password_manager/chrome_password_manager_client.cc b/chrome/browser/password_manager/chrome_password_manager_client.cc
|
| index 51c51b2d058bf9beafd748a263c40839d56de5fe..62bd164680d795bea9e57ea43cb983781c968add 100644
|
| --- a/chrome/browser/password_manager/chrome_password_manager_client.cc
|
| +++ b/chrome/browser/password_manager/chrome_password_manager_client.cc
|
| @@ -56,6 +56,7 @@
|
| #include "content/public/browser/render_view_host.h"
|
| #include "content/public/browser/ssl_status.h"
|
| #include "content/public/browser/web_contents.h"
|
| +#include "content/public/common/origin_util.h"
|
| #include "extensions/features/features.h"
|
| #include "google_apis/gaia/gaia_urls.h"
|
| #include "net/base/url_util.h"
|
| @@ -570,6 +571,10 @@ const GURL& ChromePasswordManagerClient::GetMainFrameURL() const {
|
| return web_contents()->GetVisibleURL();
|
| }
|
|
|
| +bool ChromePasswordManagerClient::IsMainFrameSecure() const {
|
| + return content::IsOriginSecure(web_contents()->GetVisibleURL());
|
| +}
|
| +
|
| const GURL& ChromePasswordManagerClient::GetLastCommittedEntryURL() const {
|
| DCHECK(web_contents());
|
| content::NavigationEntry* entry =
|
|
|