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

Side by Side Diff: chrome/browser/media_gallery/linux/mtp_device_object_enumerator.h

Issue 11744030: Try 2 [Media Gallery] Move chrome/browser/media_transfer_protocol code to src/device. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed gyp dependencies. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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_GALLERY_LINUX_MTP_DEVICE_OBJECT_ENUMERATOR_H_ 5 #ifndef CHROME_BROWSER_MEDIA_GALLERY_LINUX_MTP_DEVICE_OBJECT_ENUMERATOR_H_
6 #define CHROME_BROWSER_MEDIA_GALLERY_LINUX_MTP_DEVICE_OBJECT_ENUMERATOR_H_ 6 #define CHROME_BROWSER_MEDIA_GALLERY_LINUX_MTP_DEVICE_OBJECT_ENUMERATOR_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/file_path.h" 10 #include "base/file_path.h"
11 #include "base/time.h" 11 #include "base/time.h"
12 #include "chrome/browser/media_transfer_protocol/mtp_file_entry.pb.h" 12 #include "device/media_transfer_protocol/mtp_file_entry.pb.h"
13 #include "webkit/fileapi/file_system_file_util.h" 13 #include "webkit/fileapi/file_system_file_util.h"
14 14
15 namespace chrome { 15 namespace chrome {
16 16
17 typedef std::vector<MtpFileEntry> MtpFileEntries; 17 typedef std::vector<MtpFileEntry> MtpFileEntries;
18 18
19 // Used to enumerate top-level files of an media file system. 19 // Used to enumerate top-level files of an media file system.
20 class MTPDeviceObjectEnumerator 20 class MTPDeviceObjectEnumerator
21 : public fileapi::FileSystemFileUtil::AbstractFileEnumerator { 21 : public fileapi::FileSystemFileUtil::AbstractFileEnumerator {
22 public: 22 public:
(...skipping 16 matching lines...) Expand all
39 39
40 // Stores the current file information. 40 // Stores the current file information.
41 MtpFileEntry current_file_info_; 41 MtpFileEntry current_file_info_;
42 42
43 DISALLOW_COPY_AND_ASSIGN(MTPDeviceObjectEnumerator); 43 DISALLOW_COPY_AND_ASSIGN(MTPDeviceObjectEnumerator);
44 }; 44 };
45 45
46 } // namespace chrome 46 } // namespace chrome
47 47
48 #endif // CHROME_BROWSER_MEDIA_GALLERY_LINUX_MTP_DEVICE_OBJECT_ENUMERATOR_H_ 48 #endif // CHROME_BROWSER_MEDIA_GALLERY_LINUX_MTP_DEVICE_OBJECT_ENUMERATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698