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

Side by Side Diff: chrome/browser/profiles/profile_statistics_common.cc

Issue 2915053002: Replace profile statistics preference count with AutofillCounter (Closed)
Patch Set: cleanup Created 3 years, 6 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 "chrome/browser/profiles/profile_statistics_common.h" 5 #include "chrome/browser/profiles/profile_statistics_common.h"
6 6
7 namespace profiles { 7 namespace profiles {
8 const char kProfileStatisticsBrowsingHistory[] = "BrowsingHistory"; 8 const char kProfileStatisticsBrowsingHistory[] = "BrowsingHistory";
9 const char kProfileStatisticsPasswords[] = "Passwords"; 9 const char kProfileStatisticsPasswords[] = "Passwords";
10 const char kProfileStatisticsBookmarks[] = "Bookmarks"; 10 const char kProfileStatisticsBookmarks[] = "Bookmarks";
11 const char kProfileStatisticsSettings[] = "Settings"; 11 const char kProfileStatisticsAutofill[] = "Autofill";
msarda 2017/06/05 11:46:02 It was not clear to me from the CL description or
12 12
13 const std::array<const char*, 4> kProfileStatisticsCategories = { 13 const std::array<const char*, 4> kProfileStatisticsCategories = {
14 {kProfileStatisticsBrowsingHistory, kProfileStatisticsPasswords, 14 {kProfileStatisticsBrowsingHistory, kProfileStatisticsPasswords,
15 kProfileStatisticsBookmarks, kProfileStatisticsSettings}}; 15 kProfileStatisticsBookmarks, kProfileStatisticsAutofill}};
16 16
17 } // namespace profiles 17 } // namespace profiles
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_statistics_common.h ('k') | chrome/browser/profiles/profile_statistics_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698