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

Side by Side Diff: chrome/browser/sync_file_system/drive_backend/callback_helper_unittest.cc

Issue 1967773004: Fix include path for moved thread_task_runner_handle.h header in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393013 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "chrome/browser/sync_file_system/drive_backend/callback_helper.h" 5 #include "chrome/browser/sync_file_system/drive_backend/callback_helper.h"
6 6
7 #include "base/location.h" 7 #include "base/location.h"
8 #include "base/run_loop.h" 8 #include "base/run_loop.h"
9 #include "base/single_thread_task_runner.h" 9 #include "base/single_thread_task_runner.h"
10 #include "base/thread_task_runner_handle.h"
11 #include "base/threading/thread.h" 10 #include "base/threading/thread.h"
11 #include "base/threading/thread_task_runner_handle.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 13
14 namespace sync_file_system { 14 namespace sync_file_system {
15 namespace drive_backend { 15 namespace drive_backend {
16 16
17 namespace { 17 namespace {
18 18
19 void SimpleCallback(bool* called, int) { 19 void SimpleCallback(bool* called, int) {
20 ASSERT_TRUE(called); 20 ASSERT_TRUE(called);
21 EXPECT_FALSE(*called); 21 EXPECT_FALSE(*called);
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 TEST(DriveBackendCallbackHelperTest, PassNullFunctionTest) { 91 TEST(DriveBackendCallbackHelperTest, PassNullFunctionTest) {
92 base::MessageLoop message_loop; 92 base::MessageLoop message_loop;
93 base::Closure closure = RelayCallbackToCurrentThread( 93 base::Closure closure = RelayCallbackToCurrentThread(
94 FROM_HERE, 94 FROM_HERE,
95 base::Closure()); 95 base::Closure());
96 EXPECT_TRUE(closure.is_null()); 96 EXPECT_TRUE(closure.is_null());
97 } 97 }
98 98
99 } // namespace drive_backend 99 } // namespace drive_backend
100 } // namespace sync_file_system 100 } // namespace sync_file_system
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698