Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 "chrome/browser/browsing_data/browsing_data_counter.h" | |
| 9 | |
| 10 namespace browsing_data { | |
|
Bernhard Bauer
2015/12/16 13:35:32
I think the general guideline now is against using
msramek
2016/01/05 16:22:50
I removed the namespace; it's true that other file
| |
| 11 | |
| 12 // Whether the browsing data counters experiment is enabled. | |
| 13 bool AreCountersEnabled(); | |
| 14 | |
| 15 // Constructs the text to be displayed by a counter from the given |result|. | |
| 16 base::string16 GetCounterTextFromResult( | |
|
Bernhard Bauer
2015/12/16 13:35:32
#include "base/string16.h"
msramek
2016/01/05 16:22:50
Done.
| |
| 17 const BrowsingDataCounter::Result* result); | |
| 18 | |
| 19 // Creates a new instance of BrowsingDataCounter that is counting the data | |
| 20 // related to a given deletion preference |pref_name|. | |
| 21 BrowsingDataCounter* CreateCounterForPreference(std::string pref_name); | |
| 22 | |
| 23 } // namespace browsing_data | |
| 24 | |
| 25 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_COUNTER_UTILS_H_ | |
| OLD | NEW |