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

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

Issue 13508005: Allow RequestOSFileHandle if an app has unlimited storage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert most of patch set 2 Created 7 years, 8 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
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) { 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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698