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

Side by Side Diff: content/renderer/indexed_db/renderer_webidbobjectstore_impl.h

Issue 9389025: IndexedDB: Implement IPC plumbing for IDBObjectStore.delete(IDBKeyRange) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_RENDERER_INDEXED_DB_RENDERER_WEBIDBOBJECTSTORE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_INDEXED_DB_RENDERER_WEBIDBOBJECTSTORE_IMPL_H_
6 #define CONTENT_RENDERER_INDEXED_DB_RENDERER_WEBIDBOBJECTSTORE_IMPL_H_ 6 #define CONTENT_RENDERER_INDEXED_DB_RENDERER_WEBIDBOBJECTSTORE_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h"
(...skipping 24 matching lines...) Expand all
35 virtual void put(const WebKit::WebSerializedScriptValue& value, 35 virtual void put(const WebKit::WebSerializedScriptValue& value,
36 const WebKit::WebIDBKey& key, 36 const WebKit::WebIDBKey& key,
37 PutMode put_mode, 37 PutMode put_mode,
38 WebKit::WebIDBCallbacks* callbacks, 38 WebKit::WebIDBCallbacks* callbacks,
39 const WebKit::WebIDBTransaction& transaction, 39 const WebKit::WebIDBTransaction& transaction,
40 WebKit::WebExceptionCode& ec); 40 WebKit::WebExceptionCode& ec);
41 virtual void deleteFunction(const WebKit::WebIDBKey& key, 41 virtual void deleteFunction(const WebKit::WebIDBKey& key,
42 WebKit::WebIDBCallbacks* callbacks, 42 WebKit::WebIDBCallbacks* callbacks,
43 const WebKit::WebIDBTransaction& transaction, 43 const WebKit::WebIDBTransaction& transaction,
44 WebKit::WebExceptionCode& ec); 44 WebKit::WebExceptionCode& ec);
45 virtual void deleteFunction(const WebKit::WebIDBKeyRange& key_range,
michaeln 2012/02/14 20:39:33 we generally avoid overloading method names for cl
46 WebKit::WebIDBCallbacks* callbacks,
47 const WebKit::WebIDBTransaction& transaction,
48 WebKit::WebExceptionCode& ec);
45 virtual void clear(WebKit::WebIDBCallbacks* callbacks, 49 virtual void clear(WebKit::WebIDBCallbacks* callbacks,
46 const WebKit::WebIDBTransaction& transaction, 50 const WebKit::WebIDBTransaction& transaction,
47 WebKit::WebExceptionCode& ec); 51 WebKit::WebExceptionCode& ec);
48 52
49 virtual WebKit::WebIDBIndex* createIndex( 53 virtual WebKit::WebIDBIndex* createIndex(
50 const WebKit::WebString& name, 54 const WebKit::WebString& name,
51 const WebKit::WebString& key_path, 55 const WebKit::WebString& key_path,
52 bool unique, 56 bool unique,
53 bool multi_entry, 57 bool multi_entry,
54 const WebKit::WebIDBTransaction& transaction, 58 const WebKit::WebIDBTransaction& transaction,
(...skipping 14 matching lines...) Expand all
69 virtual void count(const WebKit::WebIDBKeyRange& idb_key_range, 73 virtual void count(const WebKit::WebIDBKeyRange& idb_key_range,
70 WebKit::WebIDBCallbacks* callbacks, 74 WebKit::WebIDBCallbacks* callbacks,
71 const WebKit::WebIDBTransaction& transaction, 75 const WebKit::WebIDBTransaction& transaction,
72 WebKit::WebExceptionCode& ec); 76 WebKit::WebExceptionCode& ec);
73 77
74 private: 78 private:
75 int32 idb_object_store_id_; 79 int32 idb_object_store_id_;
76 }; 80 };
77 81
78 #endif // CONTENT_RENDERER_INDEXED_DB_RENDERER_WEBIDBOBJECTSTORE_IMPL_H_ 82 #endif // CONTENT_RENDERER_INDEXED_DB_RENDERER_WEBIDBOBJECTSTORE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698