| OLD | NEW |
| 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 <vector> | 8 #include <vector> |
| 8 | 9 |
| 9 #include "content/child/indexed_db/indexed_db_dispatcher.h" | 10 #include "content/child/indexed_db/indexed_db_dispatcher.h" |
| 10 #include "content/child/indexed_db/indexed_db_key_builders.h" | 11 #include "content/child/indexed_db/indexed_db_key_builders.h" |
| 11 #include "content/child/thread_safe_sender.h" | 12 #include "content/child/thread_safe_sender.h" |
| 12 #include "content/child/worker_task_runner.h" | 13 #include "content/child/worker_task_runner.h" |
| 13 #include "content/common/indexed_db/indexed_db_messages.h" | 14 #include "content/common/indexed_db/indexed_db_messages.h" |
| 14 #include "third_party/WebKit/public/platform/WebBlobInfo.h" | 15 #include "third_party/WebKit/public/platform/WebBlobInfo.h" |
| 15 #include "third_party/WebKit/public/platform/WebIDBKeyPath.h" | 16 #include "third_party/WebKit/public/platform/WebIDBKeyPath.h" |
| 16 #include "third_party/WebKit/public/platform/WebIDBMetadata.h" | 17 #include "third_party/WebKit/public/platform/WebIDBMetadata.h" |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 | 293 |
| 293 void WebIDBDatabaseImpl::ackReceivedBlobs(const WebVector<WebString>& uuids) { | 294 void WebIDBDatabaseImpl::ackReceivedBlobs(const WebVector<WebString>& uuids) { |
| 294 DCHECK(uuids.size()); | 295 DCHECK(uuids.size()); |
| 295 std::vector<std::string> param(uuids.size()); | 296 std::vector<std::string> param(uuids.size()); |
| 296 for (size_t i = 0; i < uuids.size(); ++i) | 297 for (size_t i = 0; i < uuids.size(); ++i) |
| 297 param[i] = uuids[i].latin1().data(); | 298 param[i] = uuids[i].latin1().data(); |
| 298 thread_safe_sender_->Send(new IndexedDBHostMsg_AckReceivedBlobs(param)); | 299 thread_safe_sender_->Send(new IndexedDBHostMsg_AckReceivedBlobs(param)); |
| 299 } | 300 } |
| 300 | 301 |
| 301 } // namespace content | 302 } // namespace content |
| OLD | NEW |