OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "mojo/services/html_viewer/web_storage_namespace_impl.h" | 5 #include "components/html_viewer/web_storage_namespace_impl.h" |
6 | 6 |
7 #include <stdio.h> | 7 #include <stdio.h> |
8 | 8 |
9 #include "third_party/WebKit/public/platform/WebStorageArea.h" | 9 #include "third_party/WebKit/public/platform/WebStorageArea.h" |
10 | 10 |
11 namespace html_viewer { | 11 namespace html_viewer { |
12 namespace { | 12 namespace { |
13 | 13 |
14 class DummyWebStorageAreaImpl : public blink::WebStorageArea { | 14 class DummyWebStorageAreaImpl : public blink::WebStorageArea { |
15 public: | 15 public: |
(...skipping 16 matching lines...) Expand all Loading... |
32 const blink::WebString& origin) { | 32 const blink::WebString& origin) { |
33 return new DummyWebStorageAreaImpl(); | 33 return new DummyWebStorageAreaImpl(); |
34 } | 34 } |
35 | 35 |
36 bool WebStorageNamespaceImpl::isSameNamespace( | 36 bool WebStorageNamespaceImpl::isSameNamespace( |
37 const blink::WebStorageNamespace&) const { | 37 const blink::WebStorageNamespace&) const { |
38 return false; | 38 return false; |
39 } | 39 } |
40 | 40 |
41 } // namespace html_viewer | 41 } // namespace html_viewer |
OLD | NEW |