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

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

Issue 15371005: Move browser-specific FileAPI code from webkit/fileapi to webkit/browser/fileapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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_GALLERIES_LINUX_MTP_DEVICE_OBJECT_ENUMERATOR_H_ 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_OBJECT_ENUMERATOR_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_OBJECT_ENUMERATOR_H_ 6 #define CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_OBJECT_ENUMERATOR_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/time.h" 11 #include "base/time.h"
12 #include "device/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/browser/fileapi/file_system_file_util.h"
14 14
15 namespace chrome { 15 namespace chrome {
16 16
17 // Used to enumerate top-level files of an media file system. 17 // Used to enumerate top-level files of an media file system.
18 class MTPDeviceObjectEnumerator 18 class MTPDeviceObjectEnumerator
19 : public fileapi::FileSystemFileUtil::AbstractFileEnumerator { 19 : public fileapi::FileSystemFileUtil::AbstractFileEnumerator {
20 public: 20 public:
21 explicit MTPDeviceObjectEnumerator(const std::vector<MtpFileEntry>& entries); 21 explicit MTPDeviceObjectEnumerator(const std::vector<MtpFileEntry>& entries);
22 22
23 virtual ~MTPDeviceObjectEnumerator(); 23 virtual ~MTPDeviceObjectEnumerator();
(...skipping 26 matching lines...) Expand all
50 50
51 // Initially false. Set to true after Next() has been called. 51 // Initially false. Set to true after Next() has been called.
52 bool is_index_ready_; 52 bool is_index_ready_;
53 53
54 DISALLOW_COPY_AND_ASSIGN(MTPDeviceObjectEnumerator); 54 DISALLOW_COPY_AND_ASSIGN(MTPDeviceObjectEnumerator);
55 }; 55 };
56 56
57 } // namespace chrome 57 } // namespace chrome
58 58
59 #endif // CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_OBJECT_ENUMERATOR_H_ 59 #endif // CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_OBJECT_ENUMERATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698