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

Unified Diff: components/webdata/common/web_database_backend.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/webdata/common/web_database_backend.h
diff --git a/components/webdata/common/web_database_backend.h b/components/webdata/common/web_database_backend.h
index 42116fdd3a8a6f8eeb3f2fb3d202107ebd8be3c5..8c2df1a7ef236b75ba3b770b9b50488d22c14fdf 100644
--- a/components/webdata/common/web_database_backend.h
+++ b/components/webdata/common/web_database_backend.h
@@ -12,7 +12,7 @@
#include "base/files/file_path.h"
#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/memory/scoped_vector.h"
#include "base/single_thread_task_runner.h"
#include "components/webdata/common/web_database_service.h"
@@ -28,7 +28,7 @@ class WebDataRequestManager;
// DB thread.
class WEBDATA_EXPORT WebDatabaseBackend
- : public base::RefCountedDeleteOnMessageLoop<WebDatabaseBackend> {
+ : public base::RefCountedDeleteOnSequence<WebDatabaseBackend> {
public:
class Delegate {
public:
@@ -78,7 +78,7 @@ class WEBDATA_EXPORT WebDatabaseBackend
WebDatabase* database() { return db_.get(); }
protected:
- friend class base::RefCountedDeleteOnMessageLoop<WebDatabaseBackend>;
+ friend class base::RefCountedDeleteOnSequence<WebDatabaseBackend>;
friend class base::DeleteHelper<WebDatabaseBackend>;
virtual ~WebDatabaseBackend();
« no previous file with comments | « components/webdata/common/web_data_service_base.cc ('k') | components/webdata/common/web_database_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698