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

Side by Side Diff: chrome/browser/chromeos/file_system_provider/scoped_file_opener_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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/chromeos/file_system_provider/scoped_file_opener.h" 5 #include "chrome/browser/chromeos/file_system_provider/scoped_file_opener.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/files/file.h" 10 #include "base/files/file.h"
11 #include "base/run_loop.h" 11 #include "base/run_loop.h"
12 #include "base/strings/string_number_conversions.h" 12 #include "base/strings/string_number_conversions.h"
13 #include "base/thread_task_runner_handle.h" 13 #include "base/threading/thread_task_runner_handle.h"
14 #include "chrome/browser/chromeos/file_system_provider/fake_provided_file_system .h" 14 #include "chrome/browser/chromeos/file_system_provider/fake_provided_file_system .h"
15 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info .h" 15 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info .h"
16 #include "content/public/test/test_browser_thread_bundle.h" 16 #include "content/public/test/test_browser_thread_bundle.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 18
19 namespace chromeos { 19 namespace chromeos {
20 namespace file_system_provider { 20 namespace file_system_provider {
21 namespace { 21 namespace {
22 22
23 class TestingProvidedFileSystem : public FakeProvidedFileSystem { 23 class TestingProvidedFileSystem : public FakeProvidedFileSystem {
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 } 146 }
147 147
148 ASSERT_EQ(1u, log.size()); 148 ASSERT_EQ(1u, log.size());
149 EXPECT_EQ(0, log[0].first); 149 EXPECT_EQ(0, log[0].first);
150 EXPECT_EQ(base::File::FILE_ERROR_ABORT, log[0].second); 150 EXPECT_EQ(base::File::FILE_ERROR_ABORT, log[0].second);
151 EXPECT_EQ(0u, file_system.close_requests().size()); 151 EXPECT_EQ(0u, file_system.close_requests().size());
152 } 152 }
153 153
154 } // namespace file_system_provider 154 } // namespace file_system_provider
155 } // namespace chromeos 155 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698