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 "chromeos/disks/disk_mount_manager.h" | 5 #include "chromeos/disks/disk_mount_manager.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
13 #include "base/stl_util.h" | 13 #include "base/stl_util.h" |
14 #include "base/string_util.h" | 14 #include "base/strings/string_util.h" |
15 #include "chromeos/dbus/dbus_thread_manager.h" | 15 #include "chromeos/dbus/dbus_thread_manager.h" |
16 | 16 |
17 namespace chromeos { | 17 namespace chromeos { |
18 namespace disks { | 18 namespace disks { |
19 | 19 |
20 namespace { | 20 namespace { |
21 | 21 |
22 const char kDeviceNotFound[] = "Device could not be found"; | 22 const char kDeviceNotFound[] = "Device could not be found"; |
23 | 23 |
24 DiskMountManager* g_disk_mount_manager = NULL; | 24 DiskMountManager* g_disk_mount_manager = NULL; |
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
758 VLOG(1) << "DiskMountManager Shutdown completed"; | 758 VLOG(1) << "DiskMountManager Shutdown completed"; |
759 } | 759 } |
760 | 760 |
761 // static | 761 // static |
762 DiskMountManager* DiskMountManager::GetInstance() { | 762 DiskMountManager* DiskMountManager::GetInstance() { |
763 return g_disk_mount_manager; | 763 return g_disk_mount_manager; |
764 } | 764 } |
765 | 765 |
766 } // namespace disks | 766 } // namespace disks |
767 } // namespace chromeos | 767 } // namespace chromeos |
OLD | NEW |