Adds RefCountedDeleteOnMessageLoop
commit1f0c46213502eec4aa27aa9372323c66e2ee0224
authordroger@chromium.org <droger@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 14 Jun 2013 18:03:03 +0000 (14 18:03 +0000)
committerdroger@chromium.org <droger@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 14 Jun 2013 18:03:03 +0000 (14 18:03 +0000)
tree78bffdf3440c7918f63ed0bec27828eb92f1426a
parent716775259699430736d1a461131d2bc9982e1dc3
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

Review URL: https://chromiumcodereview.appspot.com/16938006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206445 0039d316-1c4b-4281-b951-d872f2087c98
android_webview/browser/aw_form_database_service.cc
base/base.gypi
base/memory/ref_counted_delete_on_message_loop.h [new file with mode: 0644]
chrome/browser/password_manager/password_store_win_unittest.cc
chrome/browser/webdata/web_data_service_factory.cc
components/autofill/browser/webdata/web_data_service_unittest.cc
components/webdata/common/web_database_service.cc
components/webdata/common/web_database_service.h