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/browser/fileapi/local_file_system_operation.h" | 5 #include "webkit/browser/fileapi/local_file_system_operation.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/single_thread_task_runner.h" | 8 #include "base/single_thread_task_runner.h" |
| 9 #include "base/strings/utf_string_conversions.h" |
9 #include "base/time.h" | 10 #include "base/time.h" |
10 #include "base/utf_string_conversions.h" | |
11 #include "net/base/escape.h" | 11 #include "net/base/escape.h" |
12 #include "net/url_request/url_request_context.h" | 12 #include "net/url_request/url_request_context.h" |
13 #include "webkit/browser/fileapi/async_file_util.h" | 13 #include "webkit/browser/fileapi/async_file_util.h" |
14 #include "webkit/browser/fileapi/copy_or_move_operation_delegate.h" | 14 #include "webkit/browser/fileapi/copy_or_move_operation_delegate.h" |
15 #include "webkit/browser/fileapi/file_observers.h" | 15 #include "webkit/browser/fileapi/file_observers.h" |
16 #include "webkit/browser/fileapi/file_system_context.h" | 16 #include "webkit/browser/fileapi/file_system_context.h" |
17 #include "webkit/browser/fileapi/file_system_file_util.h" | 17 #include "webkit/browser/fileapi/file_system_file_util.h" |
18 #include "webkit/browser/fileapi/file_system_mount_point_provider.h" | 18 #include "webkit/browser/fileapi/file_system_mount_point_provider.h" |
19 #include "webkit/browser/fileapi/file_system_operation_context.h" | 19 #include "webkit/browser/fileapi/file_system_operation_context.h" |
20 #include "webkit/browser/fileapi/file_system_task_runners.h" | 20 #include "webkit/browser/fileapi/file_system_task_runners.h" |
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
838 } | 838 } |
839 | 839 |
840 bool LocalFileSystemOperation::SetPendingOperationType(OperationType type) { | 840 bool LocalFileSystemOperation::SetPendingOperationType(OperationType type) { |
841 if (pending_operation_ != kOperationNone) | 841 if (pending_operation_ != kOperationNone) |
842 return false; | 842 return false; |
843 pending_operation_ = type; | 843 pending_operation_ = type; |
844 return true; | 844 return true; |
845 } | 845 } |
846 | 846 |
847 } // namespace fileapi | 847 } // namespace fileapi |
OLD | NEW |