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

Unified Diff: chrome/browser/browsing_data/browsing_data_counter_utils.cc

Issue 1581173004: Added namespace browsing_data_counter_utils Base URL: https://chromium.googlesource.com/chromium/src.git@add-counters
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/browsing_data/browsing_data_counter_utils.cc
diff --git a/chrome/browser/browsing_data/browsing_data_counter_utils.cc b/chrome/browser/browsing_data/browsing_data_counter_utils.cc
index 58e191621112f76b605f6cd1c3e3403c65e977d3..537434a69b9aa661fed5ec061463d452b333e849 100644
--- a/chrome/browser/browsing_data/browsing_data_counter_utils.cc
+++ b/chrome/browser/browsing_data/browsing_data_counter_utils.cc
@@ -16,6 +16,8 @@
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/text/bytes_formatting.h"
+namespace browsing_data_counter_utils {
+
bool AreCountersEnabled() {
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableClearBrowsingDataCounters)) {
@@ -211,3 +213,5 @@ BrowsingDataCounter* CreateCounterForPreference(std::string pref_name) {
return nullptr;
}
+
+} // namespace browsing_data_counter_utils

Powered by Google App Engine
This is Rietveld 408576698