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

Issue 280403002: Only commit cookie changes in prerenders after a prerender is shown (Closed)

Created:
6 years, 7 months ago by tburkard
Modified:
6 years, 7 months ago
Reviewers:
jam
CC:
chromium-reviews, skanuj+watch_chromium.org, felt, tburkard+watch_chromium.org, erikwright (departed), dougw+watch_chromium.org, nasko+codewatch_chromium.org, extensions-reviews_chromium.org, cbentzel+watch_chromium.org, melevin+watch_chromium.org, jar (doing other things), jam, dominich, darin-cc_chromium.org, dhollowa+watch_chromium.org, chromium-apps-reviews_chromium.org, creis+watch_chromium.org, gavinp+prer_chromium.org, jfweitz+watch_chromium.org, asvitkine+watch_chromium.org, Jered, davidben+watch_chromium.org, donnd+watch_chromium.org, dominich+watch_chromium.org, eroman, David Black, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, mmenke
Visibility:
Public.

Description

Only commit cookie changes in prerenders after a prerender is shown Will create a PrerenderCookieStore for each prerender, retaining all cookie operations of a prerender until the prerender is shown to the user. Forces prerenders to be in a new render process by themselves for this to work. This is a resubmission of https://codereview.chromium.org/233353003, which had to be reverted due to build breaks. See LGTM's there. BUG=371003 TBR=jam@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270049

Patch Set 1 #

Patch Set 2 : fix build break #

Patch Set 3 : sync @ 270027 #

Patch Set 4 : fix sync related bug #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1162 lines, -29 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/prerender/ExternalPrerenderHandler.java View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/prerender/ExternalPrerenderRequestTest.java View 1 2 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_client.h View 1 2 4 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 5 chunks +39 lines, -1 line 0 comments Download
M chrome/browser/extensions/activity_log/activity_log_browsertest.cc View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/extensions/activity_log/activity_log_unittest.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/net/chrome_network_delegate.h View 1 2 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/net/chrome_network_delegate.cc View 1 2 4 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/net/cookie_store_util.cc View 1 2 3 chunks +19 lines, -0 lines 0 comments Download
M chrome/browser/net/evicted_domain_cookie_counter.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/net/evicted_domain_cookie_counter.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/net/evicted_domain_cookie_counter_unittest.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/prerender/external_prerender_handler_android.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/prerender/external_prerender_handler_android.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_browsertest.cc View 1 2 5 chunks +135 lines, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_contents.h View 1 2 3 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/prerender/prerender_contents.cc View 1 2 4 chunks +24 lines, -3 lines 0 comments Download
A chrome/browser/prerender/prerender_cookie_store.h View 1 chunk +164 lines, -0 lines 0 comments Download
A chrome/browser/prerender/prerender_cookie_store.cc View 1 chunk +241 lines, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_final_status.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_final_status.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_manager.h View 1 2 6 chunks +37 lines, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_manager.cc View 1 2 3 9 chunks +72 lines, -4 lines 0 comments Download
M chrome/browser/prerender/prerender_tracker.h View 1 2 3 chunks +36 lines, -1 line 0 comments Download
M chrome/browser/prerender/prerender_tracker.cc View 1 2 2 chunks +87 lines, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_unittest.cc View 1 2 4 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/search/instant_search_prerenderer_unittest.cc View 1 2 3 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/test/data/android/prerender/homepage.html View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/test/data/prerender/prerender_cookie.html View 2 3 1 chunk +41 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 2 chunks +6 lines, -4 lines 0 comments Download
M content/public/browser/content_browser_client.h View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M content/public/browser/content_browser_client.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M net/cookies/canonical_cookie.h View 1 2 3 chunks +9 lines, -0 lines 0 comments Download
M net/cookies/canonical_cookie.cc View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
M net/cookies/cookie_monster.h View 1 2 5 chunks +20 lines, -4 lines 0 comments Download
M net/cookies/cookie_monster.cc View 1 2 6 chunks +61 lines, -2 lines 0 comments Download
M net/cookies/cookie_monster_store_test.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M net/cookies/cookie_monster_store_test.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
tburkard
The CQ bit was checked by tburkard@chromium.org
6 years, 7 months ago (2014-05-12 22:21:40 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tburkard@chromium.org/280403002/20001
6 years, 7 months ago (2014-05-12 22:22:44 UTC) #2
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-12 22:22:45 UTC) #3
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 7 months ago (2014-05-12 22:22:45 UTC) #4
tburkard
The CQ bit was checked by tburkard@chromium.org
6 years, 7 months ago (2014-05-13 05:32:57 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tburkard@chromium.org/280403002/40001
6 years, 7 months ago (2014-05-13 05:33:17 UTC) #6
tburkard
The CQ bit was checked by tburkard@chromium.org
6 years, 7 months ago (2014-05-13 05:50:09 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tburkard@chromium.org/280403002/60001
6 years, 7 months ago (2014-05-13 05:50:34 UTC) #8
commit-bot: I haz the power
6 years, 7 months ago (2014-05-13 08:20:06 UTC) #9
Message was sent while issue was closed.
Change committed as 270049

Powered by Google App Engine
This is Rietveld 408576698