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

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

Issue 11744014: [Media Gallery] Move chrome/browser/media_transfer_protocol code to src/device. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix gclient runhooks error 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_GET_FILE_INFO_WORKER_H_ 5 #ifndef CHROME_BROWSER_MEDIA_GALLERY_LINUX_MTP_GET_FILE_INFO_WORKER_H_
6 #define CHROME_BROWSER_MEDIA_GALLERY_LINUX_MTP_GET_FILE_INFO_WORKER_H_ 6 #define CHROME_BROWSER_MEDIA_GALLERY_LINUX_MTP_GET_FILE_INFO_WORKER_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/platform_file.h" 9 #include "base/platform_file.h"
10 #include "base/sequenced_task_runner_helpers.h" 10 #include "base/sequenced_task_runner_helpers.h"
11 #include "base/synchronization/cancellation_flag.h" 11 #include "base/synchronization/cancellation_flag.h"
12 #include "chrome/browser/media_gallery/linux/mtp_device_operations_utils.h" 12 #include "chrome/browser/media_gallery/linux/mtp_device_operations_utils.h"
13 #include "chrome/browser/media_transfer_protocol/mtp_file_entry.pb.h" 13 #include "device/media_transfer_protocol/mtp_file_entry.pb.h"
14 14
15 namespace base { 15 namespace base {
16 class SequencedTaskRunner; 16 class SequencedTaskRunner;
17 class WaitableEvent; 17 class WaitableEvent;
18 } 18 }
19 19
20 namespace chrome { 20 namespace chrome {
21 21
22 class MTPGetFileInfoWorker; 22 class MTPGetFileInfoWorker;
23 typedef struct WorkerDeleter<class MTPGetFileInfoWorker> 23 typedef struct WorkerDeleter<class MTPGetFileInfoWorker>
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 // |on_task_completed_event_| and |on_shutdown_event_| should not be 101 // |on_task_completed_event_| and |on_shutdown_event_| should not be
102 // dereferenced when this is set. 102 // dereferenced when this is set.
103 base::CancellationFlag cancel_tasks_flag_; 103 base::CancellationFlag cancel_tasks_flag_;
104 104
105 DISALLOW_COPY_AND_ASSIGN(MTPGetFileInfoWorker); 105 DISALLOW_COPY_AND_ASSIGN(MTPGetFileInfoWorker);
106 }; 106 };
107 107
108 } // namespace chrome 108 } // namespace chrome
109 109
110 #endif // CHROME_BROWSER_MEDIA_GALLERY_LINUX_MTP_GET_FILE_INFO_WORKER_H_ 110 #endif // CHROME_BROWSER_MEDIA_GALLERY_LINUX_MTP_GET_FILE_INFO_WORKER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698