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

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

Issue 1582353006: CountryNames: Separate data creation from usage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@571610_exposeCountryNamesToTesting
Patch Set: More Android fixes Created 4 years, 11 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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 return false; 382 return false;
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 const std::string& ChromeAutofillClient::GetApplicationLocale() {
393 return g_browser_process->GetApplicationLocale();
394 }
395
392 } // namespace autofill 396 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698