| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2009 Google Inc. All Rights Reserved. | 2  * Copyright (C) 2009 Google Inc. All Rights Reserved. | 
| 3  *           (C) 2008 Apple Inc. | 3  *           (C) 2008 Apple Inc. | 
| 4  * | 4  * | 
| 5  * Redistribution and use in source and binary forms, with or without | 5  * Redistribution and use in source and binary forms, with or without | 
| 6  * modification, are permitted provided that the following conditions | 6  * modification, are permitted provided that the following conditions | 
| 7  * are met: | 7  * are met: | 
| 8  * 1. Redistributions of source code must retain the above copyright | 8  * 1. Redistributions of source code must retain the above copyright | 
| 9  *    notice, this list of conditions and the following disclaimer. | 9  *    notice, this list of conditions and the following disclaimer. | 
| 10  * 2. Redistributions in binary form must reproduce the above copyright | 10  * 2. Redistributions in binary form must reproduce the above copyright | 
| (...skipping 18 matching lines...) Expand all  Loading... | 
| 29 | 29 | 
| 30 #include "DOMWindow.h" | 30 #include "DOMWindow.h" | 
| 31 #include "Document.h" | 31 #include "Document.h" | 
| 32 #include "EventNames.h" | 32 #include "EventNames.h" | 
| 33 #include "ExceptionCode.h" | 33 #include "ExceptionCode.h" | 
| 34 #include "Frame.h" | 34 #include "Frame.h" | 
| 35 #include "InspectorInstrumentation.h" | 35 #include "InspectorInstrumentation.h" | 
| 36 #include "Page.h" | 36 #include "Page.h" | 
| 37 #include "PageGroup.h" | 37 #include "PageGroup.h" | 
| 38 #include "SecurityOrigin.h" | 38 #include "SecurityOrigin.h" | 
| 39 #include "Storage.h" |  | 
| 40 #include "StorageEvent.h" |  | 
| 41 #include "StorageNamespaceProxy.h" | 39 #include "StorageNamespaceProxy.h" | 
|  | 40 #include "core/storage/Storage.h" | 
|  | 41 #include "core/storage/StorageEvent.h" | 
| 42 | 42 | 
| 43 #include "WebFrameImpl.h" | 43 #include "WebFrameImpl.h" | 
| 44 #include "WebPermissionClient.h" | 44 #include "WebPermissionClient.h" | 
| 45 #include "WebViewImpl.h" | 45 #include "WebViewImpl.h" | 
| 46 #include <public/WebStorageArea.h> | 46 #include <public/WebStorageArea.h> | 
| 47 #include <public/WebString.h> | 47 #include <public/WebString.h> | 
| 48 #include <public/WebURL.h> | 48 #include <public/WebURL.h> | 
| 49 | 49 | 
| 50 namespace WebCore { | 50 namespace WebCore { | 
| 51 | 51 | 
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 196 } | 196 } | 
| 197 | 197 | 
| 198 bool StorageAreaProxy::isEventSource(Storage* storage, WebKit::WebStorageArea* s
     ourceAreaInstance) | 198 bool StorageAreaProxy::isEventSource(Storage* storage, WebKit::WebStorageArea* s
     ourceAreaInstance) | 
| 199 { | 199 { | 
| 200     ASSERT(storage); | 200     ASSERT(storage); | 
| 201     StorageAreaProxy* areaProxy = static_cast<StorageAreaProxy*>(storage->area()
     ); | 201     StorageAreaProxy* areaProxy = static_cast<StorageAreaProxy*>(storage->area()
     ); | 
| 202     return areaProxy->m_storageArea == sourceAreaInstance; | 202     return areaProxy->m_storageArea == sourceAreaInstance; | 
| 203 } | 203 } | 
| 204 | 204 | 
| 205 } // namespace WebCore | 205 } // namespace WebCore | 
| OLD | NEW | 
|---|