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

Side by Side Diff: content/common/indexed_db/proxy_webidbindex_impl.cc

Issue 10383221: IndexedDB: Remove IDBIndex.storeName property (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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
« no previous file with comments | « content/common/indexed_db/proxy_webidbindex_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "content/common/indexed_db/proxy_webidbindex_impl.h" 5 #include "content/common/indexed_db/proxy_webidbindex_impl.h"
6 6
7 #include "content/common/indexed_db/indexed_db_dispatcher.h" 7 #include "content/common/indexed_db/indexed_db_dispatcher.h"
8 #include "content/common/indexed_db/indexed_db_messages.h" 8 #include "content/common/indexed_db/indexed_db_messages.h"
9 #include "content/common/indexed_db/proxy_webidbtransaction_impl.h" 9 #include "content/common/indexed_db/proxy_webidbtransaction_impl.h"
10 #include "content/common/child_thread.h" 10 #include "content/common/child_thread.h"
(...skipping 22 matching lines...) Expand all
33 idb_index_id_)); 33 idb_index_id_));
34 } 34 }
35 35
36 WebString RendererWebIDBIndexImpl::name() const { 36 WebString RendererWebIDBIndexImpl::name() const {
37 string16 result; 37 string16 result;
38 IndexedDBDispatcher::Send( 38 IndexedDBDispatcher::Send(
39 new IndexedDBHostMsg_IndexName(idb_index_id_, &result)); 39 new IndexedDBHostMsg_IndexName(idb_index_id_, &result));
40 return result; 40 return result;
41 } 41 }
42 42
43 WebString RendererWebIDBIndexImpl::storeName() const {
44 string16 result;
45 IndexedDBDispatcher::Send(
46 new IndexedDBHostMsg_IndexStoreName(idb_index_id_, &result));
47 return result;
48 }
49
50 WebIDBKeyPath RendererWebIDBIndexImpl::keyPath() const { 43 WebIDBKeyPath RendererWebIDBIndexImpl::keyPath() const {
51 IndexedDBKeyPath result; 44 IndexedDBKeyPath result;
52 IndexedDBDispatcher::Send( 45 IndexedDBDispatcher::Send(
53 new IndexedDBHostMsg_IndexKeyPath(idb_index_id_, &result)); 46 new IndexedDBHostMsg_IndexKeyPath(idb_index_id_, &result));
54 return result; 47 return result;
55 } 48 }
56 49
57 bool RendererWebIDBIndexImpl::unique() const { 50 bool RendererWebIDBIndexImpl::unique() const {
58 bool result; 51 bool result;
59 IndexedDBDispatcher::Send( 52 IndexedDBDispatcher::Send(
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 const WebKit::WebIDBKeyRange& key_range, 112 const WebKit::WebIDBKeyRange& key_range,
120 WebKit::WebIDBCallbacks* callbacks, 113 WebKit::WebIDBCallbacks* callbacks,
121 const WebKit::WebIDBTransaction& transaction, 114 const WebKit::WebIDBTransaction& transaction,
122 WebExceptionCode& ec) { 115 WebExceptionCode& ec) {
123 IndexedDBDispatcher* dispatcher = 116 IndexedDBDispatcher* dispatcher =
124 IndexedDBDispatcher::ThreadSpecificInstance(); 117 IndexedDBDispatcher::ThreadSpecificInstance();
125 dispatcher->RequestIDBIndexGetKey( 118 dispatcher->RequestIDBIndexGetKey(
126 IndexedDBKeyRange(key_range), callbacks, idb_index_id_, 119 IndexedDBKeyRange(key_range), callbacks, idb_index_id_,
127 transaction, &ec); 120 transaction, &ec);
128 } 121 }
OLDNEW
« no previous file with comments | « content/common/indexed_db/proxy_webidbindex_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698