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

Issue 23615009: Stub out initial NavigationController browser implementation (Closed)

Created:
7 years, 3 months ago by alecflett
Modified:
7 years, 3 months ago
Reviewers:
michaeln, Tom Sepez, jam
CC:
joi+watch-content_chromium.org, darin-cc_chromium.org, jam, Greg Billock, kinuko, chromium-reviews
Visibility:
Public.

Description

Stub out initial NavigationController browser implementation This is the initial cut for the browser-side NavigationControllerDispatcherHost, and all the various related support plumbing to hook up two initial messages. BUG=285976 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=224585

Patch Set 1 #

Total comments: 2

Patch Set 2 : Shorter naming, reformat, add OWNERS #

Total comments: 2

Patch Set 3 : Add kinuko, fix threadsafeness #

Patch Set 4 : Fix test too #

Total comments: 1

Patch Set 5 : line length #

Total comments: 1

Patch Set 6 : s/host_id/peer_id/g #

Total comments: 2

Patch Set 7 : Add comments, s/peer/registry/ now that blink side is settled #

Total comments: 6

Patch Set 8 : more/better comments, clarification on messages #

Patch Set 9 : fix id comments one more time #

Total comments: 3

Patch Set 10 : oops, account for new location of _messages.h file #

Patch Set 11 : Remove TODO #

Patch Set 12 : Fix .gypi from messages move #

