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

Issue 2963913002: Factor DRP PreviewsState logic out of content (Closed)

Created:
3 years, 5 months ago by megjablon
Modified:
3 years, 4 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, creis+watch_chromium.org, droger+watchlist_chromium.org, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, jam, darin-cc_chromium.org, tbansal+watch-data-reduction-proxy_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Factor DRP PreviewsState logic out of content Move the Data Reduction Proxy header related logic for updating Previews state out of content and into a RenderFrameObserver in the Data Reduction Proxy component. BUG=737159 Review-Url: https://codereview.chromium.org/2963913002 Cr-Commit-Position: refs/heads/master@{#492458} Committed: https://chromium.googlesource.com/chromium/src/+/9ee542da746d166a094a705ed3fcd7304dfe61e0

Patch Set 1 #

Total comments: 4

Patch Set 2 : dougarnett comments #

Total comments: 2

Patch Set 3 : add comment #

Patch Set 4 : gclient sync #

Patch Set 5 : Remove WebDataSource include #

Patch Set 6 : Change WebDataSource to WebDocumentLoader #

Unified diffs Side-by-side diffs Delta from patch set Stats (+393 lines, -273 lines) Patch
M chrome/renderer/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M components/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A components/data_reduction_proxy/content/renderer/BUILD.gn View 1 chunk +31 lines, -0 lines 0 comments Download
A components/data_reduction_proxy/content/renderer/DEPS View 1 chunk +5 lines, -0 lines 0 comments Download
A components/data_reduction_proxy/content/renderer/content_previews_render_frame_observer.h View 1 2 1 chunk +37 lines, -0 lines 0 comments Download
A components/data_reduction_proxy/content/renderer/content_previews_render_frame_observer.cc View 1 2 3 4 5 1 chunk +123 lines, -0 lines 0 comments Download
A components/data_reduction_proxy/content/renderer/content_previews_render_frame_observer_unittest.cc View 1 chunk +172 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_headers.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_headers.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/renderer/render_frame.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/BUILD.gn View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
D content/renderer/previews_state_helper.h View 1 chunk +0 lines, -21 lines 0 comments Download
D content/renderer/previews_state_helper.cc View 1 chunk +0 lines, -100 lines 0 comments Download
D content/renderer/previews_state_helper_unittest.cc View 1 chunk +0 lines, -146 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 3 chunks +5 lines, -3 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 71 (51 generated)
megjablon
PTAL, thanks!
3 years, 5 months ago (2017-06-29 02:10:54 UTC) #6
dougarnett
cool - would be nice to get moved code linked for revision history though. https://codereview.chromium.org/2963913002/diff/20001/components/data_reduction_proxy/content/renderer/content_previews_render_frame_observer.cc ...
3 years, 5 months ago (2017-06-30 21:03:36 UTC) #9
megjablon
https://codereview.chromium.org/2963913002/diff/20001/components/data_reduction_proxy/content/renderer/content_previews_render_frame_observer.cc File components/data_reduction_proxy/content/renderer/content_previews_render_frame_observer.cc (right): https://codereview.chromium.org/2963913002/diff/20001/components/data_reduction_proxy/content/renderer/content_previews_render_frame_observer.cc#newcode23 components/data_reduction_proxy/content/renderer/content_previews_render_frame_observer.cc:23: bool HasEmptyImageDirective(const blink::WebURLResponse& web_url_response) { On 2017/06/30 21:03:36, dougarnett ...
3 years, 5 months ago (2017-07-06 19:15:00 UTC) #11
megjablon
nasko: content/* thestig: chrome/* ryansturm: components/drp/*
3 years, 5 months ago (2017-07-06 19:18:53 UTC) #13
megjablon
+creis for content/* since nasko is out
3 years, 5 months ago (2017-07-06 19:19:56 UTC) #17
Lei Zhang
On 2017/07/06 19:18:53, megjablon wrote: > thestig: chrome/* lgtm
3 years, 5 months ago (2017-07-06 19:43:41 UTC) #18
Charlie Reis
content/ LGTM https://codereview.chromium.org/2963913002/diff/60001/components/data_reduction_proxy/content/renderer/content_previews_render_frame_observer.h File components/data_reduction_proxy/content/renderer/content_previews_render_frame_observer.h (right): https://codereview.chromium.org/2963913002/diff/60001/components/data_reduction_proxy/content/renderer/content_previews_render_frame_observer.h#newcode15 components/data_reduction_proxy/content/renderer/content_previews_render_frame_observer.h:15: class ContentPreviewsRenderFrameObserver : public content::RenderFrameObserver { Can ...
3 years, 5 months ago (2017-07-06 20:12:21 UTC) #19
RyanSturm
lgtm
3 years, 5 months ago (2017-07-06 20:57:02 UTC) #20
dougarnett
lgtm
3 years, 5 months ago (2017-07-06 21:07:07 UTC) #21
megjablon
blundell: components/BUILD.gn
3 years, 5 months ago (2017-07-07 17:32:25 UTC) #23
blundell
lgtm
3 years, 5 months ago (2017-07-09 22:27:30 UTC) #24
megjablon
https://codereview.chromium.org/2963913002/diff/60001/components/data_reduction_proxy/content/renderer/content_previews_render_frame_observer.h File components/data_reduction_proxy/content/renderer/content_previews_render_frame_observer.h (right): https://codereview.chromium.org/2963913002/diff/60001/components/data_reduction_proxy/content/renderer/content_previews_render_frame_observer.h#newcode15 components/data_reduction_proxy/content/renderer/content_previews_render_frame_observer.h:15: class ContentPreviewsRenderFrameObserver : public content::RenderFrameObserver { On 2017/07/06 20:12:21, ...
3 years, 5 months ago (2017-07-10 17:38:09 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2963913002/100001
3 years, 5 months ago (2017-07-10 20:12:38 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/484786)
3 years, 5 months ago (2017-07-10 20:21:29 UTC) #38
megjablon
+foolip components/data_reduction_proxy/content/renderer/DEPS
3 years, 5 months ago (2017-07-10 20:29:03 UTC) #40
foolip
On 2017/07/10 20:29:03, megjablon wrote: > +foolip components/data_reduction_proxy/content/renderer/DEPS I was OOO, but I'm not an ...
3 years, 4 months ago (2017-07-31 08:08:45 UTC) #41
blundell
On 2017/07/31 08:08:45, foolip wrote: > On 2017/07/10 20:29:03, megjablon wrote: > > +foolip components/data_reduction_proxy/content/renderer/DEPS ...
3 years, 4 months ago (2017-07-31 09:31:15 UTC) #42
foolip
On 2017/07/31 09:31:15, blundell wrote: > On 2017/07/31 08:08:45, foolip wrote: > > On 2017/07/10 ...
3 years, 4 months ago (2017-07-31 10:00:23 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2963913002/160001
3 years, 4 months ago (2017-08-07 21:34:41 UTC) #67
commit-bot: I haz the power
3 years, 4 months ago (2017-08-07 23:54:52 UTC) #71
Message was sent while issue was closed.
Committed patchset #6 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/9ee542da746d166a094a705ed3fc...

Powered by Google App Engine
This is Rietveld 408576698