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

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

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_TASK_HELPER_MAP_SERVICE_ H_ 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_TASK_HELPER_MAP_SERVICE_ H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_TASK_HELPER_MAP_SERVICE_ H_ 6 #define CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_TASK_HELPER_MAP_SERVICE_ H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/lazy_instance.h" 11 #include "base/lazy_instance.h"
12 #include "base/macros.h"
12 13
13 class MTPDeviceTaskHelper; 14 class MTPDeviceTaskHelper;
14 15
15 // MTPDeviceTaskHelperMapService manages MTPDeviceTaskHelper objects. 16 // MTPDeviceTaskHelperMapService manages MTPDeviceTaskHelper objects.
16 // MTPDeviceTaskHelperMapService lives on the UI thread. 17 // MTPDeviceTaskHelperMapService lives on the UI thread.
17 class MTPDeviceTaskHelperMapService { 18 class MTPDeviceTaskHelperMapService {
18 public: 19 public:
19 static MTPDeviceTaskHelperMapService* GetInstance(); 20 static MTPDeviceTaskHelperMapService* GetInstance();
20 21
21 // Creates and returns the MTPDeviceTaskHelper object for the storage device 22 // Creates and returns the MTPDeviceTaskHelper object for the storage device
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 ~MTPDeviceTaskHelperMapService(); 57 ~MTPDeviceTaskHelperMapService();
57 58
58 // Mapping of |storage_name| and MTPDeviceTaskHelper*. 59 // Mapping of |storage_name| and MTPDeviceTaskHelper*.
59 // TaskHelperMap owns MTPDeviceTaskHelper objects. 60 // TaskHelperMap owns MTPDeviceTaskHelper objects.
60 TaskHelperMap task_helper_map_; 61 TaskHelperMap task_helper_map_;
61 62
62 DISALLOW_COPY_AND_ASSIGN(MTPDeviceTaskHelperMapService); 63 DISALLOW_COPY_AND_ASSIGN(MTPDeviceTaskHelperMapService);
63 }; 64 };
64 65
65 #endif // CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_TASK_HELPER_MAP_SERVI CE_H_ 66 #endif // CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_TASK_HELPER_MAP_SERVI CE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698