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

Unified Diff: content/browser/devtools/devtools_io_context.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
« no previous file with comments | « components/webdata/common/web_database_service.cc ('k') | content/browser/devtools/devtools_io_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/devtools_io_context.h
diff --git a/content/browser/devtools/devtools_io_context.h b/content/browser/devtools/devtools_io_context.h
index 856ba7f07d08c6201bf7a4c05bf750fc803e7224..92f72b45df7e5108d6c4490fb92d29c45dd522f7 100644
--- a/content/browser/devtools/devtools_io_context.h
+++ b/content/browser/devtools/devtools_io_context.h
@@ -8,14 +8,14 @@
#include "base/callback.h"
#include "base/files/file.h"
-#include "base/memory/ref_counted_delete_on_message_loop.h"
+#include "base/memory/ref_counted_delete_on_sequence.h"
#include "base/memory/ref_counted_memory.h"
namespace content {
class DevToolsIOContext {
public:
- class Stream : public base::RefCountedDeleteOnMessageLoop<Stream> {
+ class Stream : public base::RefCountedDeleteOnSequence<Stream> {
public:
enum Status {
StatusSuccess,
@@ -34,7 +34,7 @@ class DevToolsIOContext {
Stream();
~Stream();
friend class DevToolsIOContext;
- friend class base::RefCountedDeleteOnMessageLoop<Stream>;
+ friend class base::RefCountedDeleteOnSequence<Stream>;
friend class base::DeleteHelper<Stream>;
void ReadOnFileThread(off_t pos, size_t max_size, ReadCallback callback);
« no previous file with comments | « components/webdata/common/web_database_service.cc ('k') | content/browser/devtools/devtools_io_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698