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

Issue 9251026: Reinitialize LocalState's CommandLinePrefStore after about_flags updates the command line. (Closed)

Created:
8 years, 11 months ago by Lei Zhang
Modified:
8 years, 11 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Reinitialize LocalState's CommandLinePrefStore after about_flags updates the command line. Otherwise flags set in about:flags are ignored by the LocalState. BUG=none TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=118926

Patch Set 1 : '' #

Total comments: 5

Patch Set 2 : '' #

Total comments: 10

Patch Set 3 : '' #

Patch Set 4 : fix presubmit checks, no code change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -33 lines) Patch
M chrome/browser/chrome_browser_main.cc View 1 2 3 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/prefs/overlay_user_pref_store.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/prefs/overlay_user_pref_store.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/prefs/pref_service.h View 1 2 3 5 chunks +11 lines, -2 lines 0 comments Download
M chrome/browser/prefs/pref_service.cc View 1 2 3 8 chunks +27 lines, -16 lines 0 comments Download
M chrome/browser/prefs/pref_service_unittest.cc View 1 2 3 3 chunks +32 lines, -2 lines 0 comments Download
M chrome/browser/prefs/pref_value_store.h View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/prefs/pref_value_store.cc View 1 2 3 3 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/prefs/testing_pref_store.h View 1 2 3 3 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/prefs/testing_pref_store.cc View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/prefs/value_map_pref_store.h View 1 2 3 3 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/prefs/value_map_pref_store.cc View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M chrome/common/json_pref_store.h View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/common/json_pref_store.cc View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M chrome/common/pref_store.h View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/common/pref_store.cc View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
Lei Zhang
It looks like switches set in about:flags that manipulate pref values in the Local State ...
8 years, 11 months ago (2012-01-19 00:23:26 UTC) #1
Nico
This looks much better than I thought it would. Since you don't have a BUG=, ...
8 years, 11 months ago (2012-01-19 00:39:18 UTC) #2
Lei Zhang
https://chromiumcodereview.appspot.com/9251026/diff/8/chrome/browser/prefs/pref_service_unittest.cc File chrome/browser/prefs/pref_service_unittest.cc (right): https://chromiumcodereview.appspot.com/9251026/diff/8/chrome/browser/prefs/pref_service_unittest.cc#newcode156 chrome/browser/prefs/pref_service_unittest.cc:156: const CommandLine::CharType* argv[] = { FILE_PATH_LITERAL("program") }; On 2012/01/19 ...
8 years, 11 months ago (2012-01-19 01:10:29 UTC) #3
battre
The PrefValueStore was designed to be immutable. I think the approach is reasonable, but could ...
8 years, 11 months ago (2012-01-19 09:52:20 UTC) #4
Lei Zhang
https://chromiumcodereview.appspot.com/9251026/diff/5003/chrome/browser/prefs/pref_service.cc File chrome/browser/prefs/pref_service.cc (right): https://chromiumcodereview.appspot.com/9251026/diff/5003/chrome/browser/prefs/pref_service.cc#newcode182 chrome/browser/prefs/pref_service.cc:182: PrefStore* incognito_extension_prefs) { On 2012/01/19 09:52:21, battre wrote: > ...
8 years, 11 months ago (2012-01-19 20:33:59 UTC) #5
Lei Zhang
ping
8 years, 11 months ago (2012-01-23 20:40:41 UTC) #6
battre
Sorry, forgot about the CL. LGTM
8 years, 11 months ago (2012-01-23 20:44:54 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/9251026/8001
8 years, 11 months ago (2012-01-23 20:56:17 UTC) #8
commit-bot: I haz the power
Presubmit check for 9251026-8001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 11 months ago (2012-01-23 20:56:37 UTC) #9
Lei Zhang
+joaodasilva for chrome/browser/policy OWNERS
8 years, 11 months ago (2012-01-23 21:04:04 UTC) #10
Joao da Silva
policy LGTM
8 years, 11 months ago (2012-01-24 10:39:45 UTC) #11
commit-bot: I haz the power
8 years, 11 months ago (2012-01-24 19:56:12 UTC) #12

Powered by Google App Engine
This is Rietveld 408576698