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
3// found in the LICENSE file.
4//
5// MTPDeviceObjectEntry implementation.
6
7#include "chrome/browser/media_galleries/win/mtp_device_object_entry.h"
8
9MTPDeviceObjectEntry::MTPDeviceObjectEntry() : is_directory(false), size(0) {
10}
11
12MTPDeviceObjectEntry::MTPDeviceObjectEntry(const base::string16& object_id,
13                                           const base::string16& object_name,
14                                           bool is_directory,
15                                           int64 size,
16                                           const base::Time& last_modified_time)
17    : object_id(object_id),
18      name(object_name),
19      is_directory(is_directory),
20      size(size),
21      last_modified_time(last_modified_time) {
22}
23