blob: edb53d2f2b3df4e0b0f852a3f6eaad2f634652c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/storage_monitor/storage_info.h"
namespace chrome {
StorageInfo::StorageInfo() : total_size_in_bytes(0) {
}
StorageInfo::StorageInfo(const std::string& id,
const string16& device_name,
const base::FilePath::StringType& device_location,
const string16& label,
const string16& vendor,
const string16& model,
uint64 size_in_bytes)
: device_id(id),
name(device_name),
location(device_location),
storage_label(label),
vendor_name(vendor),
model_name(model),
total_size_in_bytes(size_in_bytes) {
}
StorageInfo::~StorageInfo() {
}
} // namespace chrome
|