Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / media_galleries / win / mtp_device_object_entry.cc
blob4078fbbab4b8fa6086a76746e37fb7192a15d2dd
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.
7 #include "chrome/browser/media_galleries/win/mtp_device_object_entry.h"
9 MTPDeviceObjectEntry::MTPDeviceObjectEntry() : is_directory(false), size(0) {
12 MTPDeviceObjectEntry::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) {