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 "webkit/chromeos/fileapi/cros_mount_point_provider.h" | 5 #include "webkit/chromeos/fileapi/cros_mount_point_provider.h" |
6 | 6 |
7 #include "base/chromeos/chromeos_version.h" | 7 #include "base/chromeos/chromeos_version.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "webkit/browser/fileapi/file_system_operation_context.h" | 23 #include "webkit/browser/fileapi/file_system_operation_context.h" |
24 #include "webkit/browser/fileapi/file_system_task_runners.h" | 24 #include "webkit/browser/fileapi/file_system_task_runners.h" |
25 #include "webkit/browser/fileapi/file_system_url.h" | 25 #include "webkit/browser/fileapi/file_system_url.h" |
26 #include "webkit/browser/fileapi/isolated_context.h" | 26 #include "webkit/browser/fileapi/isolated_context.h" |
27 #include "webkit/browser/fileapi/isolated_file_util.h" | 27 #include "webkit/browser/fileapi/isolated_file_util.h" |
28 #include "webkit/browser/fileapi/local_file_stream_writer.h" | 28 #include "webkit/browser/fileapi/local_file_stream_writer.h" |
29 #include "webkit/browser/fileapi/local_file_system_operation.h" | 29 #include "webkit/browser/fileapi/local_file_system_operation.h" |
30 #include "webkit/chromeos/fileapi/file_access_permissions.h" | 30 #include "webkit/chromeos/fileapi/file_access_permissions.h" |
31 #include "webkit/chromeos/fileapi/remote_file_stream_writer.h" | 31 #include "webkit/chromeos/fileapi/remote_file_stream_writer.h" |
32 #include "webkit/chromeos/fileapi/remote_file_system_operation.h" | 32 #include "webkit/chromeos/fileapi/remote_file_system_operation.h" |
33 #include "webkit/fileapi/file_system_util.h" | |
34 #include "webkit/glue/webkit_glue.h" | 33 #include "webkit/glue/webkit_glue.h" |
35 | 34 |
36 namespace { | 35 namespace { |
37 | 36 |
38 const char kChromeUIScheme[] = "chrome"; | 37 const char kChromeUIScheme[] = "chrome"; |
39 | 38 |
40 } // namespace | 39 } // namespace |
41 | 40 |
42 namespace chromeos { | 41 namespace chromeos { |
43 | 42 |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 fileapi::RemoteFileSystemProxyInterface* CrosMountPointProvider::GetRemoteProxy( | 349 fileapi::RemoteFileSystemProxyInterface* CrosMountPointProvider::GetRemoteProxy( |
351 const std::string& mount_name) const { | 350 const std::string& mount_name) const { |
352 fileapi::RemoteFileSystemProxyInterface* proxy = | 351 fileapi::RemoteFileSystemProxyInterface* proxy = |
353 mount_points_->GetRemoteFileSystemProxy(mount_name); | 352 mount_points_->GetRemoteFileSystemProxy(mount_name); |
354 if (proxy) | 353 if (proxy) |
355 return proxy; | 354 return proxy; |
356 return system_mount_points_->GetRemoteFileSystemProxy(mount_name); | 355 return system_mount_points_->GetRemoteFileSystemProxy(mount_name); |
357 } | 356 } |
358 | 357 |
359 } // namespace chromeos | 358 } // namespace chromeos |
OLD | NEW |