| 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 MTPDeviceObjectEntry::MTPDeviceObjectEntry() : is_directory(false), size(0) { | 9 MTPDeviceObjectEntry::MTPDeviceObjectEntry() : is_directory(false), size(0) { |
| 10 } | 10 } |
| 11 | 11 |
| 12 MTPDeviceObjectEntry::MTPDeviceObjectEntry(const base::string16& object_id, | 12 MTPDeviceObjectEntry::MTPDeviceObjectEntry(const base::string16& object_id, |
| 13 const base::string16& object_name, | 13 const base::string16& object_name, |
| 14 bool is_directory, | 14 bool is_directory, |
| 15 int64 size, | 15 int64_t size, |
| 16 const base::Time& last_modified_time) | 16 const base::Time& last_modified_time) |
| 17 : object_id(object_id), | 17 : object_id(object_id), |
| 18 name(object_name), | 18 name(object_name), |
| 19 is_directory(is_directory), | 19 is_directory(is_directory), |
| 20 size(size), | 20 size(size), |
| 21 last_modified_time(last_modified_time) { | 21 last_modified_time(last_modified_time) {} |
| 22 } | |
| OLD | NEW |