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

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

Issue 17915004: IndexedDB: Remove uses of WebKit API types from back-end code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « content/child/indexed_db/indexed_db_dispatcher.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "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" 7 #include "content/child/indexed_db/indexed_db_dispatcher.h"
8 #include "content/child/indexed_db/proxy_webidbcursor_impl.h" 8 #include "content/child/indexed_db/proxy_webidbcursor_impl.h"
9 #include "content/child/thread_safe_sender.h" 9 #include "content/child/thread_safe_sender.h"
10 #include "content/common/indexed_db/indexed_db_key.h" 10 #include "content/common/indexed_db/indexed_db_key.h"
11 #include "ipc/ipc_sync_message_filter.h" 11 #include "ipc/ipc_sync_message_filter.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "third_party/WebKit/public/platform/WebData.h" 13 #include "third_party/WebKit/public/platform/WebData.h"
14 #include "third_party/WebKit/public/platform/WebIDBCallbacks.h" 14 #include "third_party/WebKit/public/platform/WebIDBCallbacks.h"
15 15
16 using WebKit::WebData; 16 using WebKit::WebData;
17 using WebKit::WebIDBCallbacks; 17 using WebKit::WebIDBCallbacks;
18 using WebKit::WebIDBDatabase; 18 using WebKit::WebIDBDatabase;
19 using WebKit::WebIDBDatabaseError;
20 using WebKit::WebIDBKey; 19 using WebKit::WebIDBKey;
21 20
22 namespace content { 21 namespace content {
23 22
24 namespace { 23 namespace {
25 24
26 class MockDispatcher : public IndexedDBDispatcher { 25 class MockDispatcher : public IndexedDBDispatcher {
27 public: 26 public:
28 MockDispatcher(ThreadSafeSender* thread_safe_sender) 27 MockDispatcher(ThreadSafeSender* thread_safe_sender)
29 : IndexedDBDispatcher(thread_safe_sender), 28 : IndexedDBDispatcher(thread_safe_sender),
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 EXPECT_EQ(expected_key++, key.number()); 152 EXPECT_EQ(expected_key++, key.number());
154 } 153 }
155 } 154 }
156 } 155 }
157 156
158 EXPECT_EQ(dispatcher.destroyed_cursor_id(), 157 EXPECT_EQ(dispatcher.destroyed_cursor_id(),
159 RendererWebIDBCursorImpl::kInvalidCursorId); 158 RendererWebIDBCursorImpl::kInvalidCursorId);
160 } 159 }
161 160
162 } // namespace content 161 } // namespace content
OLDNEW
« no previous file with comments | « content/child/indexed_db/indexed_db_dispatcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698