OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_WIN_MTP_DEVICE_OBJECT_ENTRY_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_WIN_MTP_DEVICE_OBJECT_ENTRY_H_ |
6 #define CHROME_BROWSER_MEDIA_GALLERIES_WIN_MTP_DEVICE_OBJECT_ENTRY_H_ | 6 #define CHROME_BROWSER_MEDIA_GALLERIES_WIN_MTP_DEVICE_OBJECT_ENTRY_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "base/time.h" | 12 #include "base/time.h" |
13 | 13 |
14 namespace chrome { | 14 namespace chrome { |
15 | 15 |
16 // MTPDeviceObjectEntry contains the media transfer protocol device object | 16 // MTPDeviceObjectEntry contains the media transfer protocol device object |
17 // property values that are obtained using | 17 // property values that are obtained using |
18 // IPortableDeviceProperties::GetValues(). | 18 // IPortableDeviceProperties::GetValues(). |
19 struct MTPDeviceObjectEntry { | 19 struct MTPDeviceObjectEntry { |
20 MTPDeviceObjectEntry(); // Necessary for STL. | 20 MTPDeviceObjectEntry(); // Necessary for STL. |
21 MTPDeviceObjectEntry(const string16& object_id, | 21 MTPDeviceObjectEntry(const string16& object_id, |
(...skipping 17 matching lines...) Expand all Loading... |
39 | 39 |
40 // Last modified time of the object. | 40 // Last modified time of the object. |
41 base::Time last_modified_time; | 41 base::Time last_modified_time; |
42 }; | 42 }; |
43 | 43 |
44 typedef std::vector<MTPDeviceObjectEntry> MTPDeviceObjectEntries; | 44 typedef std::vector<MTPDeviceObjectEntry> MTPDeviceObjectEntries; |
45 | 45 |
46 } // namespace chrome | 46 } // namespace chrome |
47 | 47 |
48 #endif // CHROME_BROWSER_MEDIA_GALLERIES_WIN_MTP_DEVICE_OBJECT_ENTRY_H_ | 48 #endif // CHROME_BROWSER_MEDIA_GALLERIES_WIN_MTP_DEVICE_OBJECT_ENTRY_H_ |
OLD | NEW |