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

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

Issue 2730703003: Change CBD layout and texts (Closed)
Patch Set: try fix tests 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 2015 The Chromium Authors. All rights reserved. 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 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 #ifndef CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_COUNTER_UTILS_H_ 5 #ifndef CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_COUNTER_UTILS_H_
6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_COUNTER_UTILS_H_ 6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_COUNTER_UTILS_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "components/browsing_data/core/browsing_data_utils.h" 9 #include "components/browsing_data/core/browsing_data_utils.h"
10 #include "components/browsing_data/core/counters/browsing_data_counter.h" 10 #include "components/browsing_data/core/counters/browsing_data_counter.h"
11 11
12 // Whether the browsing data counters experiment is enabled. 12 // Whether the browsing data counters experiment is enabled.
13 bool AreCountersEnabled(); 13 bool AreCountersEnabled();
14 14
15 // Whether the site data counter is enabled. 15 // Whether the site data counter is enabled.
16 bool IsSiteDataCounterEnabled(); 16 bool IsSiteDataCounterEnabled();
17 17
18 // Constructs the text to be displayed by a counter from the given |result|. 18 // Constructs the text to be displayed by a counter from the given |result|.
msramek 2017/03/15 10:23:35 Please comment on the new parameter.
19 base::string16 GetChromeCounterTextFromResult( 19 base::string16 GetChromeCounterTextFromResult(
20 const browsing_data::BrowsingDataCounter::Result* result); 20 const browsing_data::BrowsingDataCounter::Result* result,
21 browsing_data::ClearBrowsingDataTab cbd_tab);
21 22
22 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_COUNTER_UTILS_H_ 23 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_COUNTER_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698