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

Side by Side Diff: chrome/browser/ui/autofill/chrome_autofill_client.cc

Issue 1780443002: Cleanup: roll AutofillCCInfoBarDelegate into AutofillSaveCardInfoBarDelegateMobile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pay_mac_bubble_default
Patch Set: Make overriden methods public. Created 4 years, 9 months 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
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_save_card_infobar_delegate_mobile_unittest.cc ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698