Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Issue 27166002: Move DefaultSearchPolicyHandler to live in search_engines. (Closed)

Created:
7 years, 2 months ago by dconnelly
Modified:
7 years, 2 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Move DefaultSearchPolicyHandler to live in search_engines. This facilitates the refactoring of the policy code into a layered component. BUG=271392 [email protected], [email protected] Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=229124

Patch Set 1 #

Patch Set 2 : fix diffbase #

Patch Set 3 : remove DEPS exceptions #

Total comments: 9

Patch Set 4 : remove auxiliary enums; move unit test #

Patch Set 5 : fix diffbase #

Patch Set 6 : clean up includes #

Total comments: 24

Patch Set 7 : review cleanups #

Total comments: 2

Patch Set 8 : forward declaration #

Patch Set 9 : copy-paste error caught by unit tests #

Patch Set 10 : rebase #

Patch Set 11 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+768 lines, -798 lines) Patch
M chrome/browser/policy/DEPS View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler.h View 1 chunk +0 lines, -100 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler.cc View 3 chunks +0 lines, -261 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler_list.h View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler_list.cc View 1 2 3 3 chunks +2 lines, -60 lines 0 comments Download
D chrome/browser/policy/configuration_policy_handler_list_unittest.cc View 1 chunk +0 lines, -54 lines 0 comments Download
A chrome/browser/policy/configuration_policy_pref_store_unittest.h View 1 2 3 4 5 6 7 1 chunk +40 lines, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store_unittest.cc View 1 2 3 4 5 6 7 4 chunks +22 lines, -313 lines 0 comments Download
M chrome/browser/search_engines/OWNERS View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
A chrome/browser/search_engines/default_search_policy_handler.h View 1 2 3 4 5 6 1 chunk +79 lines, -0 lines 0 comments Download
A chrome/browser/search_engines/default_search_policy_handler.cc View 1 2 3 4 5 6 7 8 1 chunk +323 lines, -0 lines 0 comments Download
A chrome/browser/search_engines/default_search_policy_handler_unittest.cc View 1 2 3 4 5 6 1 chunk +294 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
dconnelly
7 years, 2 months ago (2013-10-14 09:10:02 UTC) #1
Joao da Silva
Mostly good. We can clean up the code a bit given that it won't move ...
7 years, 2 months ago (2013-10-14 10:02:28 UTC) #2
dconnelly
I'd also like to move the DefaultSearch PrefStoreTest as part of this CL. I didn't ...
7 years, 2 months ago (2013-10-14 10:05:40 UTC) #3
Joao da Silva
On Mon, Oct 14, 2013 at 12:05 PM, Daniel Connelly <[email protected]>wrote: > I'd also like ...
7 years, 2 months ago (2013-10-14 10:08:54 UTC) #4
dconnelly
Moved the unit tests from PrefStoreTest by exposing as public and deriving from ConfigurationPolicyPrefStoreTest. https://codereview.chromium.org/27166002/diff/5001/chrome/browser/search_engines/OWNERS ...
7 years, 2 months ago (2013-10-14 15:22:25 UTC) #5
Joao da Silva
https://codereview.chromium.org/27166002/diff/15015/chrome/browser/policy/configuration_policy_pref_store_unittest.cc File chrome/browser/policy/configuration_policy_pref_store_unittest.cc (left): https://codereview.chromium.org/27166002/diff/15015/chrome/browser/policy/configuration_policy_pref_store_unittest.cc#oldcode25 chrome/browser/policy/configuration_policy_pref_store_unittest.cc:25: #include "testing/gmock/include/gmock/gmock.h" Keep gmock.h, it's used https://codereview.chromium.org/27166002/diff/15015/chrome/browser/policy/configuration_policy_pref_store_unittest.cc File chrome/browser/policy/configuration_policy_pref_store_unittest.cc ...
7 years, 2 months ago (2013-10-14 16:34:56 UTC) #6
dconnelly
https://codereview.chromium.org/27166002/diff/15015/chrome/browser/policy/configuration_policy_pref_store_unittest.cc File chrome/browser/policy/configuration_policy_pref_store_unittest.cc (left): https://codereview.chromium.org/27166002/diff/15015/chrome/browser/policy/configuration_policy_pref_store_unittest.cc#oldcode25 chrome/browser/policy/configuration_policy_pref_store_unittest.cc:25: #include "testing/gmock/include/gmock/gmock.h" On 2013/10/14 16:34:57, Joao da Silva wrote: ...
7 years, 2 months ago (2013-10-15 09:07:49 UTC) #7
Joao da Silva
lgtm You need a search_engines reviewer; I suggest Peter (pkasting)
7 years, 2 months ago (2013-10-15 09:19:25 UTC) #8
dconnelly
Hi Peter, I need OWNERS approval for chrome/browser/search_engines. For more information on this change you ...
7 years, 2 months ago (2013-10-15 09:47:57 UTC) #9
pneubeck (no reviews)
https://codereview.chromium.org/27166002/diff/34001/chrome/browser/policy/configuration_policy_pref_store_unittest.h File chrome/browser/policy/configuration_policy_pref_store_unittest.h (right): https://codereview.chromium.org/27166002/diff/34001/chrome/browser/policy/configuration_policy_pref_store_unittest.h#newcode26 chrome/browser/policy/configuration_policy_pref_store_unittest.h:26: void UpdateProviderPolicy(const PolicyMap& policy); forward declaration instead of include?
7 years, 2 months ago (2013-10-15 12:33:18 UTC) #10
dconnelly
https://codereview.chromium.org/27166002/diff/34001/chrome/browser/policy/configuration_policy_pref_store_unittest.h File chrome/browser/policy/configuration_policy_pref_store_unittest.h (right): https://codereview.chromium.org/27166002/diff/34001/chrome/browser/policy/configuration_policy_pref_store_unittest.h#newcode26 chrome/browser/policy/configuration_policy_pref_store_unittest.h:26: void UpdateProviderPolicy(const PolicyMap& policy); On 2013/10/15 12:33:18, pneubeck wrote: ...
7 years, 2 months ago (2013-10-15 13:45:05 UTC) #11
Peter Kasting
Rubber-stamp LGTM assuming you merely moved the files and fixed up #includes/guards/etc. Did you svn ...
7 years, 2 months ago (2013-10-15 19:31:45 UTC) #12
dconnelly
On 2013/10/15 19:31:45, Peter Kasting wrote: > Rubber-stamp LGTM assuming you merely moved the files ...
7 years, 2 months ago (2013-10-16 08:23:27 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/27166002/67001
7 years, 2 months ago (2013-10-17 11:01:33 UTC) #14
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=178387
7 years, 2 months ago (2013-10-17 13:12:27 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/27166002/67001
7 years, 2 months ago (2013-10-17 13:18:28 UTC) #16
dconnelly
7 years, 2 months ago (2013-10-17 13:28:13 UTC) #17
Message was sent while issue was closed.
Committed patchset #11 manually as r229124 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698