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/chromeos/disks/disk_mount_manager.h" | 5 #include "chrome/browser/chromeos/disks/disk_mount_manager.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include <sys/statvfs.h> | 10 #include <sys/statvfs.h> |
11 | 11 |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
15 #include "base/string_util.h" | 15 #include "base/string_util.h" |
16 #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h" | 16 #include "chromeos/dbus/dbus_thread_manager.h" |
17 #include "content/public/browser/browser_thread.h" | 17 #include "content/public/browser/browser_thread.h" |
18 | 18 |
19 using content::BrowserThread; | 19 using content::BrowserThread; |
20 | 20 |
21 namespace chromeos { | 21 namespace chromeos { |
22 namespace disks { | 22 namespace disks { |
23 | 23 |
24 namespace { | 24 namespace { |
25 | 25 |
26 const char kDeviceNotFound[] = "Device could not be found"; | 26 const char kDeviceNotFound[] = "Device could not be found"; |
(...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
683 VLOG(1) << "DiskMountManager Shutdown completed"; | 683 VLOG(1) << "DiskMountManager Shutdown completed"; |
684 } | 684 } |
685 | 685 |
686 // static | 686 // static |
687 DiskMountManager* DiskMountManager::GetInstance() { | 687 DiskMountManager* DiskMountManager::GetInstance() { |
688 return g_disk_mount_manager; | 688 return g_disk_mount_manager; |
689 } | 689 } |
690 | 690 |
691 } // namespace disks | 691 } // namespace disks |
692 } // namespace chromeos | 692 } // namespace chromeos |
OLD | NEW |