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

Issue 10382224: Omnibox: search provider: fix timing histogram (Closed)

Created:
8 years, 7 months ago by Mark P
Modified:
8 years, 7 months ago
Reviewers:
Ilya Sherman
CC:
chromium-reviews, James Su
Visibility:
Public.

Description

Omnibox: search provider: fix timing histogram The current implementation of the timing histogram causes a DCHECK when search provider suggest requests switch from success to failure or vice versa. This fixes the problem. I cannot test this to see if it works. I think it should. (The only machine I have configured to build chrome on is remote, so I cannot play with whether its network is enabled or not lest I lose my connection to it permanently.) BUG=128613 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137943

Patch Set 1 #

Total comments: 7

Patch Set 2 : Ilya's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -6 lines) Patch
M chrome/browser/autocomplete/search_provider.cc View 1 2 chunks +12 lines, -6 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Mark P
Also, a bigger favor: can you patch this and test it for me? I think ...
8 years, 7 months ago (2012-05-17 22:26:20 UTC) #1
Ilya Sherman
LGTM (with nits). Tested on my Mac, no DCHECKs hit. http://codereview.chromium.org/10382224/diff/1/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): http://codereview.chromium.org/10382224/diff/1/chrome/browser/autocomplete/search_provider.cc#newcode342 ...
8 years, 7 months ago (2012-05-17 22:53:15 UTC) #2
Mark P
http://codereview.chromium.org/10382224/diff/1/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): http://codereview.chromium.org/10382224/diff/1/chrome/browser/autocomplete/search_provider.cc#newcode342 chrome/browser/autocomplete/search_provider.cc:342: bool request_succeeded = false; On 2012/05/17 22:53:15, Ilya Sherman ...
8 years, 7 months ago (2012-05-18 13:23:07 UTC) #3
Ilya Sherman
(Still LGTM)
8 years, 7 months ago (2012-05-18 18:41:13 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/10382224/4001
8 years, 7 months ago (2012-05-18 18:45:18 UTC) #5
commit-bot: I haz the power
8 years, 7 months ago (2012-05-18 20:27:12 UTC) #6
Change committed as 137943

Powered by Google App Engine
This is Rietveld 408576698