| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/ui/autofill/chrome_autofill_client.h" | 5 #include "chrome/browser/ui/autofill/chrome_autofill_client.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 #include "chrome/browser/ui/browser.h" | 27 #include "chrome/browser/ui/browser.h" |
| 28 #include "chrome/browser/ui/browser_finder.h" | 28 #include "chrome/browser/ui/browser_finder.h" |
| 29 #include "chrome/browser/ui/browser_window.h" | 29 #include "chrome/browser/ui/browser_window.h" |
| 30 #include "chrome/browser/ui/chrome_pages.h" | 30 #include "chrome/browser/ui/chrome_pages.h" |
| 31 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" | 31 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" |
| 32 #include "chrome/browser/web_data_service_factory.h" | 32 #include "chrome/browser/web_data_service_factory.h" |
| 33 #include "chrome/common/features.h" | 33 #include "chrome/common/features.h" |
| 34 #include "chrome/common/url_constants.h" | 34 #include "chrome/common/url_constants.h" |
| 35 #include "components/autofill/content/browser/content_autofill_driver.h" | 35 #include "components/autofill/content/browser/content_autofill_driver.h" |
| 36 #include "components/autofill/content/common/autofill_messages.h" | 36 #include "components/autofill/content/common/autofill_messages.h" |
| 37 #include "components/autofill/core/browser/autofill_cc_infobar_delegate.h" | |
| 38 #include "components/autofill/core/browser/ui/card_unmask_prompt_view.h" | 37 #include "components/autofill/core/browser/ui/card_unmask_prompt_view.h" |
| 39 #include "components/autofill/core/common/autofill_pref_names.h" | 38 #include "components/autofill/core/common/autofill_pref_names.h" |
| 40 #include "components/autofill/core/common/autofill_switches.h" | 39 #include "components/autofill/core/common/autofill_switches.h" |
| 41 #include "components/browser_sync/browser/profile_sync_service.h" | 40 #include "components/browser_sync/browser/profile_sync_service.h" |
| 42 #include "components/password_manager/content/browser/content_password_manager_d
river.h" | 41 #include "components/password_manager/content/browser/content_password_manager_d
river.h" |
| 43 #include "components/prefs/pref_service.h" | 42 #include "components/prefs/pref_service.h" |
| 44 #include "components/signin/core/browser/profile_identity_provider.h" | 43 #include "components/signin/core/browser/profile_identity_provider.h" |
| 45 #include "components/user_prefs/user_prefs.h" | 44 #include "components/user_prefs/user_prefs.h" |
| 46 #include "content/public/browser/navigation_entry.h" | 45 #include "content/public/browser/navigation_entry.h" |
| 47 #include "content/public/browser/render_frame_host.h" | 46 #include "content/public/browser/render_frame_host.h" |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 | 361 |
| 363 ssl_status = navigation_entry->GetSSL(); | 362 ssl_status = navigation_entry->GetSSL(); |
| 364 // Note: If changing the implementation below, also change | 363 // Note: If changing the implementation below, also change |
| 365 // AwAutofillClient::IsContextSecure. See crbug.com/505388 | 364 // AwAutofillClient::IsContextSecure. See crbug.com/505388 |
| 366 return ssl_status.security_style == content::SECURITY_STYLE_AUTHENTICATED && | 365 return ssl_status.security_style == content::SECURITY_STYLE_AUTHENTICATED && |
| 367 !(ssl_status.content_status & | 366 !(ssl_status.content_status & |
| 368 content::SSLStatus::RAN_INSECURE_CONTENT); | 367 content::SSLStatus::RAN_INSECURE_CONTENT); |
| 369 } | 368 } |
| 370 | 369 |
| 371 } // namespace autofill | 370 } // namespace autofill |
| OLD | NEW |