| Index: Source/core/clipboard/DraggedIsolatedFileSystem.cpp
|
| diff --git a/Source/core/clipboard/DraggedIsolatedFileSystem.cpp b/Source/core/clipboard/DraggedIsolatedFileSystem.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..73a236426fd9ae5f0c2ec3cf65fcfd5806b5b542
|
| --- /dev/null
|
| +++ b/Source/core/clipboard/DraggedIsolatedFileSystem.cpp
|
| @@ -0,0 +1,24 @@
|
| +// Copyright 2015 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.
|
| +
|
| +#include "config.h"
|
| +#include "core/clipboard/DraggedIsolatedFileSystem.h"
|
| +
|
| +namespace blink {
|
| +
|
| +DraggedIsolatedFileSystem::FileSystemIdPreparationCallback DraggedIsolatedFileSystem::s_prepareCallback = nullptr;
|
| +
|
| +void DraggedIsolatedFileSystem::init(DraggedIsolatedFileSystem::FileSystemIdPreparationCallback callback)
|
| +{
|
| + ASSERT(!s_prepareCallback);
|
| + s_prepareCallback = callback;
|
| +}
|
| +
|
| +void DraggedIsolatedFileSystem::prepareForDataObject(DataObject* dataObject, const String& filesystemId)
|
| +{
|
| + ASSERT(s_prepareCallback);
|
| + (*s_prepareCallback)(dataObject, filesystemId);
|
| +}
|
| +
|
| +}
|
|
|