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

Side by Side Diff: chrome/browser/media_galleries/win/mtp_device_object_entry.h

Issue 23727009: Cleanup: Remove chrome namespace for storage monitor and media galleries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nit Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 13
14 namespace chrome {
15
16 // MTPDeviceObjectEntry contains the media transfer protocol device object 14 // MTPDeviceObjectEntry contains the media transfer protocol device object
17 // property values that are obtained using 15 // property values that are obtained using
18 // IPortableDeviceProperties::GetValues(). 16 // IPortableDeviceProperties::GetValues().
19 struct MTPDeviceObjectEntry { 17 struct MTPDeviceObjectEntry {
20 MTPDeviceObjectEntry(); // Necessary for STL. 18 MTPDeviceObjectEntry(); // Necessary for STL.
21 MTPDeviceObjectEntry(const string16& object_id, 19 MTPDeviceObjectEntry(const string16& object_id,
22 const string16& object_name, 20 const string16& object_name,
23 bool is_directory, 21 bool is_directory,
24 int64 size, 22 int64 size,
25 const base::Time& last_modified_time); 23 const base::Time& last_modified_time);
(...skipping 10 matching lines...) Expand all
36 34
37 // The object file size in bytes, e.g. "882992". 35 // The object file size in bytes, e.g. "882992".
38 int64 size; 36 int64 size;
39 37
40 // Last modified time of the object. 38 // Last modified time of the object.
41 base::Time last_modified_time; 39 base::Time last_modified_time;
42 }; 40 };
43 41
44 typedef std::vector<MTPDeviceObjectEntry> MTPDeviceObjectEntries; 42 typedef std::vector<MTPDeviceObjectEntry> MTPDeviceObjectEntries;
45 43
46 } // namespace chrome
47
48 #endif // CHROME_BROWSER_MEDIA_GALLERIES_WIN_MTP_DEVICE_OBJECT_ENTRY_H_ 44 #endif // CHROME_BROWSER_MEDIA_GALLERIES_WIN_MTP_DEVICE_OBJECT_ENTRY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698