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

Issue 1837003: Created a stock implementation of the MessageLoopProxy interface than can be ... (Closed)

Created:
10 years, 7 months ago by sanjeevr
Modified:
9 years, 7 months ago
CC:
chromium-reviews, brettw-cc_chromium.org
Visibility:
Public.

Description

Created a stock implementation of the MessageLoopProxy interface than can be used to create an implementation that targets the current thread's message loop. BUG=None TEST=Unit tests provided. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=46591

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : Fixed lint errors #

Total comments: 2

Patch Set 4 : Test fixed #

Total comments: 2

Patch Set 5 : More tests fixed #

Total comments: 10

Patch Set 6 : '' #

Patch Set 7 : Fixed lint errors #

Patch Set 8 : Rearranged header files #

Unified diffs Side-by-side diffs Delta from patch set Stats (+369 lines, -24 lines) Patch
M base/base.gyp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M base/base.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M base/message_loop_proxy.h View 6 2 chunks +27 lines, -1 line 0 comments Download
A base/message_loop_proxy_impl.h View 1 2 3 4 5 6 7 1 chunk +61 lines, -0 lines 0 comments Download
A base/message_loop_proxy_impl.cc View 1 2 3 4 5 6 7 1 chunk +101 lines, -0 lines 0 comments Download
A base/message_loop_proxy_impl_unittest.cc View 1 2 3 4 5 6 7 1 chunk +131 lines, -0 lines 0 comments Download
M base/thread.h View 3 chunks +15 lines, -0 lines 0 comments Download
M base/thread.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/chrome_plugin_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chrome_thread.h View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/chrome_thread.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/chrome_thread_unittest.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/net/chrome_url_request_context.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/net/chrome_url_request_context.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/net/url_fetcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/net/url_fetcher_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/net/url_request_context_getter.h View 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/net/url_request_context_getter.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/http_bridge.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/http_bridge.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/http_bridge_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/testing_profile.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
sanjeevr
10 years, 7 months ago (2010-05-03 23:07:58 UTC) #1
Paweł Hajdan Jr.
Drive-by with a test comment. http://codereview.chromium.org/1837003/diff/11001/12004 File base/message_loop_proxy_impl_unittest.cc (right): http://codereview.chromium.org/1837003/diff/11001/12004#newcode23 base/message_loop_proxy_impl_unittest.cc:23: CHECK(io_thread_->message_loop_proxy()->BelongsToCurrentThread()); Could you replace ...
10 years, 7 months ago (2010-05-04 04:39:47 UTC) #2
sanjeevr
http://codereview.chromium.org/1837003/diff/11001/12004 File base/message_loop_proxy_impl_unittest.cc (right): http://codereview.chromium.org/1837003/diff/11001/12004#newcode23 base/message_loop_proxy_impl_unittest.cc:23: CHECK(io_thread_->message_loop_proxy()->BelongsToCurrentThread()); On 2010/05/04 04:39:52, Paweł Hajdan Jr. wrote: > ...
10 years, 7 months ago (2010-05-04 17:23:28 UTC) #3
Paweł Hajdan Jr.
http://codereview.chromium.org/1837003/diff/17001/18004 File base/message_loop_proxy_impl_unittest.cc (right): http://codereview.chromium.org/1837003/diff/17001/18004#newcode83 base/message_loop_proxy_impl_unittest.cc:83: CHECK(false); There is still one CHECK here. However, the ...
10 years, 7 months ago (2010-05-04 17:25:34 UTC) #4
sanjeevr
This code is largely a copy-paste from chrome_thread_unittest.cc. There are equivalent CHECKs there which we ...
10 years, 7 months ago (2010-05-04 17:35:01 UTC) #5
Paweł Hajdan Jr.
Code I commented in the drive-by LGTM.
10 years, 7 months ago (2010-05-04 17:39:43 UTC) #6
darin (slow to review)
http://codereview.chromium.org/1837003/diff/24001/25003 File base/message_loop_proxy_impl.cc (right): http://codereview.chromium.org/1837003/diff/24001/25003#newcode13 base/message_loop_proxy_impl.cc:13: class MessageLoopProxyImpl::Core I think you can avoid the Core ...
10 years, 7 months ago (2010-05-05 06:33:10 UTC) #7
sanjeevr
Made all the changes. The CL has more files now because of all the places ...
10 years, 7 months ago (2010-05-05 23:34:07 UTC) #8
darin (slow to review)
10 years, 7 months ago (2010-05-06 18:29:20 UTC) #9
LGTM

Powered by Google App Engine
This is Rietveld 408576698