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/indexed_db_dispatcher.h" | 5 #include "content/child/indexed_db/indexed_db_dispatcher.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/single_thread_task_runner.h" | 13 #include "base/single_thread_task_runner.h" |
14 #include "base/thread_task_runner_handle.h" | 14 #include "base/threading/thread_task_runner_handle.h" |
15 #include "base/values.h" | 15 #include "base/values.h" |
16 #include "content/child/indexed_db/mock_webidbcallbacks.h" | 16 #include "content/child/indexed_db/mock_webidbcallbacks.h" |
17 #include "content/child/indexed_db/webidbcursor_impl.h" | 17 #include "content/child/indexed_db/webidbcursor_impl.h" |
18 #include "content/child/thread_safe_sender.h" | 18 #include "content/child/thread_safe_sender.h" |
19 #include "content/common/indexed_db/indexed_db_key.h" | 19 #include "content/common/indexed_db/indexed_db_key.h" |
20 #include "content/common/indexed_db/indexed_db_key_range.h" | 20 #include "content/common/indexed_db/indexed_db_key_range.h" |
21 #include "content/common/indexed_db/indexed_db_messages.h" | 21 #include "content/common/indexed_db/indexed_db_messages.h" |
22 #include "ipc/ipc_sync_message_filter.h" | 22 #include "ipc/ipc_sync_message_filter.h" |
23 #include "testing/gtest/include/gtest/gtest.h" | 23 #include "testing/gtest/include/gtest/gtest.h" |
24 #include "third_party/WebKit/public/platform/WebBlobInfo.h" | 24 #include "third_party/WebKit/public/platform/WebBlobInfo.h" |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 other_cursor_ipc_id, cursor1_transaction_id); | 313 other_cursor_ipc_id, cursor1_transaction_id); |
314 | 314 |
315 EXPECT_EQ(2, cursor1->reset_count()); | 315 EXPECT_EQ(2, cursor1->reset_count()); |
316 EXPECT_EQ(0, cursor2->reset_count()); | 316 EXPECT_EQ(0, cursor2->reset_count()); |
317 | 317 |
318 cursor1.reset(); | 318 cursor1.reset(); |
319 cursor2.reset(); | 319 cursor2.reset(); |
320 } | 320 } |
321 | 321 |
322 } // namespace content | 322 } // namespace content |
OLD | NEW |