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

Issue 994803004: Add Clone and disallow copy construction for NavigationEntryImpl. (Closed)

Created:
5 years, 9 months ago by Charlie Reis
Modified:
5 years, 9 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Clone and disallow copy construction for NavigationEntryImpl. This will matter as NavigationEntries start to share FrameNavigationEntries for --site-per-process. At that point, cloning a NavigationEntry will need to take into account whether the copy will live in the same tab or not, as well as making a deep copy of the FrameNavigationEntry tree. BUG=236848 TEST=No behavior change yet. Committed: https://crrev.com/ef4a0cb79857ed187311cd72ef475899c72e9f15 Cr-Commit-Position: refs/heads/master@{#320338}

Patch Set 1 #

Patch Set 2 : Fix compile in test. #

Patch Set 3 : Copy more values, add test #

Patch Set 4 : Cleanup #

Total comments: 3

Patch Set 5 : Fix leak in test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -15 lines) Patch
M content/browser/frame_host/navigation_controller_impl.cc View 1 2 3 chunks +8 lines, -7 lines 0 comments Download
M content/browser/frame_host/navigation_entry_impl.h View 1 2 3 chunks +11 lines, -1 line 0 comments Download
M content/browser/frame_host/navigation_entry_impl.cc View 1 2 2 chunks +50 lines, -5 lines 0 comments Download
M content/browser/frame_host/navigation_entry_impl_unittest.cc View 1 2 3 4 1 chunk +21 lines, -0 lines 0 comments Download
M content/browser/site_instance_impl_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/navigation_entry.h View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 13 (5 generated)
Charlie Reis
Avi: Here's the next step in supporting FrameNavigationEntry. I've confirmed that we want to be ...
5 years, 9 months ago (2015-03-12 16:51:20 UTC) #2
Avi (use Gerrit)
LGTM https://codereview.chromium.org/994803004/diff/60001/content/browser/frame_host/navigation_entry_impl.h File content/browser/frame_host/navigation_entry_impl.h (right): https://codereview.chromium.org/994803004/diff/60001/content/browser/frame_host/navigation_entry_impl.h#newcode99 content/browser/frame_host/navigation_entry_impl.h:99: // tab) and one that draws them from ...
5 years, 9 months ago (2015-03-12 16:59:19 UTC) #3
Charlie Reis
Thanks! https://codereview.chromium.org/994803004/diff/60001/content/browser/frame_host/navigation_entry_impl.h File content/browser/frame_host/navigation_entry_impl.h (right): https://codereview.chromium.org/994803004/diff/60001/content/browser/frame_host/navigation_entry_impl.h#newcode99 content/browser/frame_host/navigation_entry_impl.h:99: // tab) and one that draws them from ...
5 years, 9 months ago (2015-03-12 17:07:43 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/994803004/60001
5 years, 9 months ago (2015-03-12 17:28:55 UTC) #6
Charlie Reis
Note: The ASAN bot caught that I was leaking the cloned entry in the unit ...
5 years, 9 months ago (2015-03-12 17:59:46 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/994803004/80001
5 years, 9 months ago (2015-03-12 18:00:35 UTC) #11
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 9 months ago (2015-03-12 19:14:45 UTC) #12
commit-bot: I haz the power
5 years, 9 months ago (2015-03-12 19:15:30 UTC) #13
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/ef4a0cb79857ed187311cd72ef475899c72e9f15
Cr-Commit-Position: refs/heads/master@{#320338}

Powered by Google App Engine
This is Rietveld 408576698