Chromium Code Reviews| Index: chrome/browser/media_gallery/win/mtp_device_object_entry.cc |
| diff --git a/chrome/browser/media_gallery/win/mtp_device_object_entry.cc b/chrome/browser/media_gallery/win/mtp_device_object_entry.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..1ec1afaabf31c6aee7d26bada98b452d411b3a2a |
| --- /dev/null |
| +++ b/chrome/browser/media_gallery/win/mtp_device_object_entry.cc |
| @@ -0,0 +1,28 @@ |
| +// 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. |
| +// |
| +// MTPDeviceObjectEntry implementation. |
| + |
| +#include "chrome/browser/media_gallery/win/mtp_device_object_entry.h" |
| + |
| +namespace chrome { |
| + |
| +MTPDeviceObjectEntry::MTPDeviceObjectEntry() |
| + : is_directory(false), |
| + size(0) { |
|
Peter Kasting
2012/12/21 18:13:30
Nit: You can put both these on the line with the f
kmadhusu
2013/01/02 19:48:31
Done.
|
| +} |
| + |
| +MTPDeviceObjectEntry::MTPDeviceObjectEntry(const string16& object_id, |
| + const string16& object_name, |
| + bool is_directory, |
| + int64 size, |
| + const base::Time& last_modified_time) |
| + : object_id(object_id), |
| + name(object_name), |
| + is_directory(is_directory), |
| + size(size), |
| + last_modified_time(last_modified_time) { |
| +} |
| + |
| +} // namespace chrome |