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) { | 15 base::PlatformFile file, quota::QuotaLimitType quota_policy) { |
16 NOTREACHED(); | 16 NOTREACHED(); |
17 | 17 |
18 if (file != base::kInvalidPlatformFileValue) | 18 if (file != base::kInvalidPlatformFileValue) |
19 base::ClosePlatformFile(file); | 19 base::ClosePlatformFile(file); |
20 } | 20 } |
21 | 21 |
22 } // namespace fileapi | 22 } // namespace fileapi |
OLD | NEW |