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

Side by Side Diff: components/password_manager/core/browser/password_autofill_manager.cc

Issue 2712513004: Use a qualified path for grit-generated headers in components/ (Closed)
Patch Set: more checkdeps Created 3 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "components/password_manager/core/browser/password_autofill_manager.h" 5 #include "components/password_manager/core/browser/password_autofill_manager.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <vector> 10 #include <vector>
(...skipping 11 matching lines...) Expand all
22 #include "components/autofill/core/browser/popup_item_ids.h" 22 #include "components/autofill/core/browser/popup_item_ids.h"
23 #include "components/autofill/core/browser/suggestion.h" 23 #include "components/autofill/core/browser/suggestion.h"
24 #include "components/autofill/core/common/autofill_constants.h" 24 #include "components/autofill/core/common/autofill_constants.h"
25 #include "components/autofill/core/common/autofill_data_validation.h" 25 #include "components/autofill/core/common/autofill_data_validation.h"
26 #include "components/autofill/core/common/autofill_util.h" 26 #include "components/autofill/core/common/autofill_util.h"
27 #include "components/password_manager/core/browser/affiliation_utils.h" 27 #include "components/password_manager/core/browser/affiliation_utils.h"
28 #include "components/password_manager/core/browser/password_manager_driver.h" 28 #include "components/password_manager/core/browser/password_manager_driver.h"
29 #include "components/password_manager/core/browser/password_manager_metrics_util .h" 29 #include "components/password_manager/core/browser/password_manager_metrics_util .h"
30 #include "components/security_state/core/security_state.h" 30 #include "components/security_state/core/security_state.h"
31 #include "components/strings/grit/components_strings.h" 31 #include "components/strings/grit/components_strings.h"
32 #include "grit/components_strings.h"
33 #include "ui/base/l10n/l10n_util.h" 32 #include "ui/base/l10n/l10n_util.h"
34 33
35 namespace password_manager { 34 namespace password_manager {
36 35
37 namespace { 36 namespace {
38 37
39 // Returns |username| unless it is empty. For an empty |username| returns a 38 // Returns |username| unless it is empty. For an empty |username| returns a
40 // localised string saying this username is empty. Use this for displaying the 39 // localised string saying this username is empty. Use this for displaying the
41 // usernames to the user. 40 // usernames to the user.
42 base::string16 ReplaceEmptyUsername(const base::string16& username) { 41 base::string16 ReplaceEmptyUsername(const base::string16& username) {
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 autofill::PasswordFormFillData* found_password) { 392 autofill::PasswordFormFillData* found_password) {
394 LoginToPasswordInfoMap::iterator iter = login_to_password_info_.find(key); 393 LoginToPasswordInfoMap::iterator iter = login_to_password_info_.find(key);
395 if (iter == login_to_password_info_.end()) 394 if (iter == login_to_password_info_.end())
396 return false; 395 return false;
397 396
398 *found_password = iter->second; 397 *found_password = iter->second;
399 return true; 398 return true;
400 } 399 }
401 400
402 } // namespace password_manager 401 } // namespace password_manager
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698