Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / Source / web / StorageClientImpl.h
blob019b1d37c64101ccc43d38ccf0a2235469665a45
1 // Copyright 2014 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 #ifndef StorageClientImpl_h
6 #define StorageClientImpl_h
8 #include "modules/storage/StorageClient.h"
10 namespace blink {
12 class WebViewImpl;
14 class StorageClientImpl : public StorageClient {
15 public:
16 explicit StorageClientImpl(WebViewImpl*);
18 PassOwnPtr<StorageNamespace> createSessionStorageNamespace() override;
19 bool canAccessStorage(LocalFrame*, StorageType) const override;
21 private:
22 WebViewImpl* m_webView;
25 } // namespace blink
27 #endif // StorageClientImpl_h