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

Side by Side Diff: mojo/services/html_viewer/webstoragenamespace_impl.h

Issue 393983004: Move mojo/examples/html_viewer to mojo/services/html_viewer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 #ifndef MOJO_EXAMPLES_HTML_VIEWER_WEBSTORAGENAMESPACE_IMPL_H_ 5 #ifndef MOJO_SERVICES_HTML_VIEWER_WEBSTORAGENAMESPACE_IMPL_H_
6 #define MOJO_EXAMPLES_HTML_VIEWER_WEBSTORAGENAMESPACE_IMPL_H_ 6 #define MOJO_SERVICES_HTML_VIEWER_WEBSTORAGENAMESPACE_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "third_party/WebKit/public/platform/WebStorageNamespace.h" 9 #include "third_party/WebKit/public/platform/WebStorageNamespace.h"
10 10
11 namespace mojo { 11 namespace mojo {
12 namespace examples { 12 namespace examples {
13 13
14 class WebStorageNamespaceImpl : public blink::WebStorageNamespace { 14 class WebStorageNamespaceImpl : public blink::WebStorageNamespace {
15 public: 15 public:
16 WebStorageNamespaceImpl(); 16 WebStorageNamespaceImpl();
17 17
18 private: 18 private:
19 virtual ~WebStorageNamespaceImpl(); 19 virtual ~WebStorageNamespaceImpl();
20 20
21 // blink::WebStorageNamespace methods: 21 // blink::WebStorageNamespace methods:
22 virtual blink::WebStorageArea* createStorageArea( 22 virtual blink::WebStorageArea* createStorageArea(
23 const blink::WebString& origin); 23 const blink::WebString& origin);
24 virtual bool isSameNamespace(const blink::WebStorageNamespace&) const; 24 virtual bool isSameNamespace(const blink::WebStorageNamespace&) const;
25 25
26 DISALLOW_COPY_AND_ASSIGN(WebStorageNamespaceImpl); 26 DISALLOW_COPY_AND_ASSIGN(WebStorageNamespaceImpl);
27 }; 27 };
28 28
29 } // namespace examples 29 } // namespace examples
30 } // namespace mojo 30 } // namespace mojo
31 31
32 #endif // MOJO_EXAMPLES_HTML_VIEWER_WEBSTORAGENAMESPACE_IMPL_H_ 32 #endif // MOJO_SERVICES_HTML_VIEWER_WEBSTORAGENAMESPACE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698