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

Unified Diff: components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h

Issue 2591963004: Transform RefCountedDeleteOnMessageLoop to RefCountedDeleteOnSequence. (Closed)
Patch Set: similarity Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h
diff --git a/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h b/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h
index 516e4d141516c9f2d4ac565a8d8cbd2cd720ebcb..a9e2d78e81df048b237303cb38bf45b4bedd6a1a 100644
--- a/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h
+++ b/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h
@@ -9,7 +9,7 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/ref_counted_delete_on_message_loop.h"
+#include "base/memory/ref_counted_delete_on_sequence.h"
#include "base/observer_list.h"
#include "base/supports_user_data.h"
#include "components/autofill/core/browser/webdata/autofill_webdata.h"
@@ -39,7 +39,7 @@ class CreditCard;
// WebDataService.
// This class is destroyed on the DB thread.
class AutofillWebDataBackendImpl
- : public base::RefCountedDeleteOnMessageLoop<AutofillWebDataBackendImpl>,
+ : public base::RefCountedDeleteOnSequence<AutofillWebDataBackendImpl>,
public AutofillWebDataBackend {
public:
// |web_database_backend| is used to access the WebDatabase directly for
@@ -184,7 +184,7 @@ class AutofillWebDataBackendImpl
~AutofillWebDataBackendImpl() override;
private:
- friend class base::RefCountedDeleteOnMessageLoop<AutofillWebDataBackendImpl>;
+ friend class base::RefCountedDeleteOnSequence<AutofillWebDataBackendImpl>;
friend class base::DeleteHelper<AutofillWebDataBackendImpl>;
// This makes the destructor public, and thus allows us to aggregate

Powered by Google App Engine
This is Rietveld 408576698