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

Side by Side Diff: WebKit/chromium/src/StorageAreaProxy.h

Issue 10539097: WebKit-side: Implement StorageArea::containsItem(...) for the chromium port too. Cleanup some depre… Base URL: http://svn.webkit.org/repository/webkit/trunk/Source/
Patch Set: Created 8 years, 6 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
« no previous file with comments | « Platform/chromium/public/WebStorageArea.h ('k') | WebKit/chromium/src/StorageAreaProxy.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All Rights Reserved. 2 * Copyright (C) 2009 Google 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 SecurityOrigin*, const KURL& pageURL, const WebKit::WebStorageNamesp ace&, 66 SecurityOrigin*, const KURL& pageURL, const WebKit::WebStorageNamesp ace&,
67 WebKit::WebStorageArea* sourceAreaInstance, bool originatedInProcess ); 67 WebKit::WebStorageArea* sourceAreaInstance, bool originatedInProcess );
68 68
69 private: 69 private:
70 bool canAccessStorage(Frame*) const; 70 bool canAccessStorage(Frame*) const;
71 71
72 static bool isEventSource(Storage*, WebKit::WebStorageArea* sourceAreaInstan ce); 72 static bool isEventSource(Storage*, WebKit::WebStorageArea* sourceAreaInstan ce);
73 73
74 OwnPtr<WebKit::WebStorageArea> m_storageArea; 74 OwnPtr<WebKit::WebStorageArea> m_storageArea;
75 StorageType m_storageType; 75 StorageType m_storageType;
76 mutable bool m_cachedCanAccessSetting;
77 mutable void* m_cachedCanAccessSettingForFrame;
76 }; 78 };
77 79
78 } // namespace WebCore 80 } // namespace WebCore
79 81
80 #endif // StorageAreaProxy_h 82 #endif // StorageAreaProxy_h
OLDNEW
« no previous file with comments | « Platform/chromium/public/WebStorageArea.h ('k') | WebKit/chromium/src/StorageAreaProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698