| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 "content/renderer/pepper/null_file_system_callback_dispatcher.h" | 5 #include "content/renderer/pepper/null_file_system_callback_dispatcher.h" |
| 6 | 6 |
| 7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "base/files/file_util_proxy.h" | |
| 9 #include "base/logging.h" | 8 #include "base/logging.h" |
| 10 #include "googleurl/src/gurl.h" | 9 #include "googleurl/src/gurl.h" |
| 11 | 10 |
| 12 namespace content { | 11 namespace content { |
| 13 | 12 |
| 14 void NullFileSystemCallbackDispatcher::DidSucceed() { | 13 void NullFileSystemCallbackDispatcher::DidSucceed() { |
| 15 NOTREACHED(); | 14 NOTREACHED(); |
| 16 } | 15 } |
| 17 | 16 |
| 18 void NullFileSystemCallbackDispatcher::DidReadMetadata( | 17 void NullFileSystemCallbackDispatcher::DidReadMetadata( |
| 19 const base::PlatformFileInfo& /* file_info */, | 18 const base::PlatformFileInfo& /* file_info */, |
| 20 const base::FilePath& /* platform_path */) { | 19 const base::FilePath& /* platform_path */) { |
| 21 NOTREACHED(); | 20 NOTREACHED(); |
| 22 } | 21 } |
| 23 | 22 |
| 24 void NullFileSystemCallbackDispatcher::DidCreateSnapshotFile( | 23 void NullFileSystemCallbackDispatcher::DidCreateSnapshotFile( |
| 25 const base::PlatformFileInfo& /* file_info */, | 24 const base::PlatformFileInfo& /* file_info */, |
| 26 const base::FilePath& /* platform_path */) { | 25 const base::FilePath& /* platform_path */) { |
| 27 NOTREACHED(); | 26 NOTREACHED(); |
| 28 } | 27 } |
| 29 | 28 |
| 30 void NullFileSystemCallbackDispatcher::DidReadDirectory( | 29 void NullFileSystemCallbackDispatcher::DidReadDirectory( |
| 31 const std::vector<base::FileUtilProxy::Entry>& /* entries */, | 30 const std::vector<fileapi::FileSystemOperation::Entry>& /* entries */, |
| 32 bool /* has_more */) { | 31 bool /* has_more */) { |
| 33 NOTREACHED(); | 32 NOTREACHED(); |
| 34 } | 33 } |
| 35 | 34 |
| 36 void NullFileSystemCallbackDispatcher::DidOpenFileSystem( | 35 void NullFileSystemCallbackDispatcher::DidOpenFileSystem( |
| 37 const std::string& /* name */, | 36 const std::string& /* name */, |
| 38 const GURL& /* root */) { | 37 const GURL& /* root */) { |
| 39 NOTREACHED(); | 38 NOTREACHED(); |
| 40 } | 39 } |
| 41 | 40 |
| 42 void NullFileSystemCallbackDispatcher::DidWrite(int64 /* bytes */, | 41 void NullFileSystemCallbackDispatcher::DidWrite(int64 /* bytes */, |
| 43 bool /* complete */) { | 42 bool /* complete */) { |
| 44 NOTREACHED(); | 43 NOTREACHED(); |
| 45 } | 44 } |
| 46 | 45 |
| 47 void NullFileSystemCallbackDispatcher::DidOpenFile( | 46 void NullFileSystemCallbackDispatcher::DidOpenFile( |
| 48 base::PlatformFile /* file */, | 47 base::PlatformFile /* file */, |
| 49 int /* file_open_id */, | 48 int /* file_open_id */, |
| 50 quota::QuotaLimitType /* quota_policy */) { | 49 quota::QuotaLimitType /* quota_policy */) { |
| 51 NOTREACHED(); | 50 NOTREACHED(); |
| 52 } | 51 } |
| 53 | 52 |
| 54 void NullFileSystemCallbackDispatcher::DidFail( | 53 void NullFileSystemCallbackDispatcher::DidFail( |
| 55 base::PlatformFileError /* platform_error */) { | 54 base::PlatformFileError /* platform_error */) { |
| 56 NOTREACHED(); | 55 NOTREACHED(); |
| 57 } | 56 } |
| 58 | 57 |
| 59 } // namespace content | 58 } // namespace content |
| OLD | NEW |