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 #include "extensions/browser/api/system_storage/storage_api_test_util.h"
7 #include "base/strings/utf_string_conversions.h"
12 const struct TestStorageUnitInfo kRemovableStorageData
= {"dcim:device:001",
17 storage_monitor::StorageInfo
BuildStorageInfoFromTestStorageUnitInfo(
18 const TestStorageUnitInfo
& unit
) {
19 return storage_monitor::StorageInfo(
20 unit
.device_id
, base::FilePath::StringType(), /* no location */
21 base::UTF8ToUTF16(unit
.name
), /* storage label */
22 base::string16(), /* no storage vendor */
23 base::string16(), /* no storage model */
28 } // namespace extensions