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

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

Issue 1133153002: Move Indexed DB Blink API headers to public/platform/modules/indexeddb (2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 #include "content/child/indexed_db/webidbdatabase_impl.h" 5 #include "content/child/indexed_db/webidbdatabase_impl.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "content/child/indexed_db/indexed_db_dispatcher.h" 10 #include "content/child/indexed_db/indexed_db_dispatcher.h"
11 #include "content/child/indexed_db/indexed_db_key_builders.h" 11 #include "content/child/indexed_db/indexed_db_key_builders.h"
12 #include "content/child/thread_safe_sender.h" 12 #include "content/child/thread_safe_sender.h"
13 #include "content/child/worker_task_runner.h" 13 #include "content/child/worker_task_runner.h"
14 #include "content/common/indexed_db/indexed_db_messages.h" 14 #include "content/common/indexed_db/indexed_db_messages.h"
15 #include "third_party/WebKit/public/platform/WebBlobInfo.h" 15 #include "third_party/WebKit/public/platform/WebBlobInfo.h"
16 #include "third_party/WebKit/public/platform/WebIDBKeyPath.h"
17 #include "third_party/WebKit/public/platform/WebIDBMetadata.h"
18 #include "third_party/WebKit/public/platform/WebString.h" 16 #include "third_party/WebKit/public/platform/WebString.h"
19 #include "third_party/WebKit/public/platform/WebVector.h" 17 #include "third_party/WebKit/public/platform/WebVector.h"
18 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBKeyPath.h"
19 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBMetadata.h"
20 20
21 using blink::WebBlobInfo; 21 using blink::WebBlobInfo;
22 using blink::WebIDBCallbacks; 22 using blink::WebIDBCallbacks;
23 using blink::WebIDBCursor; 23 using blink::WebIDBCursor;
24 using blink::WebIDBDatabase; 24 using blink::WebIDBDatabase;
25 using blink::WebIDBDatabaseCallbacks; 25 using blink::WebIDBDatabaseCallbacks;
26 using blink::WebIDBMetadata; 26 using blink::WebIDBMetadata;
27 using blink::WebIDBKey; 27 using blink::WebIDBKey;
28 using blink::WebIDBKeyPath; 28 using blink::WebIDBKeyPath;
29 using blink::WebIDBKeyRange; 29 using blink::WebIDBKeyRange;
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 274
275 void WebIDBDatabaseImpl::ackReceivedBlobs(const WebVector<WebString>& uuids) { 275 void WebIDBDatabaseImpl::ackReceivedBlobs(const WebVector<WebString>& uuids) {
276 DCHECK(uuids.size()); 276 DCHECK(uuids.size());
277 std::vector<std::string> param(uuids.size()); 277 std::vector<std::string> param(uuids.size());
278 for (size_t i = 0; i < uuids.size(); ++i) 278 for (size_t i = 0; i < uuids.size(); ++i)
279 param[i] = uuids[i].latin1().data(); 279 param[i] = uuids[i].latin1().data();
280 thread_safe_sender_->Send(new IndexedDBHostMsg_AckReceivedBlobs(param)); 280 thread_safe_sender_->Send(new IndexedDBHostMsg_AckReceivedBlobs(param));
281 } 281 }
282 282
283 } // namespace content 283 } // namespace content
OLDNEW
« no previous file with comments | « content/child/indexed_db/webidbdatabase_impl.h ('k') | content/child/indexed_db/webidbfactory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698