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

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

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/prefs/pref_service.h"
13 #include "build/build_config.h" 12 #include "build/build_config.h"
14 #include "chrome/browser/autofill/personal_data_manager_factory.h" 13 #include "chrome/browser/autofill/personal_data_manager_factory.h"
15 #include "chrome/browser/autofill/risk_util.h" 14 #include "chrome/browser/autofill/risk_util.h"
16 #include "chrome/browser/browser_process.h" 15 #include "chrome/browser/browser_process.h"
17 #include "chrome/browser/infobars/infobar_service.h" 16 #include "chrome/browser/infobars/infobar_service.h"
18 #include "chrome/browser/password_manager/chrome_password_manager_client.h" 17 #include "chrome/browser/password_manager/chrome_password_manager_client.h"
19 #include "chrome/browser/profiles/profile.h" 18 #include "chrome/browser/profiles/profile.h"
20 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" 19 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
21 #include "chrome/browser/signin/signin_manager_factory.h" 20 #include "chrome/browser/signin/signin_manager_factory.h"
22 #include "chrome/browser/sync/profile_sync_service_factory.h" 21 #include "chrome/browser/sync/profile_sync_service_factory.h"
(...skipping 11 matching lines...) Expand all
34 #include "chrome/common/features.h" 33 #include "chrome/common/features.h"
35 #include "chrome/common/url_constants.h" 34 #include "chrome/common/url_constants.h"
36 #include "components/autofill/content/browser/content_autofill_driver.h" 35 #include "components/autofill/content/browser/content_autofill_driver.h"
37 #include "components/autofill/content/common/autofill_messages.h" 36 #include "components/autofill/content/common/autofill_messages.h"
38 #include "components/autofill/core/browser/autofill_cc_infobar_delegate.h" 37 #include "components/autofill/core/browser/autofill_cc_infobar_delegate.h"
39 #include "components/autofill/core/browser/ui/card_unmask_prompt_view.h" 38 #include "components/autofill/core/browser/ui/card_unmask_prompt_view.h"
40 #include "components/autofill/core/common/autofill_pref_names.h" 39 #include "components/autofill/core/common/autofill_pref_names.h"
41 #include "components/autofill/core/common/autofill_switches.h" 40 #include "components/autofill/core/common/autofill_switches.h"
42 #include "components/browser_sync/browser/profile_sync_service.h" 41 #include "components/browser_sync/browser/profile_sync_service.h"
43 #include "components/password_manager/content/browser/content_password_manager_d river.h" 42 #include "components/password_manager/content/browser/content_password_manager_d river.h"
43 #include "components/prefs/pref_service.h"
44 #include "components/signin/core/browser/profile_identity_provider.h" 44 #include "components/signin/core/browser/profile_identity_provider.h"
45 #include "components/user_prefs/user_prefs.h" 45 #include "components/user_prefs/user_prefs.h"
46 #include "content/public/browser/navigation_entry.h" 46 #include "content/public/browser/navigation_entry.h"
47 #include "content/public/browser/render_frame_host.h" 47 #include "content/public/browser/render_frame_host.h"
48 #include "ui/gfx/geometry/rect.h" 48 #include "ui/gfx/geometry/rect.h"
49 49
50 #if BUILDFLAG(ANDROID_JAVA_UI) 50 #if BUILDFLAG(ANDROID_JAVA_UI)
51 #include "chrome/browser/android/chrome_application.h" 51 #include "chrome/browser/android/chrome_application.h"
52 #include "chrome/browser/ui/android/autofill/autofill_logger_android.h" 52 #include "chrome/browser/ui/android/autofill/autofill_logger_android.h"
53 #else 53 #else
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 383
384 ssl_status = navigation_entry->GetSSL(); 384 ssl_status = navigation_entry->GetSSL();
385 // Note: If changing the implementation below, also change 385 // Note: If changing the implementation below, also change
386 // AwAutofillClient::IsContextSecure. See crbug.com/505388 386 // AwAutofillClient::IsContextSecure. See crbug.com/505388
387 return ssl_status.security_style == 387 return ssl_status.security_style ==
388 content::SECURITY_STYLE_AUTHENTICATED && 388 content::SECURITY_STYLE_AUTHENTICATED &&
389 ssl_status.content_status == content::SSLStatus::NORMAL_CONTENT; 389 ssl_status.content_status == content::SSLStatus::NORMAL_CONTENT;
390 } 390 }
391 391
392 } // namespace autofill 392 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698