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

Side by Side Diff: chrome/renderer/renderer_webidbdatabase_impl.cc

Issue 3165053: Implement IDBTransaction::objectStore (Closed)
Patch Set: Created 10 years, 4 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/renderer/renderer_webidbdatabase_impl.h" 5 #include "chrome/renderer/renderer_webidbdatabase_impl.h"
6 6
7 #include "chrome/common/render_messages.h" 7 #include "chrome/common/render_messages.h"
8 #include "chrome/renderer/render_thread.h" 8 #include "chrome/renderer/render_thread.h"
9 #include "chrome/renderer/indexed_db_dispatcher.h" 9 #include "chrome/renderer/indexed_db_dispatcher.h"
10 #include "chrome/renderer/renderer_webidbtransaction_impl.h" 10 #include "chrome/renderer/renderer_webidbtransaction_impl.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 unsigned long timeout) { 75 unsigned long timeout) {
76 std::vector<string16> object_stores(names.length()); 76 std::vector<string16> object_stores(names.length());
77 for (unsigned int i = 0; i < names.length(); ++i) { 77 for (unsigned int i = 0; i < names.length(); ++i) {
78 object_stores.push_back(names.item(i)); 78 object_stores.push_back(names.item(i));
79 } 79 }
80 80
81 int transaction_id; 81 int transaction_id;
82 RenderThread::current()->Send( 82 RenderThread::current()->Send(
83 new ViewHostMsg_IDBDatabaseTransaction( 83 new ViewHostMsg_IDBDatabaseTransaction(
84 idb_database_id_, object_stores, mode, timeout, &transaction_id)); 84 idb_database_id_, object_stores, mode, timeout, &transaction_id));
85 return new RendererWebIDBTransactionImpl(transaction_id); 85 return new RendererWebIDBTransactionImpl(transaction_id);
86 } 86 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698