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

Issue 1910323002: Allow whitelisted prefs to be displayed in ChromeOS in chrome://local-state. (Closed)

Created:
4 years, 8 months ago by hamelphi
Modified:
4 years, 7 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow whitelisted prefs to be displayed in ChromeOS in chrome://local-state. BUG=506331 Committed: https://crrev.com/dff82fa93471550370c3ce574a8ae31e911f7759 Cr-Commit-Position: refs/heads/master@{#389871}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Patch Set 7 : #

Total comments: 12

Patch Set 8 : #

Total comments: 2

Patch Set 9 : #

Total comments: 13

Patch Set 10 : #

Total comments: 6

Patch Set 11 : #

Total comments: 2

Patch Set 12 : #

Patch Set 13 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -5 lines) Patch
M chrome/browser/ui/webui/local_state/local_state_ui.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/local_state/local_state_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +45 lines, -5 lines 0 comments Download
A chrome/browser/ui/webui/local_state/local_state_ui_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +37 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 41 (17 generated)
hamelphi
4 years, 8 months ago (2016-04-22 15:10:16 UTC) #2
Alexei Svitkine (slow)
Let's see what Bernhard says about the new API. We should also have some unit ...
4 years, 8 months ago (2016-04-22 15:15:37 UTC) #3
Bernhard Bauer
https://codereview.chromium.org/1910323002/diff/80001/chrome/browser/ui/webui/local_state/local_state_ui.cc File chrome/browser/ui/webui/local_state/local_state_ui.cc (right): https://codereview.chromium.org/1910323002/diff/80001/chrome/browser/ui/webui/local_state/local_state_ui.cc#newcode60 chrome/browser/ui/webui/local_state/local_state_ui.cc:60: ->GetWhitelistedPreferenceValuesOmitDefaults(whitelisted_prefixes)); Couldn't we just do the whitelisting here? We ...
4 years, 8 months ago (2016-04-22 18:24:38 UTC) #4
hamelphi
https://codereview.chromium.org/1910323002/diff/80001/chrome/browser/ui/webui/local_state/local_state_ui.cc File chrome/browser/ui/webui/local_state/local_state_ui.cc (right): https://codereview.chromium.org/1910323002/diff/80001/chrome/browser/ui/webui/local_state/local_state_ui.cc#newcode60 chrome/browser/ui/webui/local_state/local_state_ui.cc:60: ->GetWhitelistedPreferenceValuesOmitDefaults(whitelisted_prefixes)); On 2016/04/22 18:24:38, Bernhard Bauer wrote: > Couldn't ...
4 years, 8 months ago (2016-04-22 20:31:28 UTC) #5
Alexei Svitkine (slow)
Can you add a unit test? https://codereview.chromium.org/1910323002/diff/120001/chrome/browser/ui/webui/local_state/local_state_ui.cc File chrome/browser/ui/webui/local_state/local_state_ui.cc (right): https://codereview.chromium.org/1910323002/diff/120001/chrome/browser/ui/webui/local_state/local_state_ui.cc#newcode54 chrome/browser/ui/webui/local_state/local_state_ui.cc:54: bool HasValidPrefix(const std::string& ...
4 years, 8 months ago (2016-04-22 20:35:51 UTC) #6
Bernhard Bauer
https://codereview.chromium.org/1910323002/diff/120001/chrome/browser/ui/webui/local_state/local_state_ui.cc File chrome/browser/ui/webui/local_state/local_state_ui.cc (right): https://codereview.chromium.org/1910323002/diff/120001/chrome/browser/ui/webui/local_state/local_state_ui.cc#newcode73 chrome/browser/ui/webui/local_state/local_state_ui.cc:73: DCHECK(prefs->Remove(pref_to_remove, &removed_value)); In a Release build, this will be ...
4 years, 8 months ago (2016-04-25 09:16:28 UTC) #7
hamelphi
https://codereview.chromium.org/1910323002/diff/120001/chrome/browser/ui/webui/local_state/local_state_ui.cc File chrome/browser/ui/webui/local_state/local_state_ui.cc (right): https://codereview.chromium.org/1910323002/diff/120001/chrome/browser/ui/webui/local_state/local_state_ui.cc#newcode54 chrome/browser/ui/webui/local_state/local_state_ui.cc:54: bool HasValidPrefix(const std::string& pref_name, On 2016/04/22 20:35:51, Alexei Svitkine ...
4 years, 8 months ago (2016-04-25 15:58:01 UTC) #8
Bernhard Bauer
lgtm https://codereview.chromium.org/1910323002/diff/140001/chrome/browser/ui/webui/local_state/local_state_ui.cc File chrome/browser/ui/webui/local_state/local_state_ui.cc (right): https://codereview.chromium.org/1910323002/diff/140001/chrome/browser/ui/webui/local_state/local_state_ui.cc#newcode86 chrome/browser/ui/webui/local_state/local_state_ui.cc:86: #endif // !defined(OS_CHROMEOS) Remove the exclamation mark here ...
4 years, 7 months ago (2016-04-25 16:17:58 UTC) #9
Alexei Svitkine (slow)
https://codereview.chromium.org/1910323002/diff/120001/chrome/browser/ui/webui/local_state/local_state_ui.cc File chrome/browser/ui/webui/local_state/local_state_ui.cc (right): https://codereview.chromium.org/1910323002/diff/120001/chrome/browser/ui/webui/local_state/local_state_ui.cc#newcode54 chrome/browser/ui/webui/local_state/local_state_ui.cc:54: bool HasValidPrefix(const std::string& pref_name, On 2016/04/25 15:58:01, hamelphi wrote: ...
4 years, 7 months ago (2016-04-25 16:24:55 UTC) #10
hamelphi
https://codereview.chromium.org/1910323002/diff/120001/chrome/browser/ui/webui/local_state/local_state_ui.cc File chrome/browser/ui/webui/local_state/local_state_ui.cc (right): https://codereview.chromium.org/1910323002/diff/120001/chrome/browser/ui/webui/local_state/local_state_ui.cc#newcode54 chrome/browser/ui/webui/local_state/local_state_ui.cc:54: bool HasValidPrefix(const std::string& pref_name, On 2016/04/25 16:24:55, Alexei Svitkine ...
4 years, 7 months ago (2016-04-25 21:05:14 UTC) #11
Alexei Svitkine (slow)
Looks good, just small style things. https://codereview.chromium.org/1910323002/diff/160001/chrome/browser/ui/webui/local_state/local_state_ui.cc File chrome/browser/ui/webui/local_state/local_state_ui.cc (right): https://codereview.chromium.org/1910323002/diff/160001/chrome/browser/ui/webui/local_state/local_state_ui.cc#newcode20 chrome/browser/ui/webui/local_state/local_state_ui.cc:20: namespace internal { ...
4 years, 7 months ago (2016-04-25 21:30:13 UTC) #12
hamelphi
https://codereview.chromium.org/1910323002/diff/160001/chrome/browser/ui/webui/local_state/local_state_ui.cc File chrome/browser/ui/webui/local_state/local_state_ui.cc (right): https://codereview.chromium.org/1910323002/diff/160001/chrome/browser/ui/webui/local_state/local_state_ui.cc#newcode20 chrome/browser/ui/webui/local_state/local_state_ui.cc:20: namespace internal { On 2016/04/25 21:30:13, Alexei Svitkine wrote: ...
4 years, 7 months ago (2016-04-26 15:25:28 UTC) #13
Alexei Svitkine (slow)
Thanks! LGTM % remaining comments. https://codereview.chromium.org/1910323002/diff/160001/chrome/browser/ui/webui/local_state/local_state_ui.h File chrome/browser/ui/webui/local_state/local_state_ui.h (right): https://codereview.chromium.org/1910323002/diff/160001/chrome/browser/ui/webui/local_state/local_state_ui.h#newcode12 chrome/browser/ui/webui/local_state/local_state_ui.h:12: #include "base/values.h" On 2016/04/26 ...
4 years, 7 months ago (2016-04-26 15:33:35 UTC) #14
hamelphi1
https://codereview.chromium.org/1910323002/diff/180001/chrome/browser/ui/webui/local_state/local_state_ui.cc File chrome/browser/ui/webui/local_state/local_state_ui.cc (right): https://codereview.chromium.org/1910323002/diff/180001/chrome/browser/ui/webui/local_state/local_state_ui.cc#newcode23 chrome/browser/ui/webui/local_state/local_state_ui.cc:23: #if defined(OS_CHROMEOS) On 2016/04/26 15:33:35, Alexei Svitkine wrote: > ...
4 years, 7 months ago (2016-04-26 17:42:40 UTC) #16
hamelphi1
4 years, 7 months ago (2016-04-26 17:43:57 UTC) #17
hamelphi1
4 years, 7 months ago (2016-04-26 17:43:59 UTC) #18
Alexei Svitkine (slow)
Sorry, one last thing. Otherwise, all good - thanks! LGTM. https://codereview.chromium.org/1910323002/diff/200001/chrome/browser/ui/webui/local_state/local_state_ui.cc File chrome/browser/ui/webui/local_state/local_state_ui.cc (right): https://codereview.chromium.org/1910323002/diff/200001/chrome/browser/ui/webui/local_state/local_state_ui.cc#newcode84 ...
4 years, 7 months ago (2016-04-26 17:46:35 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1910323002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1910323002/200001
4 years, 7 months ago (2016-04-26 17:46:46 UTC) #27
hamelphi
https://codereview.chromium.org/1910323002/diff/200001/chrome/browser/ui/webui/local_state/local_state_ui.cc File chrome/browser/ui/webui/local_state/local_state_ui.cc (right): https://codereview.chromium.org/1910323002/diff/200001/chrome/browser/ui/webui/local_state/local_state_ui.cc#newcode84 chrome/browser/ui/webui/local_state/local_state_ui.cc:84: if (pref_name.compare(0, prefix.size(), prefix) == 0) On 2016/04/26 17:46:35, ...
4 years, 7 months ago (2016-04-26 18:14:54 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1910323002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1910323002/220001
4 years, 7 months ago (2016-04-26 18:15:55 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_rel/builds/57034) linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, ...
4 years, 7 months ago (2016-04-26 18:32:57 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1910323002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1910323002/240001
4 years, 7 months ago (2016-04-26 19:08:05 UTC) #37
commit-bot: I haz the power
Committed patchset #13 (id:240001)
4 years, 7 months ago (2016-04-26 20:21:36 UTC) #39
commit-bot: I haz the power
4 years, 7 months ago (2016-04-26 20:22:55 UTC) #41
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/dff82fa93471550370c3ce574a8ae31e911f7759
Cr-Commit-Position: refs/heads/master@{#389871}

Powered by Google App Engine
This is Rietveld 408576698