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

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

Issue 514493002: Cleanup: Remove unneeded grit include in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@grit_clean_chromium_strings_401588_a
Patch Set: rebase Created 6 years, 3 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 "chrome/browser/ui/autofill/account_chooser_model.h" 5 #include "chrome/browser/ui/autofill/account_chooser_model.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/prefs/pref_service.h" 8 #include "base/prefs/pref_service.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/common/pref_names.h" 14 #include "chrome/common/pref_names.h"
15 #include "chrome/grit/generated_resources.h" 15 #include "chrome/grit/generated_resources.h"
16 #include "components/autofill/core/browser/autofill_metrics.h" 16 #include "components/autofill/core/browser/autofill_metrics.h"
17 #include "grit/theme_resources.h"
18 #include "ui/base/l10n/l10n_util.h" 17 #include "ui/base/l10n/l10n_util.h"
19 18
20 namespace autofill { 19 namespace autofill {
21 20
22 const int AccountChooserModel::kWalletAddAccountId = 0; 21 const int AccountChooserModel::kWalletAddAccountId = 0;
23 const int AccountChooserModel::kAutofillItemId = 1; 22 const int AccountChooserModel::kAutofillItemId = 1;
24 const int AccountChooserModel::kWalletAccountsStartId = 2; 23 const int AccountChooserModel::kWalletAccountsStartId = 2;
25 24
26 AccountChooserModelDelegate::~AccountChooserModelDelegate() {} 25 AccountChooserModelDelegate::~AccountChooserModelDelegate() {}
27 26
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 delegate_->AddAccount(); 179 delegate_->AddAccount();
181 return; 180 return;
182 } 181 }
183 182
184 checked_item_ = command_id; 183 checked_item_ = command_id;
185 ReconstructMenuItems(); 184 ReconstructMenuItems();
186 delegate_->AccountChoiceChanged(); 185 delegate_->AccountChoiceChanged();
187 } 186 }
188 187
189 } // namespace autofill 188 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698