Separate Simple Backend creation from initialization.
[chromium-blink-merge.git] / webkit / fileapi / file_system_callback_dispatcher.cc
blob5317bb819eb4786471500f9ec573ff464973a449
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
3 // found in the LICENSE file.
5 #include "webkit/fileapi/file_system_callback_dispatcher.h"
7 #include "base/logging.h"
9 namespace fileapi {
11 FileSystemCallbackDispatcher::~FileSystemCallbackDispatcher() {
14 void FileSystemCallbackDispatcher::DidOpenFile(
15 base::PlatformFile file) {
16 NOTREACHED();
18 if (file != base::kInvalidPlatformFileValue)
19 base::ClosePlatformFile(file);
22 } // namespace fileapi