blob: f65cbeca9d86b8bb0e00fe4a2612e918e2c48313 [file] [log] [blame]
// 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 StorageClientImpl_h
#define StorageClientImpl_h
#include "modules/storage/StorageClient.h"
#include <memory>
namespace blink {
class WebViewBase;
class StorageClientImpl : public StorageClient {
public:
explicit StorageClientImpl(WebViewBase*);
std::unique_ptr<StorageNamespace> CreateSessionStorageNamespace() override;
bool CanAccessStorage(LocalFrame*, StorageType) const override;
private:
WebViewBase* web_view_;
};
} // namespace blink
#endif // StorageClientImpl_h