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

Issue 378823002: Move http_server_properties_manager from chrome/browser/net to net/http. (Closed)

Created:
6 years, 5 months ago by mef
Modified:
6 years, 5 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Move http_server_properties_manager from chrome/browser/net to net/http. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282319

Patch Set 1 #

Total comments: 26

Patch Set 2 : Address review comments. #

Total comments: 40

Patch Set 3 : Address review comments, fix gn build. #

Total comments: 6

Patch Set 4 : Use RunLoop and address comments. #

Patch Set 5 : Rebased to r282022 #

Patch Set 6 : Fix compilation error. #

Total comments: 14

Patch Set 7 : Fix renames in comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+450 lines, -1878 lines) Patch
D chrome/browser/net/http_server_properties_manager.h View 1 2 3 4 1 chunk +0 lines, -263 lines 0 comments Download
D chrome/browser/net/http_server_properties_manager.cc View 1 2 3 4 1 chunk +0 lines, -746 lines 0 comments Download
A chrome/browser/net/http_server_properties_manager_factory.h View 1 2 1 chunk +39 lines, -0 lines 0 comments Download
A chrome/browser/net/http_server_properties_manager_factory.cc View 1 2 1 chunk +32 lines, -0 lines 0 comments Download
D chrome/browser/net/http_server_properties_manager_unittest.cc View 1 2 3 4 1 chunk +0 lines, -485 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.h View 3 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.cc View 1 2 5 chunks +6 lines, -4 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M net/BUILD.gn View 1 2 3 chunks +3 lines, -1 line 0 comments Download
A + net/http/http_server_properties_manager.h View 1 2 3 4 5 6 3 chunks +100 lines, -100 lines 0 comments Download
A + net/http/http_server_properties_manager.cc View 1 2 3 4 5 6 21 chunks +161 lines, -173 lines 0 comments Download
A + net/http/http_server_properties_manager_unittest.cc View 1 2 3 4 5 6 19 chunks +97 lines, -98 lines 0 comments Download
M net/net.gyp View 2 chunks +2 lines, -0 lines 0 comments Download
M net/net.gypi View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (0 generated)
mef
Hi guys, please take a look. See a net-dev thread on discussion why it is ...
6 years, 5 months ago (2014-07-08 12:43:53 UTC) #1
mef
Just to clarify my request: droger - everything. OWNER review: mmenke - chrome/browser/profiles/profile_impl_io_data.* battre - ...
6 years, 5 months ago (2014-07-08 12:51:38 UTC) #2
droger
https://codereview.chromium.org/378823002/diff/1/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (right): https://codereview.chromium.org/378823002/diff/1/chrome/browser/prefs/browser_prefs.cc#newcode226 chrome/browser/prefs/browser_prefs.cc:226: void HttpServerPropertiesManager_RegisterProfilePrefs( Shouldn't this stay in the HttpServerPropertiesManager class? ...
6 years, 5 months ago (2014-07-08 13:06:02 UTC) #3
mef
thanks! https://codereview.chromium.org/378823002/diff/1/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (right): https://codereview.chromium.org/378823002/diff/1/chrome/browser/prefs/browser_prefs.cc#newcode226 chrome/browser/prefs/browser_prefs.cc:226: void HttpServerPropertiesManager_RegisterProfilePrefs( On 2014/07/08 13:06:02, droger wrote: > ...
6 years, 5 months ago (2014-07-08 13:32:00 UTC) #4
battre
+bauerb https://codereview.chromium.org/378823002/diff/1/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (right): https://codereview.chromium.org/378823002/diff/1/chrome/browser/prefs/browser_prefs.cc#newcode226 chrome/browser/prefs/browser_prefs.cc:226: void HttpServerPropertiesManager_RegisterProfilePrefs( On 2014/07/08 13:32:00, mef wrote: > ...
6 years, 5 months ago (2014-07-08 14:16:57 UTC) #5
mmenke
A couple quick comments https://codereview.chromium.org/378823002/diff/1/net/http/http_server_properties_manager.h File net/http/http_server_properties_manager.h (right): https://codereview.chromium.org/378823002/diff/1/net/http/http_server_properties_manager.h#newcode40 net/http/http_server_properties_manager.h:40: // It must be constructed ...
6 years, 5 months ago (2014-07-08 15:05:48 UTC) #6
Bernhard Bauer
https://codereview.chromium.org/378823002/diff/1/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (right): https://codereview.chromium.org/378823002/diff/1/chrome/browser/prefs/browser_prefs.cc#newcode226 chrome/browser/prefs/browser_prefs.cc:226: void HttpServerPropertiesManager_RegisterProfilePrefs( On 2014/07/08 14:16:57, battre wrote: > On ...
6 years, 5 months ago (2014-07-08 16:02:47 UTC) #7
mef
Thanks, couple of follow-up questions... https://codereview.chromium.org/378823002/diff/1/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (right): https://codereview.chromium.org/378823002/diff/1/chrome/browser/prefs/browser_prefs.cc#newcode226 chrome/browser/prefs/browser_prefs.cc:226: void HttpServerPropertiesManager_RegisterProfilePrefs( On 2014/07/08 ...
6 years, 5 months ago (2014-07-08 16:19:54 UTC) #8
Bernhard Bauer
https://codereview.chromium.org/378823002/diff/1/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (right): https://codereview.chromium.org/378823002/diff/1/chrome/browser/prefs/browser_prefs.cc#newcode226 chrome/browser/prefs/browser_prefs.cc:226: void HttpServerPropertiesManager_RegisterProfilePrefs( On 2014/07/08 16:19:54, mef wrote: > On ...
6 years, 5 months ago (2014-07-08 17:02:45 UTC) #9
mef
thanks! https://codereview.chromium.org/378823002/diff/1/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (right): https://codereview.chromium.org/378823002/diff/1/chrome/browser/prefs/browser_prefs.cc#newcode226 chrome/browser/prefs/browser_prefs.cc:226: void HttpServerPropertiesManager_RegisterProfilePrefs( On 2014/07/08 17:02:45, Bernhard Bauer wrote: ...
6 years, 5 months ago (2014-07-08 17:11:20 UTC) #10
mef
Thanks, PTAL! https://codereview.chromium.org/378823002/diff/1/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (right): https://codereview.chromium.org/378823002/diff/1/chrome/browser/prefs/browser_prefs.cc#newcode226 chrome/browser/prefs/browser_prefs.cc:226: void HttpServerPropertiesManager_RegisterProfilePrefs( On 2014/07/08 17:11:20, mef wrote: ...
6 years, 5 months ago (2014-07-08 18:04:32 UTC) #11
Ryan Hamilton
Adding sleevi since he's expressed an interest in this space.
6 years, 5 months ago (2014-07-08 18:09:01 UTC) #12
Ryan Hamilton
Adding sleevi since he's expressed an interest in this space.
6 years, 5 months ago (2014-07-08 18:09:02 UTC) #13
Ryan Sleevi
So, it's no secret I have no love lost for HSPM, and have been trying ...
6 years, 5 months ago (2014-07-08 18:19:27 UTC) #14
Bernhard Bauer
https://codereview.chromium.org/378823002/diff/20001/chrome/browser/net/http_server_properties_manager_factory.h File chrome/browser/net/http_server_properties_manager_factory.h (right): https://codereview.chromium.org/378823002/diff/20001/chrome/browser/net/http_server_properties_manager_factory.h#newcode1 chrome/browser/net/http_server_properties_manager_factory.h:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
6 years, 5 months ago (2014-07-08 21:47:21 UTC) #15
Ryan Sleevi
https://codereview.chromium.org/378823002/diff/20001/net/http/http_server_properties_manager.h File net/http/http_server_properties_manager.h (right): https://codereview.chromium.org/378823002/diff/20001/net/http/http_server_properties_manager.h#newcode68 net/http/http_server_properties_manager.h:68: void ShutdownOnPrefThread(); On 2014/07/08 21:47:21, Bernhard Bauer wrote: > ...
6 years, 5 months ago (2014-07-08 22:54:36 UTC) #16
Ryan Hamilton
On 2014/07/08 22:54:36, Ryan Sleevi wrote: > https://codereview.chromium.org/378823002/diff/20001/net/http/http_server_properties_manager.h > File net/http/http_server_properties_manager.h (right): > > https://codereview.chromium.org/378823002/diff/20001/net/http/http_server_properties_manager.h#newcode68 ...
6 years, 5 months ago (2014-07-08 23:00:52 UTC) #17
mef
On 2014/07/08 23:00:52, Ryan Hamilton wrote: > On 2014/07/08 22:54:36, Ryan Sleevi wrote: > > ...
6 years, 5 months ago (2014-07-09 09:10:14 UTC) #18
mef
Thanks, PTAL. https://codereview.chromium.org/378823002/diff/20001/chrome/browser/net/http_server_properties_manager_factory.h File chrome/browser/net/http_server_properties_manager_factory.h (right): https://codereview.chromium.org/378823002/diff/20001/chrome/browser/net/http_server_properties_manager_factory.h#newcode1 chrome/browser/net/http_server_properties_manager_factory.h:1: // Copyright (c) 2012 The Chromium Authors. ...
6 years, 5 months ago (2014-07-09 12:12:04 UTC) #19
Bernhard Bauer
lgtm https://codereview.chromium.org/378823002/diff/20001/chrome/browser/net/http_server_properties_manager_factory.h File chrome/browser/net/http_server_properties_manager_factory.h (right): https://codereview.chromium.org/378823002/diff/20001/chrome/browser/net/http_server_properties_manager_factory.h#newcode40 chrome/browser/net/http_server_properties_manager_factory.h:40: // Register |prefs| for properties managed by HttpServerPropertiesManager. ...
6 years, 5 months ago (2014-07-09 12:24:43 UTC) #20
droger
lgtm https://codereview.chromium.org/378823002/diff/40001/net/http/http_server_properties_manager.cc File net/http/http_server_properties_manager.cc (right): https://codereview.chromium.org/378823002/diff/40001/net/http/http_server_properties_manager.cc#newcode714 net/http/http_server_properties_manager.cc:714: } // namespace chrome_browser_net Fix the comment. https://codereview.chromium.org/378823002/diff/40001/net/http/http_server_properties_manager.h ...
6 years, 5 months ago (2014-07-09 12:26:09 UTC) #21
mef
Thanks! https://codereview.chromium.org/378823002/diff/20001/net/http/http_server_properties_manager_unittest.cc File net/http/http_server_properties_manager_unittest.cc (right): https://codereview.chromium.org/378823002/diff/20001/net/http/http_server_properties_manager_unittest.cc#newcode281 net/http/http_server_properties_manager_unittest.cc:281: base::MessageLoop::current()->RunUntilIdle(); On 2014/07/09 12:24:43, Bernhard Bauer wrote: > ...
6 years, 5 months ago (2014-07-09 12:44:50 UTC) #22
mmenke
I'm going to go ahead and defer to rch and rsleevi on this one - ...
6 years, 5 months ago (2014-07-09 14:26:28 UTC) #23
mef
On 2014/07/09 14:26:28, mmenke wrote: > I'm going to go ahead and defer to rch ...
6 years, 5 months ago (2014-07-09 14:28:35 UTC) #24
mmenke
On 2014/07/09 14:28:35, mef wrote: > On 2014/07/09 14:26:28, mmenke wrote: > > I'm going ...
6 years, 5 months ago (2014-07-09 14:33:38 UTC) #25
Ryan Hamilton
On 2014/07/09 09:10:14, mef wrote: > On 2014/07/08 23:00:52, Ryan Hamilton wrote: > > On ...
6 years, 5 months ago (2014-07-09 15:34:40 UTC) #26
Ryan Hamilton
On 2014/07/09 14:26:28, mmenke wrote: > I'm going to go ahead and defer to rch ...
6 years, 5 months ago (2014-07-09 15:35:22 UTC) #27
mef
On 2014/07/09 15:35:22, Ryan Hamilton wrote: > On 2014/07/09 14:26:28, mmenke wrote: > > I'm ...
6 years, 5 months ago (2014-07-09 15:44:15 UTC) #28
Ryan Sleevi
I focused on the net/ components. The meat of the comments I'll save for rch@, ...
6 years, 5 months ago (2014-07-09 19:29:59 UTC) #29
Ryan Sleevi
lgtm
6 years, 5 months ago (2014-07-09 19:30:08 UTC) #30
mef
On 2014/07/09 19:30:08, Ryan Sleevi wrote: > lgtm Thanks, I'll fix missed renames and land ...
6 years, 5 months ago (2014-07-09 19:39:49 UTC) #31
mef
Thanks! I've kept the name |PrefThread| instead of |PrefsThread| for consistency with member variables that ...
6 years, 5 months ago (2014-07-10 08:50:14 UTC) #32
mef
The CQ bit was checked by mef@chromium.org
6 years, 5 months ago (2014-07-10 09:09:44 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mef@chromium.org/378823002/100001
6 years, 5 months ago (2014-07-10 09:10:44 UTC) #34
commit-bot: I haz the power
6 years, 5 months ago (2014-07-10 12:43:53 UTC) #35
Message was sent while issue was closed.
Change committed as 282319

Powered by Google App Engine
This is Rietveld 408576698