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/mac/mtp_device_delegate_impl_mac.h

Issue 1852433005: Convert //base to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove redundant base:: prefix Created 4 years, 8 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_MAC_MTP_DEVICE_DELEGATE_IMPL_MAC_H_ 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_MAC_MTP_DEVICE_DELEGATE_IMPL_MAC_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_MAC_MTP_DEVICE_DELEGATE_IMPL_MAC_H_ 6 #define CHROME_BROWSER_MEDIA_GALLERIES_MAC_MTP_DEVICE_DELEGATE_IMPL_MAC_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <list> 10 #include <list>
11 #include <map> 11 #include <map>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/containers/hash_tables.h" 14 #include "base/containers/hash_tables.h"
15 #include "base/files/file.h" 15 #include "base/files/file.h"
16 #include "base/files/file_path.h" 16 #include "base/files/file_path.h"
17 #include "base/macros.h" 17 #include "base/macros.h"
18 #include "base/memory/scoped_ptr.h"
18 #include "base/memory/weak_ptr.h" 19 #include "base/memory/weak_ptr.h"
19 #include "chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h" 20 #include "chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h"
20 21
21 // Delegate for presenting an Image Capture device through the filesystem 22 // Delegate for presenting an Image Capture device through the filesystem
22 // API. The synthetic filesystem will be rooted at the constructed location, 23 // API. The synthetic filesystem will be rooted at the constructed location,
23 // and names of all files notified through the ItemAdded call will be 24 // and names of all files notified through the ItemAdded call will be
24 // all appear as children of that directory. (ItemAdded calls with directories 25 // all appear as children of that directory. (ItemAdded calls with directories
25 // will be ignored.) 26 // will be ignored.)
26 // Note on thread management: This class is thread-compatible: it can be created 27 // Note on thread management: This class is thread-compatible: it can be created
27 // on any thread, but then mutates all state on the UI thread. The async 28 // on any thread, but then mutates all state on the UI thread. The async
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 196
196 ReadFileTransactionList read_file_transactions_; 197 ReadFileTransactionList read_file_transactions_;
197 ReadDirTransactionList read_dir_transactions_; 198 ReadDirTransactionList read_dir_transactions_;
198 199
199 base::WeakPtrFactory<MTPDeviceDelegateImplMac> weak_factory_; 200 base::WeakPtrFactory<MTPDeviceDelegateImplMac> weak_factory_;
200 201
201 DISALLOW_COPY_AND_ASSIGN(MTPDeviceDelegateImplMac); 202 DISALLOW_COPY_AND_ASSIGN(MTPDeviceDelegateImplMac);
202 }; 203 };
203 204
204 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MAC_MTP_DEVICE_DELEGATE_IMPL_MAC_H_ 205 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MAC_MTP_DEVICE_DELEGATE_IMPL_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698