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

Side by Side Diff: chrome/browser/browsing_data/browsing_data_counter_utils.h

Issue 1527653004: Move browsing data counters helper functions to an 'utils' file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase, solved conflict in #includes 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
« no previous file with comments | « no previous file | chrome/browser/browsing_data/browsing_data_counter_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_COUNTER_UTILS_H_
6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_COUNTER_UTILS_H_
7
8 #include "base/strings/string16.h"
9 #include "chrome/browser/browsing_data/browsing_data_counter.h"
10
11 // Whether the browsing data counters experiment is enabled.
12 bool AreCountersEnabled();
13
14 // Constructs the text to be displayed by a counter from the given |result|.
15 base::string16 GetCounterTextFromResult(
16 const BrowsingDataCounter::Result* result);
17
18 // Creates a new instance of BrowsingDataCounter that is counting the data
19 // related to a given deletion preference |pref_name|.
20 BrowsingDataCounter* CreateCounterForPreference(std::string pref_name);
21
22 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_COUNTER_UTILS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browsing_data/browsing_data_counter_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698