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

Issue 1706603004: Replace web_cache_messages.h with Mojo service. (Closed)

Created:
4 years, 10 months ago by leonhsl(Using Gerrit)
Modified:
4 years, 9 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, blundell+watchlist_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, droger+watchlist_chromium.org, jam, limasdf, qsr+mojo_chromium.org, sdefresne+watchlist_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace web_cache_messages.h with Mojo service. Implement WebCache Mojo interface to receive/handle the requests which were sent via the Chromium IPC messages defined in web_cache_messages.h. BUG=577685 Committed: https://crrev.com/43dce4dc40cb884c02d92efaab99be737726b451 Cr-Commit-Position: refs/heads/master@{#380598}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Addressed Ken's comments #

Total comments: 6

Patch Set 3 : Addressed Anand's comments #

Total comments: 6

Patch Set 4 : Addressed Sam's comments #

Total comments: 6

Patch Set 5 : Rebase only #

Patch Set 6 : WebCacheService --> WebCache and fix trybot failure #

Patch Set 7 : Rebase only #

Total comments: 2

Patch Set 8 : std::map operator[]-->find() and fix trybot failure #

Patch Set 9 : Add code comment #

Patch Set 10 : Rebase only #

Patch Set 11 : Rebase only #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -153 lines) Patch
M components/web_cache.gypi View 1 2 3 4 5 3 chunks +7 lines, -9 lines 0 comments Download
M components/web_cache/browser/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -1 line 2 comments Download
M components/web_cache/browser/web_cache_manager.h View 1 2 3 4 5 6 7 8 4 chunks +8 lines, -0 lines 0 comments Download
M components/web_cache/browser/web_cache_manager.cc View 1 2 3 4 5 6 7 5 chunks +27 lines, -6 lines 0 comments Download
M components/web_cache/common/BUILD.gn View 1 1 chunk +0 lines, -15 lines 0 comments Download
D components/web_cache/common/DEPS View 1 chunk +0 lines, -3 lines 0 comments Download
D components/web_cache/common/OWNERS View 1 chunk +0 lines, -11 lines 0 comments Download
D components/web_cache/common/web_cache_message_generator.h View 1 chunk +0 lines, -7 lines 0 comments Download
D components/web_cache/common/web_cache_message_generator.cc View 1 chunk +0 lines, -33 lines 0 comments Download
D components/web_cache/common/web_cache_messages.h View 1 chunk +0 lines, -26 lines 0 comments Download
A + components/web_cache/public/interfaces/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -5 lines 0 comments Download
A components/web_cache/public/interfaces/OWNERS View 1 1 chunk +11 lines, -0 lines 0 comments Download
A components/web_cache/public/interfaces/web_cache.mojom View 1 2 3 4 5 1 chunk +14 lines, -0 lines 0 comments Download
M components/web_cache/renderer/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -1 line 2 comments Download
M components/web_cache/renderer/DEPS View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M components/web_cache/renderer/web_cache_render_process_observer.h View 1 2 3 4 5 6 2 chunks +14 lines, -8 lines 0 comments Download
M components/web_cache/renderer/web_cache_render_process_observer.cc View 1 2 3 4 5 4 chunks +24 lines, -23 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_guest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_message_start.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M tools/ipc_fuzzer/message_tools/message_list.cc View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 83 (31 generated)
leonhsl(Using Gerrit)
Hi, Anand, Ken, Sam, This CL is for components/web_cache/common/web_cache_messages.h Mojo conversion, which I think is ...
4 years, 10 months ago (2016-02-18 02:45:57 UTC) #2
Ken Rockot(use gerrit already)
This is great, thanks for doing it! Mostly just comments for stylistic convention. https://codereview.chromium.org/1706603004/diff/1/components/web_cache.gypi File ...
4 years, 10 months ago (2016-02-18 03:45:06 UTC) #3
leonhsl(Using Gerrit)
Hi Ken, Thanks a lot for kindly comments! Uploaded patchset #2, PTAL, Thanks~ https://codereview.chromium.org/1706603004/diff/1/components/web_cache.gypi File ...
4 years, 10 months ago (2016-02-18 08:56:22 UTC) #4
Anand Mistry (off Chromium)
Overall good. Just a few minor comments. https://codereview.chromium.org/1706603004/diff/20001/components/web_cache/browser/web_cache_manager.cc File components/web_cache/browser/web_cache_manager.cc (right): https://codereview.chromium.org/1706603004/diff/20001/components/web_cache/browser/web_cache_manager.cc#newcode344 components/web_cache/browser/web_cache_manager.cc:344: DCHECK(service.get()); I ...
4 years, 10 months ago (2016-02-18 12:33:57 UTC) #5
leonhsl(Using Gerrit)
Hi, Anand, Thanks a lot for kindly help! Addressed comments and uploaded patchset #3. PTAL, ...
4 years, 10 months ago (2016-02-19 08:37:41 UTC) #6
Sam McNally
https://codereview.chromium.org/1706603004/diff/40001/components/web_cache/browser/web_cache_manager.h File components/web_cache/browser/web_cache_manager.h (right): https://codereview.chromium.org/1706603004/diff/40001/components/web_cache/browser/web_cache_manager.h#newcode146 components/web_cache/browser/web_cache_manager.h:146: typedef std::map<int, WebCacheServicePtr> WebCacheServicesMap; Please comment on what the ...
4 years, 10 months ago (2016-02-23 02:37:33 UTC) #7
leonhsl(Using Gerrit)
Hi, Sam, Thanks a lot for kindly comments! Uploaded patchset #4 to address, PTAL, Thanks~ ...
4 years, 10 months ago (2016-02-23 07:58:49 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1706603004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1706603004/60001
4 years, 10 months ago (2016-02-24 10:52:32 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/120500) linux_chromium_clobber_rel_ng on ...
4 years, 10 months ago (2016-02-24 10:57:45 UTC) #14
limasdf
https://codereview.chromium.org/1706603004/diff/60001/components/web_cache.gypi File components/web_cache.gypi (right): https://codereview.chromium.org/1706603004/diff/60001/components/web_cache.gypi#newcode13 components/web_cache.gypi:13: 'web_cache/common/web_cache_service.mojom', I think this should be 'web_cache/public/interface/web_cache_service.mojom',
4 years, 10 months ago (2016-02-24 12:09:11 UTC) #16
limasdf
'web_cache/public/interface/web_cache_service.mojom', => 'web_cache/public/interfaces/web_cache_service.mojom',
4 years, 10 months ago (2016-02-24 12:10:27 UTC) #17
Anand Mistry (off Chromium)
https://codereview.chromium.org/1706603004/diff/60001/components/web_cache.gypi File components/web_cache.gypi (right): https://codereview.chromium.org/1706603004/diff/60001/components/web_cache.gypi#newcode13 components/web_cache.gypi:13: 'web_cache/common/web_cache_service.mojom', On 2016/02/24 12:09:11, limasdf wrote: > I think ...
4 years, 10 months ago (2016-02-24 20:40:05 UTC) #18
Anand Mistry (off Chromium)
4 years, 10 months ago (2016-02-24 20:40:06 UTC) #19
Ken Rockot(use gerrit already)
I think in general a Service suffix is either redundant or inappropriate, but never necessary. ...
4 years, 10 months ago (2016-02-24 20:43:42 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1706603004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1706603004/100001
4 years, 10 months ago (2016-02-25 08:00:13 UTC) #24
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even ...
4 years, 10 months ago (2016-02-25 08:00:22 UTC) #26
leonhsl(Using Gerrit)
Thank you all for comments! Uploaded patchset #6, PTAL, Thanks~ https://codereview.chromium.org/1706603004/diff/60001/components/web_cache.gypi File components/web_cache.gypi (right): https://codereview.chromium.org/1706603004/diff/60001/components/web_cache.gypi#newcode13 ...
4 years, 10 months ago (2016-02-25 08:05:06 UTC) #27
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1706603004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1706603004/100001
4 years, 10 months ago (2016-02-26 07:34:11 UTC) #29
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. CQ run can only be started ...
4 years, 10 months ago (2016-02-26 07:34:13 UTC) #31
Ken Rockot(use gerrit already)
Sorry this fell of my radar. I will take another look in the next few ...
4 years, 9 months ago (2016-02-29 21:12:07 UTC) #32
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1706603004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1706603004/100001
4 years, 9 months ago (2016-03-01 03:26:43 UTC) #34
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/73925)
4 years, 9 months ago (2016-03-01 03:37:11 UTC) #36
leonhsl(Using Gerrit)
On 2016/02/29 21:12:07, Ken Rockot wrote: > Sorry this fell of my radar. I will ...
4 years, 9 months ago (2016-03-02 03:00:57 UTC) #37
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1706603004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1706603004/120001
4 years, 9 months ago (2016-03-02 03:02:09 UTC) #39
limasdf
On 2016/03/02 03:02:09, commit-bot: I haz the power wrote: > Dry run: CQ is trying ...
4 years, 9 months ago (2016-03-02 03:05:17 UTC) #40
leonhsl(Using Gerrit)
On 2016/03/02 03:05:17, limasdf wrote: > On 2016/03/02 03:02:09, commit-bot: I haz the power wrote: ...
4 years, 9 months ago (2016-03-02 03:14:14 UTC) #41
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/152333)
4 years, 9 months ago (2016-03-02 03:17:42 UTC) #43
Ken Rockot(use gerrit already)
Minor comment but otherwise looks good https://codereview.chromium.org/1706603004/diff/120001/components/web_cache/browser/web_cache_manager.cc File components/web_cache/browser/web_cache_manager.cc (right): https://codereview.chromium.org/1706603004/diff/120001/components/web_cache/browser/web_cache_manager.cc#newcode344 components/web_cache/browser/web_cache_manager.cc:344: DCHECK(service); You should ...
4 years, 9 months ago (2016-03-02 03:18:10 UTC) #44
leonhsl(Using Gerrit)
Hi, sorry the trybot failed for some tests code,, would you please help trigger the ...
4 years, 9 months ago (2016-03-02 08:43:01 UTC) #45
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1706603004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1706603004/160001
4 years, 9 months ago (2016-03-02 08:44:05 UTC) #47
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/152391)
4 years, 9 months ago (2016-03-02 08:53:35 UTC) #49
leonhsl(Using Gerrit)
On 2016/03/02 08:53:35, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
4 years, 9 months ago (2016-03-02 10:19:39 UTC) #50
Ken Rockot(use gerrit already)
lgtm
4 years, 9 months ago (2016-03-03 01:13:26 UTC) #51
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1706603004/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1706603004/180001
4 years, 9 months ago (2016-03-04 12:30:29 UTC) #53
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/153361)
4 years, 9 months ago (2016-03-04 12:39:35 UTC) #55
leonhsl(Using Gerrit)
Hi, Anand, Sam, would you please take another look on the latest patchset? +jam@ would ...
4 years, 9 months ago (2016-03-04 15:38:58 UTC) #57
jochen (gone - plz use gerrit)
lgtm
4 years, 9 months ago (2016-03-07 11:54:29 UTC) #58
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1706603004/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1706603004/200001
4 years, 9 months ago (2016-03-10 07:02:34 UTC) #60
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/179241)
4 years, 9 months ago (2016-03-10 07:33:23 UTC) #62
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1706603004/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1706603004/200001
4 years, 9 months ago (2016-03-10 08:56:30 UTC) #64
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/179281)
4 years, 9 months ago (2016-03-10 10:00:22 UTC) #66
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1706603004/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1706603004/200001
4 years, 9 months ago (2016-03-10 10:08:09 UTC) #68
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-10 10:52:33 UTC) #70
leonhsl(Using Gerrit)
+tsepez@ Would you PTAL for OWNER review: ipc/ipc_message_start.h tools/ipc_fuzzer/* Thanks~
4 years, 9 months ago (2016-03-10 10:54:03 UTC) #72
Tom Sepez
lgtm
4 years, 9 months ago (2016-03-10 17:02:12 UTC) #73
Sam McNally
https://codereview.chromium.org/1706603004/diff/200001/components/web_cache/browser/BUILD.gn File components/web_cache/browser/BUILD.gn (right): https://codereview.chromium.org/1706603004/diff/200001/components/web_cache/browser/BUILD.gn#newcode18 components/web_cache/browser/BUILD.gn:18: "//content/public/common", Should there be a corresponding addition to the ...
4 years, 9 months ago (2016-03-10 22:59:34 UTC) #74
leonhsl(Using Gerrit)
Thanks Sam for kindly comments~ Inline answer. https://codereview.chromium.org/1706603004/diff/200001/components/web_cache/browser/BUILD.gn File components/web_cache/browser/BUILD.gn (right): https://codereview.chromium.org/1706603004/diff/200001/components/web_cache/browser/BUILD.gn#newcode18 components/web_cache/browser/BUILD.gn:18: "//content/public/common", On ...
4 years, 9 months ago (2016-03-11 02:56:24 UTC) #75
Sam McNally
lgtm
4 years, 9 months ago (2016-03-11 03:04:12 UTC) #76
leonhsl(Using Gerrit)
Big thanks all of you for great help~ I would like to land this CL ...
4 years, 9 months ago (2016-03-11 07:33:07 UTC) #77
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1706603004/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1706603004/200001
4 years, 9 months ago (2016-03-11 07:38:35 UTC) #80
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 9 months ago (2016-03-11 11:20:09 UTC) #81
commit-bot: I haz the power
4 years, 9 months ago (2016-03-11 11:21:19 UTC) #83
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/43dce4dc40cb884c02d92efaab99be737726b451
Cr-Commit-Position: refs/heads/master@{#380598}

Powered by Google App Engine
This is Rietveld 408576698