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

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

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 "components/storage_monitor/test_storage_monitor.h" 5 #include "components/storage_monitor/test_storage_monitor.h"
6 6
7 #include "base/run_loop.h" 7 #include "base/run_loop.h"
8 #include "base/synchronization/waitable_event.h" 8 #include "base/synchronization/waitable_event.h"
9 #include "build/build_config.h"
9 #include "components/storage_monitor/storage_info.h" 10 #include "components/storage_monitor/storage_info.h"
10 11
11 #if defined(OS_LINUX) 12 #if defined(OS_LINUX)
12 #include "components/storage_monitor/test_media_transfer_protocol_manager_linux. h" 13 #include "components/storage_monitor/test_media_transfer_protocol_manager_linux. h"
13 #include "device/media_transfer_protocol/media_transfer_protocol_manager.h" // nogncheck 14 #include "device/media_transfer_protocol/media_transfer_protocol_manager.h" // nogncheck
14 #endif 15 #endif
15 16
16 namespace storage_monitor { 17 namespace storage_monitor {
17 18
18 TestStorageMonitor::TestStorageMonitor() 19 TestStorageMonitor::TestStorageMonitor()
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 ejected_device_ = device_id; 129 ejected_device_ = device_id;
129 callback.Run(EJECT_OK); 130 callback.Run(EJECT_OK);
130 } 131 }
131 132
132 void TestStorageMonitor::AddRemovablePath(const base::FilePath& path) { 133 void TestStorageMonitor::AddRemovablePath(const base::FilePath& path) {
133 CHECK(path.IsAbsolute()); 134 CHECK(path.IsAbsolute());
134 removable_paths_.push_back(path); 135 removable_paths_.push_back(path);
135 } 136 }
136 137
137 } // namespace storage_monitor 138 } // namespace storage_monitor
OLDNEW
« no previous file with comments | « components/storage_monitor/test_storage_monitor.h ('k') | components/storage_monitor/test_storage_monitor_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698