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

Issue 1449793002: data_with_base_url (Closed)

Created:
5 years, 1 month ago by boliu
Modified:
5 years, 1 month ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

data_with_base_url WIP BUG=522567 Closing in favour of https://codereview.chromium.org/1304373007/

Patch Set 1 #

Patch Set 2 : fix tests #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -39 lines) Patch
M content/browser/android/web_contents_observer_proxy.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl.cc View 1 1 chunk +7 lines, -1 line 0 comments Download
M content/browser/frame_host/navigation_controller_impl_browsertest.cc View 1 chunk +3 lines, -9 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl_unittest.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/frame_host/navigation_entry_impl.h View 2 chunks +4 lines, -1 line 1 comment Download
M content/browser/frame_host/navigation_entry_impl.cc View 3 chunks +10 lines, -1 line 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 1 chunk +6 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M content/common/frame_messages.h View 1 chunk +1 line, -1 line 0 comments Download
M content/common/navigation_params.h View 2 chunks +3 lines, -2 lines 0 comments Download
M content/common/navigation_params.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/public/browser/navigation_entry.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/renderer/document_state.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 3 chunks +26 lines, -7 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_guest.cc View 1 1 chunk +3 lines, -6 lines 0 comments Download

Messages

Total messages: 6 (3 generated)
mnaganov (inactive)
https://codereview.chromium.org/1449793002/diff/20001/content/browser/frame_host/navigation_entry_impl.h File content/browser/frame_host/navigation_entry_impl.h (right): https://codereview.chromium.org/1449793002/diff/20001/content/browser/frame_host/navigation_entry_impl.h#newcode85 content/browser/frame_host/navigation_entry_impl.h:85: void SetDataURLWithBaseURL(const GURL& url) override; The 'with' part is ...
5 years, 1 month ago (2015-11-16 18:38:55 UTC) #2
Charlie Reis
I've been looking more closely at this, and there's another concern-- Android is serializing GetBaseURLForDataURL() ...
5 years, 1 month ago (2015-11-19 20:08:07 UTC) #4
boliu
5 years, 1 month ago (2015-11-19 20:22:23 UTC) #5
On 2015/11/19 20:08:07, Charlie Reis wrote:
> I've been looking more closely at this, and there's another concern-- Android
is
> serializing GetBaseURLForDataURL() in state_serializer.cc.

Addressing state_serializer.cc specifically. It does have a version (and
apparently the last time it was updated as more than 2 years ago)

And it should be ok to just drop older versions from disk, which is exactly what
the current code does with the version check. No need for complex
versioning/migrations or whatnot. Webview's state_serializer promise is not as
strong as chrome's profiles.

> That means any
> changes we make to where these URLs are stored affects data stored on disk,
and
> we would need to be super careful about migrating data, introducing a new
format
> version, etc.  I would be very hesitant to go down that path unless we're sure
> the other approach won't work.  Given your other hesitations in comment 69 of
> the bug, let's put this on hold.
> 
> I'm digging into your previous approach a bit more in patch 10 of
> https://codereview.chromium.org/1304373007/, to understand and see if there's
> more promise there.  I'll post a followup there shortly.

Powered by Google App Engine
This is Rietveld 408576698