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

Side by Side Diff: components/storage_monitor/storage_monitor_linux_unittest.cc

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 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 // StorageMonitorLinux unit tests. 5 // StorageMonitorLinux unit tests.
6 6
7 #include "components/storage_monitor/storage_monitor_linux.h" 7 #include "components/storage_monitor/storage_monitor_linux.h"
8 8
9 #include <mntent.h> 9 #include <mntent.h>
10 #include <stddef.h> 10 #include <stddef.h>
11 #include <stdint.h> 11 #include <stdint.h>
12 #include <stdio.h> 12 #include <stdio.h>
13 13
14 #include <memory> 14 #include <memory>
15 #include <string> 15 #include <string>
16 16
17 #include "base/files/file_util.h" 17 #include "base/files/file_util.h"
18 #include "base/files/scoped_temp_dir.h" 18 #include "base/files/scoped_temp_dir.h"
19 #include "base/logging.h" 19 #include "base/logging.h"
20 #include "base/macros.h" 20 #include "base/macros.h"
21 #include "base/run_loop.h" 21 #include "base/run_loop.h"
22 #include "base/strings/utf_string_conversions.h" 22 #include "base/strings/utf_string_conversions.h"
23 #include "base/thread_task_runner_handle.h" 23 #include "base/threading/thread_task_runner_handle.h"
24 #include "components/storage_monitor/mock_removable_storage_observer.h" 24 #include "components/storage_monitor/mock_removable_storage_observer.h"
25 #include "components/storage_monitor/removable_device_constants.h" 25 #include "components/storage_monitor/removable_device_constants.h"
26 #include "components/storage_monitor/storage_info.h" 26 #include "components/storage_monitor/storage_info.h"
27 #include "components/storage_monitor/storage_monitor.h" 27 #include "components/storage_monitor/storage_monitor.h"
28 #include "components/storage_monitor/test_media_transfer_protocol_manager_linux. h" 28 #include "components/storage_monitor/test_media_transfer_protocol_manager_linux. h"
29 #include "components/storage_monitor/test_storage_monitor.h" 29 #include "components/storage_monitor/test_storage_monitor.h"
30 #include "content/public/test/test_browser_thread_bundle.h" 30 #include "content/public/test/test_browser_thread_bundle.h"
31 #include "testing/gtest/include/gtest/gtest.h" 31 #include "testing/gtest/include/gtest/gtest.h"
32 32
33 namespace storage_monitor { 33 namespace storage_monitor {
(...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 GetStorageSize(test_path_a)); 680 GetStorageSize(test_path_a));
681 EXPECT_EQ(GetDevicePartitionSize(kDeviceNoDCIM), 681 EXPECT_EQ(GetDevicePartitionSize(kDeviceNoDCIM),
682 GetStorageSize(test_path_b)); 682 GetStorageSize(test_path_b));
683 EXPECT_EQ(GetDevicePartitionSize(kInvalidPath), 683 EXPECT_EQ(GetDevicePartitionSize(kInvalidPath),
684 GetStorageSize(base::FilePath(kInvalidPath))); 684 GetStorageSize(base::FilePath(kInvalidPath)));
685 } 685 }
686 686
687 } // namespace 687 } // namespace
688 688
689 } // namespace storage_monitor 689 } // namespace storage_monitor
OLDNEW
« no previous file with comments | « components/ssl_config/ssl_config_service_manager_pref_unittest.cc ('k') | components/suggestions/image_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698