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

Issue 22812002: Refactored ConfigurationPolicyPrefStore to not depend on chrome/. (Closed)

Created:
7 years, 4 months ago by Joao da Silva
Modified:
7 years, 4 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Refactored ConfigurationPolicyPrefStore to not depend on chrome/. Some of the chrome/browser/policy code will be moved to a new layered component. This change prepares the ConfigurationPolicyPrefStore class for the move, by removing its dependency on g_browser_process and BrowserThread. BUG=271392 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217084

Patch Set 1 #

Total comments: 13

Patch Set 2 : rebased, fixed #includes, removed DEPS exception #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -59 lines) Patch
M chrome/browser/policy/DEPS View 1 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store.h View 1 4 chunks +13 lines, -13 lines 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store.cc View 1 4 chunks +8 lines, -30 lines 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store_unittest.cc View 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/prefs/chrome_pref_service_factory.cc View 1 3 chunks +15 lines, -7 lines 0 comments Download
M chrome/browser/prefs/pref_service_syncable_builder.cc View 1 2 chunks +14 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Joao da Silva
PTAL
7 years, 4 months ago (2013-08-12 10:04:13 UTC) #1
Joao da Silva
+Mattias for chrome/browser/prefs review
7 years, 4 months ago (2013-08-12 13:14:29 UTC) #2
bartfab (slow)
lgtm https://codereview.chromium.org/22812002/diff/1/chrome/browser/policy/configuration_policy_pref_store.cc File chrome/browser/policy/configuration_policy_pref_store.cc (right): https://codereview.chromium.org/22812002/diff/1/chrome/browser/policy/configuration_policy_pref_store.cc#newcode126 chrome/browser/policy/configuration_policy_pref_store.cc:126: base::MessageLoop::current()->PostTask( Nit: Retain the comment explaining why a ...
7 years, 4 months ago (2013-08-12 13:27:53 UTC) #3
Mattias Nissler (ping if slow)
https://codereview.chromium.org/22812002/diff/1/chrome/browser/policy/configuration_policy_pref_store.h File chrome/browser/policy/configuration_policy_pref_store.h (right): https://codereview.chromium.org/22812002/diff/1/chrome/browser/policy/configuration_policy_pref_store.h#newcode32 chrome/browser/policy/configuration_policy_pref_store.h:32: // the store.. Only policies of the given |level| ...
7 years, 4 months ago (2013-08-12 13:38:28 UTC) #4
Joao da Silva
I'll come back to this CL after adding a DEPS file. https://codereview.chromium.org/22812002/diff/1/chrome/browser/policy/configuration_policy_pref_store_unittest.cc File chrome/browser/policy/configuration_policy_pref_store_unittest.cc (right): ...
7 years, 4 months ago (2013-08-12 13:41:48 UTC) #5
Mattias Nissler (ping if slow)
https://codereview.chromium.org/22812002/diff/1/chrome/browser/policy/configuration_policy_pref_store_unittest.cc File chrome/browser/policy/configuration_policy_pref_store_unittest.cc (right): https://codereview.chromium.org/22812002/diff/1/chrome/browser/policy/configuration_policy_pref_store_unittest.cc#newcode59 chrome/browser/policy/configuration_policy_pref_store_unittest.cc:59: &handler_list_, On 2013/08/12 13:41:48, Joao da Silva wrote: > ...
7 years, 4 months ago (2013-08-12 15:14:43 UTC) #6
Joao da Silva
Ready for another look. Mattias, need a stamp :-) https://codereview.chromium.org/22812002/diff/1/chrome/browser/policy/configuration_policy_pref_store.cc File chrome/browser/policy/configuration_policy_pref_store.cc (right): https://codereview.chromium.org/22812002/diff/1/chrome/browser/policy/configuration_policy_pref_store.cc#newcode126 chrome/browser/policy/configuration_policy_pref_store.cc:126: ...
7 years, 4 months ago (2013-08-12 15:41:55 UTC) #7
Mattias Nissler (ping if slow)
LGTM. You need a rebase.
7 years, 4 months ago (2013-08-12 16:06:14 UTC) #8
Mattias Nissler (ping if slow)
On 2013/08/12 16:06:14, Mattias Nissler wrote: > LGTM. You need a rebase. Or maybe you ...
7 years, 4 months ago (2013-08-12 16:06:32 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaodasilva@chromium.org/22812002/9001
7 years, 4 months ago (2013-08-12 17:59:19 UTC) #10
commit-bot: I haz the power
7 years, 4 months ago (2013-08-12 21:38:57 UTC) #11
Message was sent while issue was closed.
Change committed as 217084

Powered by Google App Engine
This is Rietveld 408576698