| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/tools/test_shell/simple_file_system.h" | 5 #include "webkit/tools/test_shell/simple_file_system.h" |
| 6 | 6 |
| 7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
| 8 #include "base/memory/scoped_callback_factory.h" | |
| 9 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
| 10 #include "base/message_loop_proxy.h" | 9 #include "base/message_loop_proxy.h" |
| 11 #include "base/time.h" | 10 #include "base/time.h" |
| 12 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
| 13 #include "googleurl/src/gurl.h" | 12 #include "googleurl/src/gurl.h" |
| 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
| 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileInfo.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileInfo.h" |
| 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystemCallback
s.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystemCallback
s.h" |
| 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystemEntry.h" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystemEntry.h" |
| 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 | 226 |
| 228 FileSystemOperation* SimpleFileSystem::GetNewOperation( | 227 FileSystemOperation* SimpleFileSystem::GetNewOperation( |
| 229 WebFileSystemCallbacks* callbacks) { | 228 WebFileSystemCallbacks* callbacks) { |
| 230 SimpleFileSystemCallbackDispatcher* dispatcher = | 229 SimpleFileSystemCallbackDispatcher* dispatcher = |
| 231 new SimpleFileSystemCallbackDispatcher(AsWeakPtr(), callbacks); | 230 new SimpleFileSystemCallbackDispatcher(AsWeakPtr(), callbacks); |
| 232 FileSystemOperation* operation = new FileSystemOperation( | 231 FileSystemOperation* operation = new FileSystemOperation( |
| 233 dispatcher, base::MessageLoopProxy::current(), | 232 dispatcher, base::MessageLoopProxy::current(), |
| 234 file_system_context_.get()); | 233 file_system_context_.get()); |
| 235 return operation; | 234 return operation; |
| 236 } | 235 } |
| OLD | NEW |