Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Side by Side Diff: webkit/fileapi/file_system_callback_dispatcher.cc

Issue 14472008: [FileAPI] Add file open ID and close callback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
OLDNEW
« no previous file with comments | « webkit/fileapi/file_system_callback_dispatcher.h ('k') | webkit/fileapi/file_system_operation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698