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

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

Issue 2358493002: Remove MTP support on Linux. (Closed)
Patch Set: move files Created 4 years, 2 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
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_CHROMEOS_MTP_DEVICE_OBJECT_ENUMERATOR_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_OBJECT_ENUMERATOR_H_ 6 #define CHROME_BROWSER_MEDIA_GALLERIES_CHROMEOS_MTP_DEVICE_OBJECT_ENUMERATOR_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/time/time.h" 15 #include "base/time/time.h"
16 #include "device/media_transfer_protocol/mtp_file_entry.pb.h" 16 #include "device/media_transfer_protocol/mtp_file_entry.pb.h"
(...skipping 29 matching lines...) Expand all
46 // Index into |file_entries_|. 46 // Index into |file_entries_|.
47 // Should only be used when |is_index_ready_| is true. 47 // Should only be used when |is_index_ready_| is true.
48 size_t index_; 48 size_t index_;
49 49
50 // Initially false. Set to true after Next() has been called. 50 // Initially false. Set to true after Next() has been called.
51 bool is_index_ready_; 51 bool is_index_ready_;
52 52
53 DISALLOW_COPY_AND_ASSIGN(MTPDeviceObjectEnumerator); 53 DISALLOW_COPY_AND_ASSIGN(MTPDeviceObjectEnumerator);
54 }; 54 };
55 55
56 #endif // CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_OBJECT_ENUMERATOR_H_ 56 #endif // CHROME_BROWSER_MEDIA_GALLERIES_CHROMEOS_MTP_DEVICE_OBJECT_ENUMERATOR_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698