| OLD | NEW |
| 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 #include "chrome/browser/media_galleries/fileapi/mtp_device_map_service.h" | 5 #include "chrome/browser/media_galleries/fileapi/mtp_device_map_service.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/stl_util.h" | 10 #include "base/stl_util.h" |
| 11 #include "chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h" | 11 #include "chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h" |
| 12 #include "webkit/fileapi/isolated_context.h" | 12 #include "webkit/browser/fileapi/isolated_context.h" |
| 13 | 13 |
| 14 namespace chrome { | 14 namespace chrome { |
| 15 | 15 |
| 16 namespace { | 16 namespace { |
| 17 | 17 |
| 18 base::LazyInstance<MTPDeviceMapService> g_mtp_device_map_service = | 18 base::LazyInstance<MTPDeviceMapService> g_mtp_device_map_service = |
| 19 LAZY_INSTANCE_INITIALIZER; | 19 LAZY_INSTANCE_INITIALIZER; |
| 20 | 20 |
| 21 } // namespace | 21 } // namespace |
| 22 | 22 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 return (it != async_delegate_map_.end()) ? it->second : NULL; | 64 return (it != async_delegate_map_.end()) ? it->second : NULL; |
| 65 } | 65 } |
| 66 | 66 |
| 67 | 67 |
| 68 MTPDeviceMapService::MTPDeviceMapService() { | 68 MTPDeviceMapService::MTPDeviceMapService() { |
| 69 } | 69 } |
| 70 | 70 |
| 71 MTPDeviceMapService::~MTPDeviceMapService() {} | 71 MTPDeviceMapService::~MTPDeviceMapService() {} |
| 72 | 72 |
| 73 } // namespace chrome | 73 } // namespace chrome |
| OLD | NEW |