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

Issue 16938006: Adds RefCountedDeleteOnMessageLoop (Closed)

Created:
7 years, 6 months ago by droger
Modified:
7 years, 6 months ago
CC:
chromium-reviews, Raman Kakilate, benquan, ahutter, browser-components-watch_chromium.org, gavinp+memory_chromium.org, dbeam+watch-autofill_chromium.org, Dane Wallinga, dyu1, estade+watch_chromium.org, Albert Bodenhamer, erikwright+watch_chromium.org, Ilya Sherman, rouslan+autofillwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Adds RefCountedDeleteOnMessageLoop RefCountedDeleteOnMessageLoop is similar to RefCountedThreadSafe, but guarantees that the referenced object will be deleted on the specified loop. The functionality is similar to content::DeleteOnThread<> but does not depend on BrowserThread. The CL includes an example use of the class. BUG=248049 TBR=stuartmorgan, joth Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=206445

Patch Set 1 #

Patch Set 2 : Removed virtual destructor #

Patch Set 3 : Fix missing include #

Total comments: 2

Patch Set 4 : Review comments #

Patch Set 5 : Fix android compilation #

Patch Set 6 : Update the gyp file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -17 lines) Patch
M android_webview/browser/aw_form_database_service.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M base/base.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A base/memory/ref_counted_delete_on_message_loop.h View 1 2 3 1 chunk +70 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/password_store_win_unittest.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/webdata/web_data_service_factory.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/autofill/browser/webdata/web_data_service_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/webdata/common/web_database_service.h View 1 3 chunks +7 lines, -10 lines 0 comments Download
M components/webdata/common/web_database_service.cc View 1 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
droger
The context of this CL is a project to remove dependency of some components on ...
7 years, 6 months ago (2013-06-13 17:19:26 UTC) #1
Mark Mentovai
LGTM in base with these changes. https://codereview.chromium.org/16938006/diff/13001/base/memory/ref_counted_delete_on_message_loop.h File base/memory/ref_counted_delete_on_message_loop.h (right): https://codereview.chromium.org/16938006/diff/13001/base/memory/ref_counted_delete_on_message_loop.h#newcode15 base/memory/ref_counted_delete_on_message_loop.h:15: // RefCountedDeleteOnMessageLoop is ...
7 years, 6 months ago (2013-06-13 18:36:33 UTC) #2
Jói
LGTM with Mark's comments addressed.
7 years, 6 months ago (2013-06-13 22:51:51 UTC) #3
droger
TBR OWNERS: joth: for android_webview/browser/aw_form_database_service.cc stuartmorgan: for chrome/browser/password_manager/password_store_win_unittest.cc
7 years, 6 months ago (2013-06-14 10:44:12 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/droger@chromium.org/16938006/27001
7 years, 6 months ago (2013-06-14 10:44:48 UTC) #5
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) chrome_frame_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=163419
7 years, 6 months ago (2013-06-14 14:14:08 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/droger@chromium.org/16938006/27001
7 years, 6 months ago (2013-06-14 15:05:20 UTC) #7
commit-bot: I haz the power
7 years, 6 months ago (2013-06-14 18:03:08 UTC) #8
Message was sent while issue was closed.
Change committed as 206445

Powered by Google App Engine
This is Rietveld 408576698