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

Unified Diff: content/public/browser/indexed_db_context.h

Issue 417573004: indexeddb: Removed use of dangling ptr in writeBlobToFileOnIOThread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Also scoped LocalWriteClosure::task_runner_ Created 6 years, 5 months 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 | « content/browser/indexed_db/indexed_db_fake_backing_store.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/indexed_db_context.h
diff --git a/content/public/browser/indexed_db_context.h b/content/public/browser/indexed_db_context.h
index 27c254caf7a48325272c3b3492b1eb34934f58fc..af469e33027e45c9bb1e113b0f1870352bb7beeb 100644
--- a/content/public/browser/indexed_db_context.h
+++ b/content/public/browser/indexed_db_context.h
@@ -5,6 +5,7 @@
#ifndef CONTENT_PUBLIC_BROWSER_INDEXED_DB_CONTEXT_H_
#define CONTENT_PUBLIC_BROWSER_INDEXED_DB_CONTEXT_H_
+#include <string>
#include <vector>
#include "base/basictypes.h"
@@ -15,7 +16,6 @@
namespace base {
class SequencedTaskRunner;
-class TaskRunner;
}
namespace content {
@@ -25,7 +25,7 @@ namespace content {
class IndexedDBContext : public base::RefCountedThreadSafe<IndexedDBContext> {
public:
// Only call the below methods by posting to this TaskRunner.
- virtual base::TaskRunner* TaskRunner() const = 0;
+ virtual base::SequencedTaskRunner* TaskRunner() const = 0;
// Methods used in response to QuotaManager requests.
virtual std::vector<IndexedDBInfo> GetAllOriginsInfo() = 0;
« no previous file with comments | « content/browser/indexed_db/indexed_db_fake_backing_store.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698