| 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 <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/memory/ptr_util.h" |
| 12 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
| 13 #include "base/strings/stringprintf.h" | 14 #include "base/strings/stringprintf.h" |
| 14 #include "content/child/indexed_db/indexed_db_callbacks_impl.h" | 15 #include "content/child/indexed_db/indexed_db_callbacks_impl.h" |
| 15 #include "content/child/indexed_db/indexed_db_dispatcher.h" | 16 #include "content/child/indexed_db/indexed_db_dispatcher.h" |
| 16 #include "content/child/indexed_db/indexed_db_key_builders.h" | 17 #include "content/child/indexed_db/indexed_db_key_builders.h" |
| 17 #include "mojo/public/cpp/bindings/strong_associated_binding.h" | 18 #include "mojo/public/cpp/bindings/strong_associated_binding.h" |
| 18 #include "third_party/WebKit/public/platform/FilePathConversion.h" | 19 #include "third_party/WebKit/public/platform/FilePathConversion.h" |
| 19 #include "third_party/WebKit/public/platform/WebBlobInfo.h" | 20 #include "third_party/WebKit/public/platform/WebBlobInfo.h" |
| 20 #include "third_party/WebKit/public/platform/WebString.h" | 21 #include "third_party/WebKit/public/platform/WebString.h" |
| 21 #include "third_party/WebKit/public/platform/WebVector.h" | 22 #include "third_party/WebKit/public/platform/WebVector.h" |
| (...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 691 std::unique_ptr<IndexedDBCallbacksImpl> callbacks) { | 692 std::unique_ptr<IndexedDBCallbacksImpl> callbacks) { |
| 692 CallbacksAssociatedPtrInfo ptr_info; | 693 CallbacksAssociatedPtrInfo ptr_info; |
| 693 indexed_db::mojom::CallbacksAssociatedRequest request; | 694 indexed_db::mojom::CallbacksAssociatedRequest request; |
| 694 database_.associated_group()->CreateAssociatedInterface( | 695 database_.associated_group()->CreateAssociatedInterface( |
| 695 mojo::AssociatedGroup::WILL_PASS_PTR, &ptr_info, &request); | 696 mojo::AssociatedGroup::WILL_PASS_PTR, &ptr_info, &request); |
| 696 mojo::MakeStrongAssociatedBinding(std::move(callbacks), std::move(request)); | 697 mojo::MakeStrongAssociatedBinding(std::move(callbacks), std::move(request)); |
| 697 return ptr_info; | 698 return ptr_info; |
| 698 } | 699 } |
| 699 | 700 |
| 700 } // namespace content | 701 } // namespace content |
| OLD | NEW |