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/fileapi/file_system_callback_dispatcher.h" | 5 #include "webkit/fileapi/file_system_callback_dispatcher.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 | 8 |
9 namespace fileapi { | 9 namespace fileapi { |
10 | 10 |
11 FileSystemCallbackDispatcher::~FileSystemCallbackDispatcher() { | 11 FileSystemCallbackDispatcher::~FileSystemCallbackDispatcher() { |
12 } | 12 } |
13 | 13 |
14 void FileSystemCallbackDispatcher::DidOpenFile( | 14 void FileSystemCallbackDispatcher::DidOpenFile( |
15 base::PlatformFile file, quota::QuotaLimitType quota_policy) { | 15 base::PlatformFile file, |
| 16 int file_open_id, |
| 17 quota::QuotaLimitType quota_policy) { |
16 NOTREACHED(); | 18 NOTREACHED(); |
17 | 19 |
18 if (file != base::kInvalidPlatformFileValue) | 20 if (file != base::kInvalidPlatformFileValue) |
19 base::ClosePlatformFile(file); | 21 base::ClosePlatformFile(file); |
20 } | 22 } |
21 | 23 |
22 } // namespace fileapi | 24 } // namespace fileapi |
OLD | NEW |