OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 // MTPDeviceObjectEntry implementation. | 5 // MTPDeviceObjectEntry implementation. |
6 | 6 |
7 #include "chrome/browser/media_galleries/win/mtp_device_object_entry.h" | 7 #include "chrome/browser/media_galleries/win/mtp_device_object_entry.h" |
8 | 8 |
9 namespace chrome { | |
10 | |
11 MTPDeviceObjectEntry::MTPDeviceObjectEntry() : is_directory(false), size(0) { | 9 MTPDeviceObjectEntry::MTPDeviceObjectEntry() : is_directory(false), size(0) { |
12 } | 10 } |
13 | 11 |
14 MTPDeviceObjectEntry::MTPDeviceObjectEntry(const string16& object_id, | 12 MTPDeviceObjectEntry::MTPDeviceObjectEntry(const string16& object_id, |
15 const string16& object_name, | 13 const string16& object_name, |
16 bool is_directory, | 14 bool is_directory, |
17 int64 size, | 15 int64 size, |
18 const base::Time& last_modified_time) | 16 const base::Time& last_modified_time) |
19 : object_id(object_id), | 17 : object_id(object_id), |
20 name(object_name), | 18 name(object_name), |
21 is_directory(is_directory), | 19 is_directory(is_directory), |
22 size(size), | 20 size(size), |
23 last_modified_time(last_modified_time) { | 21 last_modified_time(last_modified_time) { |
24 } | 22 } |
25 | |
26 } // namespace chrome | |
OLD | NEW |