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

Unified Diff: components/webdata/common/web_database_service.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_service.h
diff --git a/components/webdata/common/web_database_service.h b/components/webdata/common/web_database_service.h
index ecd4a814b8d94faa021d5543edff8c57fdbdb95e..7a507ba3f6987d1b6a8e4987cda4f41ae6d401b7 100644
--- a/components/webdata/common/web_database_service.h
+++ b/components/webdata/common/web_database_service.h
@@ -16,7 +16,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/weak_ptr.h"
#include "base/observer_list.h"
#include "base/single_thread_task_runner.h"
@@ -43,7 +43,7 @@ class WebDataServiceConsumer;
////////////////////////////////////////////////////////////////////////////////
class WEBDATA_EXPORT WebDatabaseService
- : public base::RefCountedDeleteOnMessageLoop<WebDatabaseService> {
+ : public base::RefCountedDeleteOnSequence<WebDatabaseService> {
public:
using ReadTask = base::Callback<std::unique_ptr<WDTypedResult>(WebDatabase*)>;
using WriteTask = base::Callback<WebDatabase::State(WebDatabase*)>;
@@ -112,7 +112,7 @@ class WEBDATA_EXPORT WebDatabaseService
private:
class BackendDelegate;
friend class BackendDelegate;
- friend class base::RefCountedDeleteOnMessageLoop<WebDatabaseService>;
+ friend class base::RefCountedDeleteOnSequence<WebDatabaseService>;
friend class base::DeleteHelper<WebDatabaseService>;
using LoadedCallbacks = std::vector<DBLoadedCallback>;
« no previous file with comments | « components/webdata/common/web_database_backend.cc ('k') | components/webdata/common/web_database_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698