Patch Set 13 : Update to ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+222 lines, -5 lines) Patch
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -0 lines 0 comments Download
A + content/browser/service_worker/OWNERS View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -3 lines 0 comments Download
A content/browser/service_worker/service_worker_context.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +44 lines, -0 lines 0 comments Download
A content/browser/service_worker/service_worker_context.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +25 lines, -0 lines 0 comments Download
A content/browser/service_worker/service_worker_dispatcher_host.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +40 lines, -0 lines 0 comments Download
A content/browser/service_worker/service_worker_dispatcher_host.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +50 lines, -0 lines 0 comments Download
M content/browser/storage_partition_impl.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +5 lines, -0 lines 0 comments Download
M content/browser/storage_partition_impl.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +10 lines, -0 lines 0 comments Download
M content/browser/storage_partition_impl_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/common/content_message_generator.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
A content/common/service_worker_messages.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +33 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -0 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M ipc/ipc_message_start.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 36 (0 generated)
alecflett
I'm just starting to stub this stuff out - modeled a little on AppCache, a ...
7 years, 3 months ago (2013-09-05 18:31:53 UTC) #1
michaeln
Looks like a great start to me. I opened an umbrella bug, can you add ...
7 years, 3 months ago (2013-09-05 21:15:39 UTC) #2
alecflett
https://codereview.chromium.org/23615009/diff/1/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/23615009/diff/1/content/browser/renderer_host/render_process_host_impl.cc#newcode66 content/browser/renderer_host/render_process_host_impl.cc:66: #include "content/browser/navigation_controller/navigation_controller_context.h" On 2013/09/05 21:15:39, michaeln wrote: > For ...
7 years, 3 months ago (2013-09-05 22:24:56 UTC) #3
alecflett
On 2013/09/05 22:24:56, alecflett wrote: > https://codereview.chromium.org/23615009/diff/1/content/browser/renderer_host/render_process_host_impl.cc > File content/browser/renderer_host/render_process_host_impl.cc (right): > > https://codereview.chromium.org/23615009/diff/1/content/browser/renderer_host/render_process_host_impl.cc#newcode66 > ...
7 years, 3 months ago (2013-09-06 04:39:21 UTC) #4
michaeln
BUG=285976 https://codereview.chromium.org/23615009/diff/7001/content/browser/nav_controller/OWNERS File content/browser/nav_controller/OWNERS (right): https://codereview.chromium.org/23615009/diff/7001/content/browser/nav_controller/OWNERS#newcode2 content/browser/nav_controller/OWNERS:2: michaeln@chromium.org add kinuko here too? https://codereview.chromium.org/23615009/diff/7001/content/browser/nav_controller/nav_controller_context.h File content/browser/nav_controller/nav_controller_context.h ...
7 years, 3 months ago (2013-09-06 18:41:16 UTC) #5
alecflett
ok, addressed remaining comments. jam@ - mind a hopefully quick review? some new stuff in ...
7 years, 3 months ago (2013-09-06 22:39:31 UTC) #6
michaeln
https://codereview.chromium.org/23615009/diff/18001/content/browser/nav_controller/nav_controller_context.h File content/browser/nav_controller/nav_controller_context.h (right): https://codereview.chromium.org/23615009/diff/18001/content/browser/nav_controller/nav_controller_context.h#newcode24 content/browser/nav_controller/nav_controller_context.h:24: class NavControllerContext : public base::RefCountedThreadSafe<NavControllerContext> { line length
7 years, 3 months ago (2013-09-06 22:51:23 UTC) #7
michaeln
lgtm
7 years, 3 months ago (2013-09-09 18:34:13 UTC) #8
michaeln
https://codereview.chromium.org/23615009/diff/36001/content/common/nav_controller/nav_controller_messages.h File content/common/nav_controller/nav_controller_messages.h (right): https://codereview.chromium.org/23615009/diff/36001/content/common/nav_controller/nav_controller_messages.h#newcode14 content/common/nav_controller/nav_controller_messages.h:14: IPC_MESSAGE_CONTROL3(NavControllerHostMsg_RegisterController, Since you're defining messages that require a 'peer_id' ...
7 years, 3 months ago (2013-09-09 20:55:49 UTC) #9
alecflett
jam@ - ping on IPC? https://codereview.chromium.org/23615009/diff/36001/content/common/nav_controller/nav_controller_messages.h File content/common/nav_controller/nav_controller_messages.h (right): https://codereview.chromium.org/23615009/diff/36001/content/common/nav_controller/nav_controller_messages.h#newcode14 content/common/nav_controller/nav_controller_messages.h:14: IPC_MESSAGE_CONTROL3(NavControllerHostMsg_RegisterController, On 2013/09/09 20:55:49, ...
7 years, 3 months ago (2013-09-12 21:04:56 UTC) #10
michaeln
> The peer is just a temporary object that exists in the renderer during > ...
7 years, 3 months ago (2013-09-12 23:29:04 UTC) #11
alecflett
Talked with jam@, gave me a few comments, addressed them here. also, on the blink ...
7 years, 3 months ago (2013-09-13 17:48:12 UTC) #12
alecflett
On 2013/09/12 23:29:04, michaeln wrote: > > The peer is just a temporary object that ...
7 years, 3 months ago (2013-09-13 21:12:38 UTC) #13
alecflett
Adding tsepez for _messages.h review.
7 years, 3 months ago (2013-09-13 21:34:49 UTC) #14
michaeln
On 2013/09/13 21:12:38, alecflett wrote: > On 2013/09/12 23:29:04, michaeln wrote: > > > The ...
7 years, 3 months ago (2013-09-13 21:46:34 UTC) #15
Tom Sepez
https://codereview.chromium.org/23615009/diff/44001/content/browser/nav_controller/nav_controller_context.cc File content/browser/nav_controller/nav_controller_context.cc (right): https://codereview.chromium.org/23615009/diff/44001/content/browser/nav_controller/nav_controller_context.cc#newcode16 content/browser/nav_controller/nav_controller_context.cc:16: const base::FilePath& path, Who gets to specify this path? ...
7 years, 3 months ago (2013-09-13 21:48:34 UTC) #16
alecflett
> > Since we're renaming things to EventWorker should we rename classes and files > ...
7 years, 3 months ago (2013-09-13 21:50:12 UTC) #17
michaeln
https://codereview.chromium.org/23615009/diff/44001/content/browser/nav_controller/nav_controller_dispatcher_host.cc File content/browser/nav_controller/nav_controller_dispatcher_host.cc (right): https://codereview.chromium.org/23615009/diff/44001/content/browser/nav_controller/nav_controller_dispatcher_host.cc#newcode42 content/browser/nav_controller/nav_controller_dispatcher_host.cc:42: } On 2013/09/13 21:48:34, Tom Sepez wrote: > Are ...
7 years, 3 months ago (2013-09-13 22:00:02 UTC) #18
alecflett
On 2013/09/13 22:00:02, michaeln wrote: > https://codereview.chromium.org/23615009/diff/44001/content/browser/nav_controller/nav_controller_dispatcher_host.cc > File content/browser/nav_controller/nav_controller_dispatcher_host.cc (right): > > https://codereview.chromium.org/23615009/diff/44001/content/browser/nav_controller/nav_controller_dispatcher_host.cc#newcode42 > ...
7 years, 3 months ago (2013-09-13 22:07:05 UTC) #19
alecflett
On 2013/09/13 22:00:02, michaeln wrote: > https://codereview.chromium.org/23615009/diff/44001/content/browser/nav_controller/nav_controller_dispatcher_host.cc > File content/browser/nav_controller/nav_controller_dispatcher_host.cc (right): > > https://codereview.chromium.org/23615009/diff/44001/content/browser/nav_controller/nav_controller_dispatcher_host.cc#newcode42 > ...
7 years, 3 months ago (2013-09-13 22:15:13 UTC) #20
alecflett
new patch - hopefully addressing all of tsepez@'s concerns. tsepez@ - regarding scope, it is ...
7 years, 3 months ago (2013-09-13 22:20:09 UTC) #21
Tom Sepez
Nice. LGTM.
7 years, 3 months ago (2013-09-13 22:22:06 UTC) #22
jam
since this patch is minimal, I don't understand what NavControllerContext will be used for. More ...
7 years, 3 months ago (2013-09-13 22:44:39 UTC) #23
alecflett
On 2013/09/13 22:44:39, jam wrote: > since this patch is minimal, I don't understand what ...
7 years, 3 months ago (2013-09-13 23:02:39 UTC) #24
jam
On Fri, Sep 13, 2013 at 4:02 PM, <alecflett@chromium.org> wrote: > On 2013/09/13 22:44:39, jam ...
7 years, 3 months ago (2013-09-18 01:43:15 UTC) #25
alecflett
So I ended up leaving the refcounting in there, because it has to be held ...
7 years, 3 months ago (2013-09-19 22:17:02 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alecflett@chromium.org/23615009/13001
7 years, 3 months ago (2013-09-19 22:17:41 UTC) #27
commit-bot: I haz the power
Failed to trigger a try job on win_x64_rel HTTP Error 400: Bad Request
7 years, 3 months ago (2013-09-19 23:02:29 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alecflett@chromium.org/23615009/94001
7 years, 3 months ago (2013-09-19 23:03:39 UTC) #29
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) sync_integration_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=199666
7 years, 3 months ago (2013-09-20 02:26:44 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alecflett@chromium.org/23615009/64001
7 years, 3 months ago (2013-09-20 19:10:32 UTC) #31
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests, sync_integration_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=200360
7 years, 3 months ago (2013-09-20 22:20:28 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alecflett@chromium.org/23615009/64001
7 years, 3 months ago (2013-09-20 22:52:54 UTC) #33
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests, sync_integration_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=200531
7 years, 3 months ago (2013-09-21 00:59:03 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alecflett@chromium.org/23615009/64001
7 years, 3 months ago (2013-09-21 04:43:32 UTC) #35
commit-bot: I haz the power
7 years, 3 months ago (2013-09-21 16:12:52 UTC) #36
Message was sent while issue was closed.
Change committed as 224585

Powered by Google App Engine
This is Rietveld 408576698