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

Side by Side Diff: content/child/indexed_db/webidbdatabase_impl.h

Issue 196473018: Add safe blob-over-IPC transfer from browser->renderer for IDB. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: style tweaks Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_CHILD_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_ 5 #ifndef CONTENT_CHILD_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_
6 #define CONTENT_CHILD_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_ 6 #define CONTENT_CHILD_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "third_party/WebKit/public/platform/WebIDBCursor.h" 10 #include "third_party/WebKit/public/platform/WebIDBCursor.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 long long indexId, 86 long long indexId,
87 const blink::WebString& name, 87 const blink::WebString& name,
88 const blink::WebIDBKeyPath&, 88 const blink::WebIDBKeyPath&,
89 bool unique, 89 bool unique,
90 bool multiEntry); 90 bool multiEntry);
91 virtual void deleteIndex(long long transactionId, 91 virtual void deleteIndex(long long transactionId,
92 long long objectStoreId, 92 long long objectStoreId,
93 long long indexId); 93 long long indexId);
94 virtual void abort(long long transaction_id); 94 virtual void abort(long long transaction_id);
95 virtual void commit(long long transaction_id); 95 virtual void commit(long long transaction_id);
96 virtual void ackReceivedBlobs(
97 const blink::WebVector<blink::WebString>& uuids);
96 98
97 private: 99 private:
98 int32 ipc_database_id_; 100 int32 ipc_database_id_;
99 int32 ipc_database_callbacks_id_; 101 int32 ipc_database_callbacks_id_;
100 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 102 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
101 }; 103 };
102 104
103 } // namespace content 105 } // namespace content
104 106
105 #endif // CONTENT_CHILD_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_ 107 #endif // CONTENT_CHILD_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_dispatcher_host.cc ('k') | content/child/indexed_db/webidbdatabase_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698