Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Unified Diff: mojo/examples/html_viewer/webstoragenamespace_impl.cc

Issue 393983004: Move mojo/examples/html_viewer to mojo/services/html_viewer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nuke 'examples' namespace Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « mojo/examples/html_viewer/webstoragenamespace_impl.h ('k') | mojo/examples/html_viewer/webthemeengine_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698