Home | History | Annotate | Download | only in win
      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 
      9 namespace chrome {
     10 
     11 MTPDeviceObjectEntry::MTPDeviceObjectEntry() : is_directory(false), size(0) {
     12 }
     13 
     14 MTPDeviceObjectEntry::MTPDeviceObjectEntry(const string16& object_id,
     15                                            const string16& object_name,
     16                                            bool is_directory,
     17                                            int64 size,
     18                                            const base::Time& last_modified_time)
     19     : object_id(object_id),
     20       name(object_name),
     21       is_directory(is_directory),
     22       size(size),
     23       last_modified_time(last_modified_time) {
     24 }
     25 
     26 }  // namespace chrome
     27