OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "base/memory/scoped_ptr.h" | 5 #include "base/memory/scoped_ptr.h" |
6 #include "base/values.h" | 6 #include "base/values.h" |
| 7 #include "content/child/indexed_db/indexed_db_dispatcher.h" |
| 8 #include "content/child/indexed_db/proxy_webidbcursor_impl.h" |
7 #include "content/common/indexed_db/indexed_db_key.h" | 9 #include "content/common/indexed_db/indexed_db_key.h" |
8 #include "content/common_child/indexed_db/indexed_db_dispatcher.h" | |
9 #include "content/common_child/indexed_db/proxy_webidbcursor_impl.h" | |
10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
11 #include "third_party/WebKit/public/platform/WebData.h" | 11 #include "third_party/WebKit/public/platform/WebData.h" |
12 #include "third_party/WebKit/public/platform/WebIDBCallbacks.h" | 12 #include "third_party/WebKit/public/platform/WebIDBCallbacks.h" |
13 | 13 |
14 using WebKit::WebData; | 14 using WebKit::WebData; |
15 using WebKit::WebIDBCallbacks; | 15 using WebKit::WebIDBCallbacks; |
16 using WebKit::WebIDBDatabase; | 16 using WebKit::WebIDBDatabase; |
17 using WebKit::WebIDBDatabaseError; | 17 using WebKit::WebIDBDatabaseError; |
18 using WebKit::WebIDBKey; | 18 using WebKit::WebIDBKey; |
19 | 19 |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 EXPECT_EQ(expected_key++, key.number()); | 142 EXPECT_EQ(expected_key++, key.number()); |
143 } | 143 } |
144 } | 144 } |
145 } | 145 } |
146 | 146 |
147 EXPECT_EQ(dispatcher.destroyed_cursor_id(), | 147 EXPECT_EQ(dispatcher.destroyed_cursor_id(), |
148 RendererWebIDBCursorImpl::kInvalidCursorId); | 148 RendererWebIDBCursorImpl::kInvalidCursorId); |
149 } | 149 } |
150 | 150 |
151 } // namespace content | 151 } // namespace content |
OLD | NEW |