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

Unified Diff: chrome/browser/android/browsing_data/browsing_data_counter_bridge.cc

Issue 2230243002: Move remaining clear browsing data util method to components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_rest_of_counter_utils
Patch Set: Fixed formatting Created 4 years, 4 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/android/browsing_data/browsing_data_counter_bridge.cc
diff --git a/chrome/browser/android/browsing_data/browsing_data_counter_bridge.cc b/chrome/browser/android/browsing_data/browsing_data_counter_bridge.cc
index 67ffe5d52b85a899785c87af2f8cff0f324f54cc..b8c80b148d43821829aee63d61cba63ff5a7e7d1 100644
--- a/chrome/browser/android/browsing_data/browsing_data_counter_bridge.cc
+++ b/chrome/browser/android/browsing_data/browsing_data_counter_bridge.cc
@@ -6,7 +6,6 @@
#include "base/android/jni_string.h"
#include "chrome/browser/browsing_data/browsing_data_counter_factory.h"
-#include "chrome/browser/browsing_data/browsing_data_counter_utils.h"
msramek 2016/08/11 09:12:45 As discussed offline: This #include will have to s
ioanap 2016/08/11 11:19:58 Thank you for catching this!
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/common/pref_names.h"
@@ -23,7 +22,7 @@ BrowsingDataCounterBridge::BrowsingDataCounterBridge(
DCHECK_LT(data_type, browsing_data::NUM_TYPES);
std::string pref;
- if (!GetDeletionPreferenceFromDataType(
+ if (!browsing_data::GetDeletionPreferenceFromDataType(
static_cast<browsing_data::BrowsingDataType>(data_type), &pref)) {
return;
}

Powered by Google App Engine
This is Rietveld 408576698