| OLD | NEW |
| 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_CHROMEOS_MTP_DEVICE_TASK_HELPER_MAP_SERVI
CE_H_ |
| 6 #define CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_TASK_HELPER_MAP_SERVICE_
H_ | 6 #define CHROME_BROWSER_MEDIA_GALLERIES_CHROMEOS_MTP_DEVICE_TASK_HELPER_MAP_SERVI
CE_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 #include "base/macros.h" |
| 13 | 13 |
| 14 class MTPDeviceTaskHelper; | 14 class MTPDeviceTaskHelper; |
| 15 | 15 |
| 16 // MTPDeviceTaskHelperMapService manages MTPDeviceTaskHelper objects. | 16 // MTPDeviceTaskHelperMapService manages MTPDeviceTaskHelper objects. |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 MTPDeviceTaskHelperMapService(); | 56 MTPDeviceTaskHelperMapService(); |
| 57 ~MTPDeviceTaskHelperMapService(); | 57 ~MTPDeviceTaskHelperMapService(); |
| 58 | 58 |
| 59 // Mapping of |storage_name| and MTPDeviceTaskHelper*. | 59 // Mapping of |storage_name| and MTPDeviceTaskHelper*. |
| 60 // TaskHelperMap owns MTPDeviceTaskHelper objects. | 60 // TaskHelperMap owns MTPDeviceTaskHelper objects. |
| 61 TaskHelperMap task_helper_map_; | 61 TaskHelperMap task_helper_map_; |
| 62 | 62 |
| 63 DISALLOW_COPY_AND_ASSIGN(MTPDeviceTaskHelperMapService); | 63 DISALLOW_COPY_AND_ASSIGN(MTPDeviceTaskHelperMapService); |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 #endif // CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_TASK_HELPER_MAP_SERVI
CE_H_ | 66 #endif // CHROME_BROWSER_MEDIA_GALLERIES_CHROMEOS_MTP_DEVICE_TASK_HELPER_MAP_SE
RVICE_H_ |
| OLD | NEW |