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

Issue 869613006: Move referrer policy to a different field when serializing. (Closed)

Created:
5 years, 10 months ago by jochen (gone - plz use gerrit)
Modified:
5 years, 10 months ago
CC:
albertb+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, maniscalco+watch_chromium.org, maxbogue+watch_chromium.org, pvalenzuela+watch_chromium.org, tim+watch_chromium.org, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move referrer policy to a different field when serializing. Also try to fix old entries when possible and play nice with older versions BUG=450589 R=mkwst@chromium.org,marja@chromium.org,atwilson@chromium.org Committed: https://crrev.com/31d74bdc6a4b3c9e766ae8fc9297f1db8fedff49 Cr-Commit-Position: refs/heads/master@{#313742}

Patch Set 1 #

Total comments: 4

Patch Set 2 : updates #

Total comments: 7

Patch Set 3 : updates #

Total comments: 1

Patch Set 4 : updates #

Total comments: 1

Patch Set 5 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+187 lines, -21 lines) Patch
M components/sessions/content/content_serialized_navigation_driver.h View 1 chunk +4 lines, -0 lines 0 comments Download
M components/sessions/content/content_serialized_navigation_driver.cc View 1 2 3 4 2 chunks +46 lines, -0 lines 0 comments Download
M components/sessions/core/serialized_navigation_driver.h View 1 chunk +12 lines, -0 lines 0 comments Download
M components/sessions/ios/ios_serialized_navigation_driver.h View 1 chunk +4 lines, -0 lines 0 comments Download
M components/sessions/ios/ios_serialized_navigation_driver.cc View 1 2 3 4 4 chunks +59 lines, -5 lines 0 comments Download
M components/sessions/serialized_navigation_entry.cc View 1 2 3 7 chunks +53 lines, -11 lines 0 comments Download
M components/sessions/serialized_navigation_entry_unittest.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M sync/protocol/proto_value_conversions.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M sync/protocol/session_specifics.proto View 1 2 3 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (2 generated)
jochen (gone - plz use gerrit)
5 years, 10 months ago (2015-01-29 10:31:27 UTC) #1
jochen (gone - plz use gerrit)
ptal Mike, overall Marja, sessions owner Drew, sync owner
5 years, 10 months ago (2015-01-29 10:31:51 UTC) #2
marja
https://codereview.chromium.org/869613006/diff/1/components/sessions/ios/ios_serialized_navigation_driver.cc File components/sessions/ios/ios_serialized_navigation_driver.cc (right): https://codereview.chromium.org/869613006/diff/1/components/sessions/ios/ios_serialized_navigation_driver.cc#newcode35 components/sessions/ios/ios_serialized_navigation_driver.cc:35: bool ContentSerializedNavigationDriver::MapReferrerPolicyToOldValues( Why does this code have to be ...
5 years, 10 months ago (2015-01-29 10:54:20 UTC) #3
jochen (gone - plz use gerrit)
https://codereview.chromium.org/869613006/diff/1/components/sessions/ios/ios_serialized_navigation_driver.cc File components/sessions/ios/ios_serialized_navigation_driver.cc (right): https://codereview.chromium.org/869613006/diff/1/components/sessions/ios/ios_serialized_navigation_driver.cc#newcode35 components/sessions/ios/ios_serialized_navigation_driver.cc:35: bool ContentSerializedNavigationDriver::MapReferrerPolicyToOldValues( On 2015/01/29 at 10:54:20, marja wrote: > ...
5 years, 10 months ago (2015-01-29 10:59:31 UTC) #4
Andrew T Wilson (Slow)
https://codereview.chromium.org/869613006/diff/20001/components/sessions/content/content_serialized_navigation_driver.cc File components/sessions/content/content_serialized_navigation_driver.cc (right): https://codereview.chromium.org/869613006/diff/20001/components/sessions/content/content_serialized_navigation_driver.cc#newcode40 components/sessions/content/content_serialized_navigation_driver.cc:40: if (referrer_policy == blink::WebReferrerPolicyAlways || This is fine, but ...
5 years, 10 months ago (2015-01-29 11:02:13 UTC) #5
Mike West
This LGTM (and I'd agree with atwilson@'s "obsolete_" suggestion), thanks for poking at it (and ...
5 years, 10 months ago (2015-01-29 11:53:32 UTC) #6
jochen (gone - plz use gerrit)
ptal all comments addressed https://codereview.chromium.org/869613006/diff/20001/components/sessions/serialized_navigation_entry.cc File components/sessions/serialized_navigation_entry.cc (right): https://codereview.chromium.org/869613006/diff/20001/components/sessions/serialized_navigation_entry.cc#newcode39 components/sessions/serialized_navigation_entry.cc:39: if (sync_data.has_correct_referrer_policy()) { The entries ...
5 years, 10 months ago (2015-01-29 12:04:44 UTC) #7
Mike West
Still LGTM. https://codereview.chromium.org/869613006/diff/60001/components/sessions/content/content_serialized_navigation_driver.cc File components/sessions/content/content_serialized_navigation_driver.cc (right): https://codereview.chromium.org/869613006/diff/60001/components/sessions/content/content_serialized_navigation_driver.cc#newcode18 components/sessions/content/content_serialized_navigation_driver.cc:18: const int kObsoleteReferrerPolicyOrigin = 3; \o/
5 years, 10 months ago (2015-01-29 12:06:35 UTC) #8
marja
components/sessions lgtm
5 years, 10 months ago (2015-01-29 12:09:28 UTC) #9
Andrew T Wilson (Slow)
LGTM +zea FYI
5 years, 10 months ago (2015-01-29 17:36:15 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/869613006/80001
5 years, 10 months ago (2015-01-29 17:50:22 UTC) #13
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 10 months ago (2015-01-29 18:33:23 UTC) #14
commit-bot: I haz the power
5 years, 10 months ago (2015-01-29 18:35:46 UTC) #15
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/31d74bdc6a4b3c9e766ae8fc9297f1db8fedff49
Cr-Commit-Position: refs/heads/master@{#313742}

Powered by Google App Engine
This is Rietveld 408576698