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

Issue 2918: Fix for issue 2362: On-demand update hang with "Checking for update..."... (Closed)

Created:
12 years, 3 months ago by Finnur
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com, darin (slow to review)
Visibility:
Public.

Description

Fix for issue 2362: On-demand update hang with "Checking for update..." We have been restructuring the message loop code lately and the MessageLoop on the file thread is not dispatching messages as it was before. I have changed the file thread to start with type MessageLoop::TYPE_IO, which pumps messages in such a way that Google Update can communicate back to us. I'm not sure what the best way to test this is but I ran the UI tests and the unit tests and they all pass. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=2334

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M chrome/browser/browser_process_impl.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
Finnur
12 years, 3 months ago (2008-09-17 00:34:58 UTC) #1
jar (doing other things)
12 years, 3 months ago (2008-09-17 04:36:58 UTC) #2
LGTM (with landing caveat below)

I suspect his was an oversight about the needs of this thread.  He's been
working to distiguish the threads based on their needs, and this use case must
have slipped by.  Darin may have some alternate suggestion (perchance moving
this service/response to another thread?).  For now, your change is quite
compact and to the point.  

Please watch the tree very carefully when you land for performance regressions. 
I'm not sure if there have been any optimizations on this thread that took
advantage of the semantics before you change (but I don't think there were).

You should look at the performance dashboard, which shows all the graphs of all
the performance results.

Thanks,

Jim

Powered by Google App Engine
This is Rietveld 408576698