Index: mojo/examples/html_viewer/webstoragenamespace_impl.cc |
diff --git a/mojo/examples/html_viewer/webstoragenamespace_impl.cc b/mojo/examples/html_viewer/webstoragenamespace_impl.cc |
deleted file mode 100644 |
index 5d0c3d2a035e81de342c769d71395523495c6ffd..0000000000000000000000000000000000000000 |
--- a/mojo/examples/html_viewer/webstoragenamespace_impl.cc |
+++ /dev/null |
@@ -1,47 +0,0 @@ |
-// 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. |
- |
-#include "mojo/examples/html_viewer/webstoragenamespace_impl.h" |
- |
-#include <stdio.h> |
- |
-#include "third_party/WebKit/public/platform/WebStorageArea.h" |
- |
-namespace mojo { |
-namespace examples { |
-namespace { |
- |
-class DummyWebStorageAreaImpl : public blink::WebStorageArea { |
- public: |
- virtual unsigned length() { |
- return 0; |
- } |
- virtual blink::WebString key(unsigned index) { |
- return blink::WebString(); |
- } |
- virtual blink::WebString getItem(const blink::WebString& key) { |
- return blink::WebString(); |
- } |
-}; |
- |
-} // namespace |
- |
-WebStorageNamespaceImpl::WebStorageNamespaceImpl() { |
-} |
- |
-WebStorageNamespaceImpl::~WebStorageNamespaceImpl() { |
-} |
- |
-blink::WebStorageArea* WebStorageNamespaceImpl::createStorageArea( |
- const blink::WebString& origin) { |
- return new DummyWebStorageAreaImpl(); |
-} |
- |
-bool WebStorageNamespaceImpl::isSameNamespace( |
- const blink::WebStorageNamespace&) const { |
- return false; |
-} |
- |
-} // namespace examples |
-} // namespace mojo |