| OLD | NEW |
| (Empty) |
| 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. | |
| 4 | |
| 5 #ifndef COMPONENTS_HTML_VIEWER_WEB_STORAGE_NAMESPACE_IMPL_H_ | |
| 6 #define COMPONENTS_HTML_VIEWER_WEB_STORAGE_NAMESPACE_IMPL_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "third_party/WebKit/public/platform/WebStorageNamespace.h" | |
| 10 | |
| 11 namespace html_viewer { | |
| 12 | |
| 13 class WebStorageNamespaceImpl : public blink::WebStorageNamespace { | |
| 14 public: | |
| 15 WebStorageNamespaceImpl(); | |
| 16 | |
| 17 private: | |
| 18 ~WebStorageNamespaceImpl() override; | |
| 19 | |
| 20 // blink::WebStorageNamespace methods: | |
| 21 blink::WebStorageArea* createStorageArea( | |
| 22 const blink::WebString& origin) override; | |
| 23 bool isSameNamespace(const blink::WebStorageNamespace&) const override; | |
| 24 | |
| 25 DISALLOW_COPY_AND_ASSIGN(WebStorageNamespaceImpl); | |
| 26 }; | |
| 27 | |
| 28 } // namespace html_viewer | |
| 29 | |
| 30 #endif // COMPONENTS_HTML_VIEWER_WEB_STORAGE_NAMESPACE_IMPL_H_ | |
| OLD | NEW |