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

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

Issue 8743001: IndexedDB: Add support for IDBIndex multientry flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address style nits Created 9 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 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_RENDERER_WEBIDBOBJECTSTORE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_WEBIDBOBJECTSTORE_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_WEBIDBOBJECTSTORE_IMPL_H_ 6 #define CONTENT_RENDERER_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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 const WebKit::WebIDBTransaction& transaction, 43 const WebKit::WebIDBTransaction& transaction,
44 WebKit::WebExceptionCode& ec); 44 WebKit::WebExceptionCode& ec);
45 virtual void clear(WebKit::WebIDBCallbacks* callbacks, 45 virtual void clear(WebKit::WebIDBCallbacks* callbacks,
46 const WebKit::WebIDBTransaction& transaction, 46 const WebKit::WebIDBTransaction& transaction,
47 WebKit::WebExceptionCode& ec); 47 WebKit::WebExceptionCode& ec);
48 48
49 virtual WebKit::WebIDBIndex* createIndex( 49 virtual WebKit::WebIDBIndex* createIndex(
50 const WebKit::WebString& name, 50 const WebKit::WebString& name,
51 const WebKit::WebString& key_path, 51 const WebKit::WebString& key_path,
52 bool unique, 52 bool unique,
53 bool multi_entry,
53 const WebKit::WebIDBTransaction& transaction, 54 const WebKit::WebIDBTransaction& transaction,
54 WebKit::WebExceptionCode& ec); 55 WebKit::WebExceptionCode& ec);
55 // Transfers ownership of the WebIDBIndex to the caller. 56 // Transfers ownership of the WebIDBIndex to the caller.
56 virtual WebKit::WebIDBIndex* index(const WebKit::WebString& name, 57 virtual WebKit::WebIDBIndex* index(const WebKit::WebString& name,
57 WebKit::WebExceptionCode& ec); 58 WebKit::WebExceptionCode& ec);
58 virtual void deleteIndex(const WebKit::WebString& name, 59 virtual void deleteIndex(const WebKit::WebString& name,
59 const WebKit::WebIDBTransaction& transaction, 60 const WebKit::WebIDBTransaction& transaction,
60 WebKit::WebExceptionCode& ec); 61 WebKit::WebExceptionCode& ec);
61 62
62 virtual void openCursor(const WebKit::WebIDBKeyRange& idb_key_range, 63 virtual void openCursor(const WebKit::WebIDBKeyRange& idb_key_range,
63 unsigned short direction, 64 unsigned short direction,
64 WebKit::WebIDBCallbacks* callbacks, 65 WebKit::WebIDBCallbacks* callbacks,
65 const WebKit::WebIDBTransaction& transaction, 66 const WebKit::WebIDBTransaction& transaction,
66 WebKit::WebExceptionCode& ec); 67 WebKit::WebExceptionCode& ec);
67 68
68 private: 69 private:
69 int32 idb_object_store_id_; 70 int32 idb_object_store_id_;
70 }; 71 };
71 72
72 #endif // CONTENT_RENDERER_RENDERER_WEBIDBOBJECTSTORE_IMPL_H_ 73 #endif // CONTENT_RENDERER_RENDERER_WEBIDBOBJECTSTORE_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/indexed_db_messages.h ('k') | content/renderer/renderer_webidbobjectstore_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698