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

Issue 10031028: Single URL Expires Were Not Being Deleted. (Closed)

Created:
8 years, 8 months ago by mrossetti
Modified:
8 years, 8 months ago
CC:
chromium-reviews, brettw-cc_chromium.org
Visibility:
Public.

Description

Single URL Expires Were Not Being Deleted. Some notification clients expect URLs while others expect URLRows but in some cases the URLRows were not being provided. Eliminated the duplication of data structures by removing the set of URLs and relying only on the vector of URLRows. tim@ for OWNERS review of sync/... BUG=122740 TEST=Added unit test. TBR=tim@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=132268

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -78 lines) Patch
M chrome/browser/autocomplete/network_action_predictor.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/network_action_predictor.cc View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/autocomplete/network_action_predictor_unittest.cc View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/history/android/android_provider_backend.cc View 1 2 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/history/android/android_provider_backend_unittest.cc View 1 2 5 chunks +0 lines, -15 lines 0 comments Download
M chrome/browser/history/expire_history_backend.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/history/expire_history_backend_unittest.cc View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/history/history.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/history/history_extension_api.cc View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/history/history_notifications.h View 1 2 1 chunk +2 lines, -8 lines 0 comments Download
M chrome/browser/history/history_types.h View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/history/in_memory_url_index_unittest.cc View 1 2 5 chunks +32 lines, -1 line 0 comments Download
M chrome/browser/history/shortcuts_backend.cc View 1 2 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/history/top_sites.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/sync/glue/typed_url_change_processor.cc View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_typed_url_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/history_ui.cc View 1 2 2 chunks +16 lines, -4 lines 0 comments Download
M chrome/browser/visitedlink/visitedlink_master.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/visitedlink/visitedlink_master.cc View 1 2 3 chunks +12 lines, -8 lines 0 comments Download
M chrome/browser/visitedlink/visitedlink_unittest.cc View 1 2 3 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
mrossetti
Please, whichever OWNER gets a few moments please take a look. Note: This is the ...
8 years, 8 months ago (2012-04-10 23:21:51 UTC) #1
mrossetti
A ping on this as it represents a privacy issue, minor, but still...
8 years, 8 months ago (2012-04-12 20:49:22 UTC) #2
sky
http://codereview.chromium.org/10031028/diff/2002/chrome/browser/history/expire_history_backend.cc File chrome/browser/history/expire_history_backend.cc (right): http://codereview.chromium.org/10031028/diff/2002/chrome/browser/history/expire_history_backend.cc#newcode362 chrome/browser/history/expire_history_backend.cc:362: deleted_details->rows = dependencies->deleted_urls; Why do we need both? If ...
8 years, 8 months ago (2012-04-12 20:54:10 UTC) #3
brettw
Send reviews to one person. If it's not clear I must do something, I archive ...
8 years, 8 months ago (2012-04-12 20:54:10 UTC) #4
mrossetti
On 2012/04/12 20:54:10, brettw wrote: > Send reviews to one person. If it's not clear ...
8 years, 8 months ago (2012-04-12 20:56:00 UTC) #5
mrossetti
On 2012/04/12 20:54:10, sky wrote: > http://codereview.chromium.org/10031028/diff/2002/chrome/browser/history/expire_history_backend.cc > File chrome/browser/history/expire_history_backend.cc (right): > > http://codereview.chromium.org/10031028/diff/2002/chrome/browser/history/expire_history_backend.cc#newcode362 > ...
8 years, 8 months ago (2012-04-12 21:19:35 UTC) #6
sky
On Thu, Apr 12, 2012 at 2:19 PM, <mrossetti@chromium.org> wrote: > On 2012/04/12 20:54:10, sky ...
8 years, 8 months ago (2012-04-12 21:32:12 UTC) #7
mrossetti
I've eliminated the duplicate change data by removing URLsDeletedDetails.urls and relying solely on URLsDeletedDetails.rows for ...
8 years, 8 months ago (2012-04-13 16:33:57 UTC) #8
sky
LGTM https://chromiumcodereview.appspot.com/10031028/diff/12001/chrome/browser/history/history_types.h File chrome/browser/history/history_types.h (right): https://chromiumcodereview.appspot.com/10031028/diff/12001/chrome/browser/history/history_types.h#newcode138 chrome/browser/history/history_types.h:138: explicit URLRowHasURL(const GURL& url): url_(url) {} nit: '):' ...
8 years, 8 months ago (2012-04-13 16:54:01 UTC) #9
mrossetti
8 years, 8 months ago (2012-04-13 18:19:19 UTC) #10
Updated. Will commit once bots smile.

http://codereview.chromium.org/10031028/diff/12001/chrome/browser/history/his...
File chrome/browser/history/history_types.h (right):

http://codereview.chromium.org/10031028/diff/12001/chrome/browser/history/his...
chrome/browser/history/history_types.h:138: explicit URLRowHasURL(const GURL&
url): url_(url) {}
On 2012/04/13 16:54:02, sky wrote:
> nit: '):' -> ') :'

Done.

http://codereview.chromium.org/10031028/diff/12001/chrome/browser/history/his...
chrome/browser/history/history_types.h:146: };
On 2012/04/13 16:54:02, sky wrote:
> DISALLOW_COPY_AND_ASSIGN

Functors need to be copyable.

Powered by Google App Engine
This is Rietveld 408576698