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

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

Issue 1731483003: chrome: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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_DELEGATE_IMPL_LINUX_H_ 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_DELEGATE_IMPL_LINUX_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_DELEGATE_IMPL_LINUX_H_ 6 #define CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_DELEGATE_IMPL_LINUX_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <deque> 10 #include <deque>
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 PENDING_INIT, 44 PENDING_INIT,
45 INITIALIZED 45 INITIALIZED
46 }; 46 };
47 47
48 // Used to represent pending task details. 48 // Used to represent pending task details.
49 struct PendingTaskInfo { 49 struct PendingTaskInfo {
50 PendingTaskInfo(const base::FilePath& path, 50 PendingTaskInfo(const base::FilePath& path,
51 content::BrowserThread::ID thread_id, 51 content::BrowserThread::ID thread_id,
52 const tracked_objects::Location& location, 52 const tracked_objects::Location& location,
53 const base::Closure& task); 53 const base::Closure& task);
54 PendingTaskInfo(const PendingTaskInfo& other);
54 ~PendingTaskInfo(); 55 ~PendingTaskInfo();
55 56
56 base::FilePath path; 57 base::FilePath path;
57 base::FilePath cached_path; 58 base::FilePath cached_path;
58 const content::BrowserThread::ID thread_id; 59 const content::BrowserThread::ID thread_id;
59 const tracked_objects::Location location; 60 const tracked_objects::Location location;
60 const base::Closure task; 61 const base::Closure task;
61 }; 62 };
62 63
63 class MTPFileNode; 64 class MTPFileNode;
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 // the ReadDirectory operation. 522 // the ReadDirectory operation.
522 FileInfoCache file_info_cache_; 523 FileInfoCache file_info_cache_;
523 524
524 // For callbacks that may run after destruction. 525 // For callbacks that may run after destruction.
525 base::WeakPtrFactory<MTPDeviceDelegateImplLinux> weak_ptr_factory_; 526 base::WeakPtrFactory<MTPDeviceDelegateImplLinux> weak_ptr_factory_;
526 527
527 DISALLOW_COPY_AND_ASSIGN(MTPDeviceDelegateImplLinux); 528 DISALLOW_COPY_AND_ASSIGN(MTPDeviceDelegateImplLinux);
528 }; 529 };
529 530
530 #endif // CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_DELEGATE_IMPL_LINUX_H _ 531 #endif // CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_DELEGATE_IMPL_LINUX_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698