Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: chrome/browser/media_gallery/win/mtp_device_object_entry.cc

Issue 11297002: [Media Gallery] Added code to support mtp device media file system on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed DCHECK, added lock in PortableDeviceWatcherWin and fixed tests. Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 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_gallery/win/mtp_device_object_entry.h"
8
9 namespace chrome {
10
11 MTPDeviceObjectEntry::MTPDeviceObjectEntry()
12 : is_directory(false),
13 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.
14 }
15
16 MTPDeviceObjectEntry::MTPDeviceObjectEntry(const string16& object_id,
17 const string16& object_name,
18 bool is_directory,
19 int64 size,
20 const base::Time& last_modified_time)
21 : object_id(object_id),
22 name(object_name),
23 is_directory(is_directory),
24 size(size),
25 last_modified_time(last_modified_time) {
26 }
27
28 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698