summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/Source/modules/filesystem/DevToolsHostFileSystem.h
blob: 8f73422572f3608a38e86023b0d4de5df25b9854 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// 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.

#ifndef DevToolsHostFileSystem_h
#define DevToolsHostFileSystem_h

#include "platform/heap/Handle.h"
#include "wtf/Allocator.h"
#include "wtf/text/WTFString.h"

namespace blink {

class DOMFileSystem;
class DevToolsHost;

class DevToolsHostFileSystem {
    STATIC_ONLY(DevToolsHostFileSystem);
public:
    static DOMFileSystem* isolatedFileSystem(DevToolsHost&, const String& fileSystemName, const String& rootURL);
    static void upgradeDraggedFileSystemPermissions(DevToolsHost&, DOMFileSystem*);
};

} // namespace blink

#endif // !defined(DevToolsHostFileSystem_h)