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

Side by Side Diff: content/renderer/dom_storage/webstoragenamespace_impl.h

Issue 1547073003: Switch to standard integer types in content/renderer/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_RENDERER_DOM_STORAGE_WEBSTORAGENAMESPACE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_DOM_STORAGE_WEBSTORAGENAMESPACE_IMPL_H_
6 #define CONTENT_RENDERER_DOM_STORAGE_WEBSTORAGENAMESPACE_IMPL_H_ 6 #define CONTENT_RENDERER_DOM_STORAGE_WEBSTORAGENAMESPACE_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include <stdint.h>
9
9 #include "third_party/WebKit/public/platform/WebStorageNamespace.h" 10 #include "third_party/WebKit/public/platform/WebStorageNamespace.h"
10 11
11 namespace content { 12 namespace content {
12 13
13 class WebStorageNamespaceImpl : public blink::WebStorageNamespace { 14 class WebStorageNamespaceImpl : public blink::WebStorageNamespace {
14 public: 15 public:
15 // The default constructor creates a local storage namespace, the second 16 // The default constructor creates a local storage namespace, the second
16 // constructor should be used for session storage namepaces. 17 // constructor should be used for session storage namepaces.
17 WebStorageNamespaceImpl(); 18 WebStorageNamespaceImpl();
18 explicit WebStorageNamespaceImpl(int64 namespace_id); 19 explicit WebStorageNamespaceImpl(int64_t namespace_id);
19 ~WebStorageNamespaceImpl() override; 20 ~WebStorageNamespaceImpl() override;
20 21
21 // See WebStorageNamespace.h for documentation on these functions. 22 // See WebStorageNamespace.h for documentation on these functions.
22 blink::WebStorageArea* createStorageArea( 23 blink::WebStorageArea* createStorageArea(
23 const blink::WebString& origin) override; 24 const blink::WebString& origin) override;
24 virtual blink::WebStorageNamespace* copy(); 25 virtual blink::WebStorageNamespace* copy();
25 bool isSameNamespace(const WebStorageNamespace&) const override; 26 bool isSameNamespace(const WebStorageNamespace&) const override;
26 27
27 private: 28 private:
28 int64 namespace_id_; 29 int64_t namespace_id_;
29 }; 30 };
30 31
31 } // namespace content 32 } // namespace content
32 33
33 #endif // CONTENT_RENDERER_DOM_STORAGE_WEBSTORAGENAMESPACE_IMPL_H_ 34 #endif // CONTENT_RENDERER_DOM_STORAGE_WEBSTORAGENAMESPACE_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/dom_storage/webstoragearea_impl.cc ('k') | content/renderer/dom_storage/webstoragenamespace_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698