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

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

Issue 1967823004: Fix include path for moved thread_task_runner_handle.h header in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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
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 "content/child/indexed_db/webidbcursor_impl.h" 5 #include "content/child/indexed_db/webidbcursor_impl.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/memory/ptr_util.h" 13 #include "base/memory/ptr_util.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/indexed_db_dispatcher.h" 16 #include "content/child/indexed_db/indexed_db_dispatcher.h"
17 #include "content/child/indexed_db/indexed_db_key_builders.h" 17 #include "content/child/indexed_db/indexed_db_key_builders.h"
18 #include "content/child/indexed_db/mock_webidbcallbacks.h" 18 #include "content/child/indexed_db/mock_webidbcallbacks.h"
19 #include "content/child/thread_safe_sender.h" 19 #include "content/child/thread_safe_sender.h"
20 #include "content/common/indexed_db/indexed_db_key.h" 20 #include "content/common/indexed_db/indexed_db_key.h"
21 #include "ipc/ipc_sync_message_filter.h" 21 #include "ipc/ipc_sync_message_filter.h"
22 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
23 #include "third_party/WebKit/public/platform/WebData.h" 23 #include "third_party/WebKit/public/platform/WebData.h"
24 24
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 // The real dispatcher would call cursor->CachedContinue(), so do that: 332 // The real dispatcher would call cursor->CachedContinue(), so do that:
333 MockContinueCallbacks callbacks; 333 MockContinueCallbacks callbacks;
334 cursor.CachedContinue(&callbacks); 334 cursor.CachedContinue(&callbacks);
335 335
336 // Now the cursor should have reset the rest of the cache. 336 // Now the cursor should have reset the rest of the cache.
337 EXPECT_EQ(1, dispatcher_->reset_calls()); 337 EXPECT_EQ(1, dispatcher_->reset_calls());
338 EXPECT_EQ(1, dispatcher_->last_used_count()); 338 EXPECT_EQ(1, dispatcher_->last_used_count());
339 } 339 }
340 340
341 } // namespace content 341 } // namespace content
OLDNEW
« no previous file with comments | « content/child/indexed_db/indexed_db_dispatcher_unittest.cc ('k') | content/child/power_monitor_broadcast_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698