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

Issue 10915010: BrowsingDataRemover: Work around HistoryService not handling delete_end as expected. (Closed)

Created:
8 years, 3 months ago by marja
Modified:
8 years, 3 months ago
CC:
chromium-reviews, markusheintz_, Mike West, sky
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

BrowsingDataRemover: Work around HistoryService not handling delete_end as expected. BUG=145680

Patch Set 1 #

Total comments: 2

Patch Set 2 : added a todo #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M chrome/browser/browsing_data/browsing_data_remover.cc View 1 1 chunk +5 lines, -1 line 2 comments Download

Messages

Total messages: 5 (0 generated)
rohitrao (ping after 24h)
http://codereview.chromium.org/10915010/diff/1/chrome/browser/browsing_data/browsing_data_remover.cc File chrome/browser/browsing_data/browsing_data_remover.cc (right): http://codereview.chromium.org/10915010/diff/1/chrome/browser/browsing_data/browsing_data_remover.cc#newcode249 chrome/browser/browsing_data/browsing_data_remover.cc:249: delete_begin_, base::Time(), This hack only works if callers always ...
8 years, 3 months ago (2012-08-30 15:25:15 UTC) #1
marja
http://codereview.chromium.org/10915010/diff/1/chrome/browser/browsing_data/browsing_data_remover.cc File chrome/browser/browsing_data/browsing_data_remover.cc (right): http://codereview.chromium.org/10915010/diff/1/chrome/browser/browsing_data/browsing_data_remover.cc#newcode249 chrome/browser/browsing_data/browsing_data_remover.cc:249: delete_begin_, base::Time(), On 2012/08/30 15:25:16, rohitrao wrote: > This ...
8 years, 3 months ago (2012-08-30 15:28:44 UTC) #2
marja
mkwst & sky, could you review this workaround? Thanks!
8 years, 3 months ago (2012-08-31 09:56:17 UTC) #3
sky
http://codereview.chromium.org/10915010/diff/4002/chrome/browser/browsing_data/browsing_data_remover.cc File chrome/browser/browsing_data/browsing_data_remover.cc (right): http://codereview.chromium.org/10915010/diff/4002/chrome/browser/browsing_data/browsing_data_remover.cc#newcode247 chrome/browser/browsing_data/browsing_data_remover.cc:247: // delete_begin_). TODO(sky, rohitrao): Remove this workaround when the ...
8 years, 3 months ago (2012-08-31 15:50:06 UTC) #4
rohitrao (ping after 24h)
8 years, 3 months ago (2012-08-31 15:53:35 UTC) #5
http://codereview.chromium.org/10915010/diff/4002/chrome/browser/browsing_dat...
File chrome/browser/browsing_data/browsing_data_remover.cc (right):

http://codereview.chromium.org/10915010/diff/4002/chrome/browser/browsing_dat...
chrome/browser/browsing_data/browsing_data_remover.cc:247: // delete_begin_).
TODO(sky, rohitrao): Remove this workaround when the
On 2012/08/31 15:50:06, sky wrote:
> This worries me in so far as you're assuming delete_end_ is always going to be
> nowish. If that's the case, can we explicitly remove delete_end_ to make that
> clear?

Per an earlier comment, the Extensions API allows extensions to clear arbitrary
time ranges, so this will break for any extension that does so.  That seems bad.

Is there any way to test for a "nowish" Time?

Powered by Google App Engine
This is Rietveld 408576698