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

Unified Diff: chrome/browser/ui/webui/local_state/local_state_ui.cc

Issue 2799143002: Improve profile stats performace. (Closed)
Patch Set: Use enum Created 3 years, 8 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/ui/webui/local_state/local_state_ui.cc
diff --git a/chrome/browser/ui/webui/local_state/local_state_ui.cc b/chrome/browser/ui/webui/local_state/local_state_ui.cc
index 0ebad3887c73bc9f7ef0024aa910c651e47cce05..1676ea7ab137f3f6244d6fa9c21a518e82e65b71 100644
--- a/chrome/browser/ui/webui/local_state/local_state_ui.cc
+++ b/chrome/browser/ui/webui/local_state/local_state_ui.cc
@@ -62,7 +62,8 @@ void LocalStateUIHandler::RegisterMessages() {
void LocalStateUIHandler::HandleRequestJson(const base::ListValue* args) {
std::unique_ptr<base::DictionaryValue> local_state_values(
- g_browser_process->local_state()->GetPreferenceValuesOmitDefaults());
+ g_browser_process->local_state()->GetPreferenceValues(
+ PrefService::EXCLUDE_DEFAULTS));
if (ENABLE_FILTERING) {
std::vector<std::string> whitelisted_prefixes = {
"variations", "user_experience_metrics", "uninstall_metrics"};
« no previous file with comments | « chrome/browser/profiles/profile_statistics_aggregator.cc ('k') | chrome/browser/ui/webui/prefs_internals_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698