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

Side by Side Diff: components/html_viewer/web_storage_namespace_impl.h

Issue 1099303002: Move html_viewer from mojo/services to components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 8 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
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_SERVICES_HTML_VIEWER_WEB_STORAGE_NAMESPACE_IMPL_H_ 5 #ifndef COMPONENTS_HTML_VIEWER_WEB_STORAGE_NAMESPACE_IMPL_H_
6 #define MOJO_SERVICES_HTML_VIEWER_WEB_STORAGE_NAMESPACE_IMPL_H_ 6 #define COMPONENTS_HTML_VIEWER_WEB_STORAGE_NAMESPACE_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 html_viewer { 11 namespace html_viewer {
12 12
13 class WebStorageNamespaceImpl : public blink::WebStorageNamespace { 13 class WebStorageNamespaceImpl : public blink::WebStorageNamespace {
14 public: 14 public:
15 WebStorageNamespaceImpl(); 15 WebStorageNamespaceImpl();
16 16
17 private: 17 private:
18 virtual ~WebStorageNamespaceImpl(); 18 virtual ~WebStorageNamespaceImpl();
19 19
20 // blink::WebStorageNamespace methods: 20 // blink::WebStorageNamespace methods:
21 virtual blink::WebStorageArea* createStorageArea( 21 virtual blink::WebStorageArea* createStorageArea(
22 const blink::WebString& origin); 22 const blink::WebString& origin);
23 virtual bool isSameNamespace(const blink::WebStorageNamespace&) const; 23 virtual bool isSameNamespace(const blink::WebStorageNamespace&) const;
24 24
25 DISALLOW_COPY_AND_ASSIGN(WebStorageNamespaceImpl); 25 DISALLOW_COPY_AND_ASSIGN(WebStorageNamespaceImpl);
26 }; 26 };
27 27
28 } // namespace html_viewer 28 } // namespace html_viewer
29 29
30 #endif // MOJO_SERVICES_HTML_VIEWER_WEB_STORAGE_NAMESPACE_IMPL_H_ 30 #endif // COMPONENTS_HTML_VIEWER_WEB_STORAGE_NAMESPACE_IMPL_H_
OLDNEW
« no previous file with comments | « components/html_viewer/web_socket_handle_impl.cc ('k') | components/html_viewer/web_storage_namespace_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698