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

Unified Diff: content/browser/indexed_db/cursor_impl.h

Issue 2472213003: [IndexedDB] Refactoring to remove ref ptrs and host transaction ids. (Closed)
Patch Set: rebase 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: content/browser/indexed_db/cursor_impl.h
diff --git a/content/browser/indexed_db/cursor_impl.h b/content/browser/indexed_db/cursor_impl.h
index a0b66c0594638b1115f87bcc37e70d947580b30d..69254289cd27628972935caaf6d7bd1ea6c3acc8 100644
--- a/content/browser/indexed_db/cursor_impl.h
+++ b/content/browser/indexed_db/cursor_impl.h
@@ -5,6 +5,8 @@
#ifndef CONTENT_BROWSER_INDEXED_DB_CURSOR_IMPL_H_
#define CONTENT_BROWSER_INDEXED_DB_CURSOR_IMPL_H_
+#include <memory>
+
#include "base/memory/ref_counted.h"
#include "content/common/indexed_db/indexed_db.mojom.h"
@@ -20,7 +22,7 @@ class IndexedDBKey;
class CursorImpl : public ::indexed_db::mojom::Cursor {
public:
- CursorImpl(scoped_refptr<IndexedDBCursor> cursor,
+ CursorImpl(std::unique_ptr<IndexedDBCursor> cursor,
const url::Origin& origin,
scoped_refptr<IndexedDBDispatcherHost> dispatcher_host);
~CursorImpl() override;
« no previous file with comments | « no previous file | content/browser/indexed_db/cursor_impl.cc » ('j') | content/browser/indexed_db/indexed_db_backing_store.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698