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/dbus/cros_disks_client.h" | 5 #include "chromeos/dbus/cros_disks_client.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/file_util.h" | |
11 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/files/file_util.h" |
12 #include "base/location.h" | 12 #include "base/location.h" |
13 #include "base/message_loop/message_loop_proxy.h" | 13 #include "base/message_loop/message_loop_proxy.h" |
14 #include "base/stl_util.h" | 14 #include "base/stl_util.h" |
15 #include "base/strings/stringprintf.h" | 15 #include "base/strings/stringprintf.h" |
16 #include "base/sys_info.h" | 16 #include "base/sys_info.h" |
17 #include "base/task_runner_util.h" | 17 #include "base/task_runner_util.h" |
18 #include "base/threading/worker_pool.h" | 18 #include "base/threading/worker_pool.h" |
19 #include "base/values.h" | 19 #include "base/values.h" |
20 #include "dbus/bus.h" | 20 #include "dbus/bus.h" |
21 #include "dbus/message.h" | 21 #include "dbus/message.h" |
(...skipping 811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
833 } | 833 } |
834 | 834 |
835 // static | 835 // static |
836 base::FilePath CrosDisksClient::GetRemovableDiskMountPoint() { | 836 base::FilePath CrosDisksClient::GetRemovableDiskMountPoint() { |
837 return base::FilePath(base::SysInfo::IsRunningOnChromeOS() ? | 837 return base::FilePath(base::SysInfo::IsRunningOnChromeOS() ? |
838 FILE_PATH_LITERAL("/media/removable") : | 838 FILE_PATH_LITERAL("/media/removable") : |
839 FILE_PATH_LITERAL("/tmp/chromeos/media/removable")); | 839 FILE_PATH_LITERAL("/tmp/chromeos/media/removable")); |
840 } | 840 } |
841 | 841 |
842 } // namespace chromeos | 842 } // namespace chromeos |
OLD | NEW |