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

Side by Side Diff: components/autofill/core/browser/autofill_save_card_infobar_delegate_mobile.cc

Issue 2712513004: Use a qualified path for grit-generated headers in components/ (Closed)
Patch Set: more checkdeps Created 3 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/autofill/core/browser/autofill_save_card_infobar_delegate_m obile.h" 5 #include "components/autofill/core/browser/autofill_save_card_infobar_delegate_m obile.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "components/autofill/core/browser/credit_card.h" 11 #include "components/autofill/core/browser/credit_card.h"
12 #include "components/autofill/core/browser/legal_message_line.h" 12 #include "components/autofill/core/browser/legal_message_line.h"
13 #include "components/autofill/core/common/autofill_constants.h" 13 #include "components/autofill/core/common/autofill_constants.h"
14 #include "components/grit/components_scaled_resources.h"
14 #include "components/infobars/core/infobar.h" 15 #include "components/infobars/core/infobar.h"
15 #include "components/infobars/core/infobar_manager.h" 16 #include "components/infobars/core/infobar_manager.h"
16 #include "grit/components_scaled_resources.h" 17 #include "components/strings/grit/components_strings.h"
17 #include "grit/components_strings.h"
18 #include "ui/base/l10n/l10n_util.h" 18 #include "ui/base/l10n/l10n_util.h"
19 #include "ui/base/window_open_disposition.h" 19 #include "ui/base/window_open_disposition.h"
20 #include "ui/gfx/vector_icons_public.h" 20 #include "ui/gfx/vector_icons_public.h"
21 #include "url/gurl.h" 21 #include "url/gurl.h"
22 22
23 namespace autofill { 23 namespace autofill {
24 24
25 AutofillSaveCardInfoBarDelegateMobile::AutofillSaveCardInfoBarDelegateMobile( 25 AutofillSaveCardInfoBarDelegateMobile::AutofillSaveCardInfoBarDelegateMobile(
26 bool upload, 26 bool upload,
27 const CreditCard& card, 27 const CreditCard& card,
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 void AutofillSaveCardInfoBarDelegateMobile::LogUserAction( 120 void AutofillSaveCardInfoBarDelegateMobile::LogUserAction(
121 AutofillMetrics::InfoBarMetric user_action) { 121 AutofillMetrics::InfoBarMetric user_action) {
122 DCHECK(!had_user_interaction_); 122 DCHECK(!had_user_interaction_);
123 123
124 AutofillMetrics::LogCreditCardInfoBarMetric(user_action, upload_); 124 AutofillMetrics::LogCreditCardInfoBarMetric(user_action, upload_);
125 had_user_interaction_ = true; 125 had_user_interaction_ = true;
126 } 126 }
127 127
128 } // namespace autofill 128 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698