google/chromeos-filesystems

View on GitHub
templatefs/js/events/onCloseFileRequested.js

Summary

Maintainability
A
0 mins
Test Coverage
// Copyright 2014 The Chromium Authors. All rights reserved.

// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd

'use strict';

/**
 * Responds to a request to close a file.
 * @param {Object} options Input options.
 * @param {function} onSuccess Function to be called if the file was opened
 *      successfully.
 * @param {function} onError Function to be called if an error occured while
 *      attempting to close the file.
 */
module.exports = function(options, onSuccess, onError) {

};