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

Issue 10825118: Speculative resource prefetching - Test fixes. (Closed)

Created:
8 years, 4 months ago by Shishir
Modified:
8 years, 4 months ago
Reviewers:
dominich
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Speculative resource prefetching - Test fixes. - Removing dcheck that two navigations on the same renderview with the same url should not have the same creation time. It looks like it is possible for tests to be able to do this and theoretically it is possible for this to happen in production. The code already this handles this case well, so the check will not be missed. - Add a check to see if WebContents returns empty URL before calling OnNavigationComplete. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149353

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fixing comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -9 lines) Patch
M chrome/browser/predictors/resource_prefetch_predictor.cc View 1 2 chunks +4 lines, -9 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Shishir
Please take a look.
8 years, 4 months ago (2012-07-31 22:52:08 UTC) #1
dominich
https://chromiumcodereview.appspot.com/10825118/diff/1/chrome/browser/predictors/resource_prefetch_predictor.cc File chrome/browser/predictors/resource_prefetch_predictor.cc (right): https://chromiumcodereview.appspot.com/10825118/diff/1/chrome/browser/predictors/resource_prefetch_predictor.cc#newcode411 chrome/browser/predictors/resource_prefetch_predictor.cc:411: // WebContents can return an empty URL if the ...
8 years, 4 months ago (2012-07-31 23:08:50 UTC) #2
Shishir
https://chromiumcodereview.appspot.com/10825118/diff/1/chrome/browser/predictors/resource_prefetch_predictor.cc File chrome/browser/predictors/resource_prefetch_predictor.cc (right): https://chromiumcodereview.appspot.com/10825118/diff/1/chrome/browser/predictors/resource_prefetch_predictor.cc#newcode411 chrome/browser/predictors/resource_prefetch_predictor.cc:411: // WebContents can return an empty URL if the ...
8 years, 4 months ago (2012-07-31 23:29:35 UTC) #3
dominich
lgtm
8 years, 4 months ago (2012-08-01 00:40:24 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shishir@chromium.org/10825118/9001
8 years, 4 months ago (2012-08-01 00:41:21 UTC) #5
commit-bot: I haz the power
8 years, 4 months ago (2012-08-01 02:07:19 UTC) #6
Change committed as 149353

Powered by Google App Engine
This is Rietveld 408576698