OLD | NEW |
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 #ifndef COMPONENTS_STORAGE_MONITOR_TEST_STORAGE_MONITOR_H_ | 5 #ifndef COMPONENTS_STORAGE_MONITOR_TEST_STORAGE_MONITOR_H_ |
6 #define COMPONENTS_STORAGE_MONITOR_TEST_STORAGE_MONITOR_H_ | 6 #define COMPONENTS_STORAGE_MONITOR_TEST_STORAGE_MONITOR_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "build/build_config.h" |
10 #include "components/storage_monitor/storage_monitor.h" | 11 #include "components/storage_monitor/storage_monitor.h" |
11 | 12 |
12 namespace storage_monitor { | 13 namespace storage_monitor { |
13 | 14 |
14 class TestStorageMonitor : public StorageMonitor { | 15 class TestStorageMonitor : public StorageMonitor { |
15 public: | 16 public: |
16 TestStorageMonitor(); | 17 TestStorageMonitor(); |
17 ~TestStorageMonitor() override; | 18 ~TestStorageMonitor() override; |
18 | 19 |
19 void Init() override; | 20 void Init() override; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 | 74 |
74 #if defined(OS_LINUX) | 75 #if defined(OS_LINUX) |
75 scoped_ptr<device::MediaTransferProtocolManager> | 76 scoped_ptr<device::MediaTransferProtocolManager> |
76 media_transfer_protocol_manager_; | 77 media_transfer_protocol_manager_; |
77 #endif | 78 #endif |
78 }; | 79 }; |
79 | 80 |
80 } // namespace storage_monitor | 81 } // namespace storage_monitor |
81 | 82 |
82 #endif // COMPONENTS_STORAGE_MONITOR_TEST_STORAGE_MONITOR_H_ | 83 #endif // COMPONENTS_STORAGE_MONITOR_TEST_STORAGE_MONITOR_H_ |
OLD | NEW |