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

Side by Side Diff: Source/modules/storage/StorageNamespace.h

Issue 1106263003: Removing blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 14 matching lines...) Expand all
25 25
26 #ifndef StorageNamespace_h 26 #ifndef StorageNamespace_h
27 #define StorageNamespace_h 27 #define StorageNamespace_h
28 28
29 #include "modules/ModulesExport.h" 29 #include "modules/ModulesExport.h"
30 #include "platform/heap/Handle.h" 30 #include "platform/heap/Handle.h"
31 #include "wtf/OwnPtr.h" 31 #include "wtf/OwnPtr.h"
32 #include "wtf/PassOwnPtr.h" 32 #include "wtf/PassOwnPtr.h"
33 33
34 namespace blink { 34 namespace blink {
35
35 class WebStorageNamespace; 36 class WebStorageNamespace;
36 }
37
38 namespace blink {
39
40 class SecurityOrigin; 37 class SecurityOrigin;
41 class StorageArea; 38 class StorageArea;
42 39
43 class MODULES_EXPORT StorageNamespace { 40 class MODULES_EXPORT StorageNamespace {
44 public: 41 public:
45 explicit StorageNamespace(PassOwnPtr<blink::WebStorageNamespace>); 42 explicit StorageNamespace(PassOwnPtr<WebStorageNamespace>);
46 ~StorageNamespace(); 43 ~StorageNamespace();
47 44
48 static StorageArea* localStorageArea(SecurityOrigin*); 45 static StorageArea* localStorageArea(SecurityOrigin*);
49 46
50 StorageArea* storageArea(SecurityOrigin*); 47 StorageArea* storageArea(SecurityOrigin*);
51 bool isSameNamespace(const blink::WebStorageNamespace& sessionNamespace) con st; 48 bool isSameNamespace(const WebStorageNamespace& sessionNamespace) const;
52 49
53 private: 50 private:
54 OwnPtr<blink::WebStorageNamespace> m_webStorageNamespace; 51 OwnPtr<WebStorageNamespace> m_webStorageNamespace;
55 }; 52 };
56 53
57 } // namespace blink 54 } // namespace blink
58 55
59 #endif // StorageNamespace_h 56 #endif // StorageNamespace_h
OLDNEW
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerClients.cpp ('k') | Source/modules/vr/HMDVRDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698