Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/fileapi/file_system_context.h" | 5 #include "webkit/fileapi/file_system_context.h" |
| 6 | 6 |
| 7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
| 8 #include "base/message_loop_proxy.h" | 8 #include "base/message_loop_proxy.h" |
| 9 #include "webkit/fileapi/file_system_file_util.h" | |
|
ericu
2011/03/03 01:05:11
Are these needed?
Dai Mikurube (google.com)
2011/03/03 20:24:52
Not required. Removed.
| |
| 10 #include "webkit/fileapi/file_system_file_util_proxy.h" | |
| 9 #include "webkit/fileapi/file_system_path_manager.h" | 11 #include "webkit/fileapi/file_system_path_manager.h" |
| 10 #include "webkit/fileapi/file_system_quota_manager.h" | 12 #include "webkit/fileapi/file_system_quota_manager.h" |
| 11 #include "webkit/fileapi/file_system_usage_tracker.h" | 13 #include "webkit/fileapi/file_system_usage_tracker.h" |
| 12 | 14 |
| 13 namespace fileapi { | 15 namespace fileapi { |
| 14 | 16 |
| 15 FileSystemContext::FileSystemContext( | 17 FileSystemContext::FileSystemContext( |
| 16 scoped_refptr<base::MessageLoopProxy> file_message_loop, | 18 scoped_refptr<base::MessageLoopProxy> file_message_loop, |
| 17 scoped_refptr<base::MessageLoopProxy> io_message_loop, | 19 scoped_refptr<base::MessageLoopProxy> io_message_loop, |
| 18 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy, | 20 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy, |
| (...skipping 29 matching lines...) Expand all Loading... | |
| 48 | 50 |
| 49 void FileSystemContext::DeleteOnCorrectThread() const { | 51 void FileSystemContext::DeleteOnCorrectThread() const { |
| 50 if (!io_message_loop_->BelongsToCurrentThread()) { | 52 if (!io_message_loop_->BelongsToCurrentThread()) { |
| 51 io_message_loop_->DeleteSoon(FROM_HERE, this); | 53 io_message_loop_->DeleteSoon(FROM_HERE, this); |
| 52 return; | 54 return; |
| 53 } | 55 } |
| 54 delete this; | 56 delete this; |
| 55 } | 57 } |
| 56 | 58 |
| 57 } // namespace fileapi | 59 } // namespace fileapi |
| OLD | NEW |