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

Unified 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: Rebase + Fixed win compile error by implementing GetMTPStorageInfoFromDeviceId in TestStorageNotifi… Created 7 years, 11 months 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 side-by-side diff with in-line comments
Download patch
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..a2cf44d6a993623320d626f8c0d622a1120e3a84
--- /dev/null
+++ b/chrome/browser/media_gallery/win/mtp_device_object_entry.cc
@@ -0,0 +1,26 @@
+// Copyright (c) 2013 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) {
+}
+
+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

Powered by Google App Engine
This is Rietveld 408576698