Add ICU message format support
[chromium-blink-merge.git] / extensions / browser / api / system_storage / storage_api_test_util.h
bloba035906416ce2b60eee8f469335e6ddc129af4a8
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef EXTENSIONS_BROWSER_API_SYSTEM_STORAGE_STORAGE_API_TEST_UTIL_H_
6 #define EXTENSIONS_BROWSER_API_SYSTEM_STORAGE_STORAGE_API_TEST_UTIL_H_
8 #include <vector>
10 #include "components/storage_monitor/storage_info.h"
11 #include "extensions/browser/api/system_storage/storage_info_provider.h"
13 namespace extensions {
14 namespace test {
16 struct TestStorageUnitInfo {
17 const char* device_id;
18 const char* name;
19 // Total amount of the storage device space, in bytes.
20 double capacity;
21 // The available amount of the storage space, in bytes.
22 double available_capacity;
25 extern const struct TestStorageUnitInfo kRemovableStorageData;
27 storage_monitor::StorageInfo BuildStorageInfoFromTestStorageUnitInfo(
28 const TestStorageUnitInfo& unit);
30 } // namespace test
31 } // namespace extensions
33 #endif // EXTENSIONS_BROWSER_API_SYSTEM_STORAGE_STORAGE_API_TEST_UTIL_H_