Changeset 140743 in webkit
- Timestamp:
- Jan 24, 2013 3:54:58 PM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r140730 r140743 1 2013-01-24 Anders Carlsson <andersca@apple.com> 2 3 More StorageAreaProxy cleanup 4 https://bugs.webkit.org/show_bug.cgi?id=107870 5 6 Reviewed by Beth Dakin. 7 8 Remove some unnecessary 'WebCore::' qualifications, 9 and implement StorageNamespaceProxy::storageArea. 10 11 * WebProcess/Storage/StorageAreaProxy.cpp: 12 * WebProcess/Storage/StorageAreaProxy.h: 13 * WebProcess/Storage/StorageNamespaceProxy.cpp: 14 1 15 2013-01-24 Sam Weinig <sam@webkit.org> 2 16 -
trunk/Source/WebKit2/WebProcess/Storage/StorageAreaProxy.cpp
r140723 r140743 27 27 #include "StorageAreaProxy.h" 28 28 29 #include <WebCore/SecurityOrigin.h> 30 31 using namespace WebCore; 32 29 33 namespace WebKit { 30 34 31 PassRefPtr<StorageAreaProxy> StorageAreaProxy::create( )35 PassRefPtr<StorageAreaProxy> StorageAreaProxy::create(StorageNamespaceProxy* storageNamespaceProxy, PassRefPtr<SecurityOrigin> securityOrigin) 32 36 { 33 return adoptRef(new StorageAreaProxy );37 return adoptRef(new StorageAreaProxy(storageNamespaceProxy, securityOrigin)); 34 38 } 35 39 36 StorageAreaProxy::StorageAreaProxy( )40 StorageAreaProxy::StorageAreaProxy(StorageNamespaceProxy*, PassRefPtr<SecurityOrigin>) 37 41 { 42 // FIXME: Implement. 38 43 } 39 44 … … 42 47 } 43 48 44 unsigned StorageAreaProxy::length( WebCore::ExceptionCode&, WebCore::Frame* sourceFrame) const49 unsigned StorageAreaProxy::length(ExceptionCode&, Frame* sourceFrame) const 45 50 { 46 51 // FIXME: Implement this. … … 48 53 } 49 54 50 String StorageAreaProxy::key(unsigned index, WebCore::ExceptionCode&, WebCore::Frame* sourceFrame) const55 String StorageAreaProxy::key(unsigned index, ExceptionCode&, Frame* sourceFrame) const 51 56 { 52 57 // FIXME: Implement this. … … 55 60 } 56 61 57 String StorageAreaProxy::getItem(const String& key, WebCore::ExceptionCode&, WebCore::Frame* sourceFrame) const62 String StorageAreaProxy::getItem(const String& key, ExceptionCode&, Frame* sourceFrame) const 58 63 { 59 64 // FIXME: Implement this. … … 62 67 } 63 68 64 void StorageAreaProxy::setItem(const String& key, const String& value, WebCore::ExceptionCode&, WebCore::Frame* sourceFrame)69 void StorageAreaProxy::setItem(const String& key, const String& value, ExceptionCode&, Frame* sourceFrame) 65 70 { 66 71 // FIXME: Implement this. … … 68 73 } 69 74 70 void StorageAreaProxy::removeItem(const String& key, WebCore::ExceptionCode&, WebCore::Frame* sourceFrame)75 void StorageAreaProxy::removeItem(const String& key, ExceptionCode&, Frame* sourceFrame) 71 76 { 72 77 // FIXME: Implement this. … … 74 79 } 75 80 76 void StorageAreaProxy::clear( WebCore::ExceptionCode&, WebCore::Frame* sourceFrame)81 void StorageAreaProxy::clear(ExceptionCode&, Frame* sourceFrame) 77 82 { 78 83 // FIXME: Implement this. … … 80 85 } 81 86 82 bool StorageAreaProxy::contains(const String& key, WebCore::ExceptionCode&, WebCore::Frame* sourceFrame) const87 bool StorageAreaProxy::contains(const String& key, ExceptionCode&, Frame* sourceFrame) const 83 88 { 84 89 // FIXME: Implement this. … … 87 92 } 88 93 89 bool StorageAreaProxy::canAccessStorage( WebCore::Frame*) const94 bool StorageAreaProxy::canAccessStorage(Frame*) const 90 95 { 91 96 // FIXME: Implement this. -
trunk/Source/WebKit2/WebProcess/Storage/StorageAreaProxy.h
r140723 r140743 31 31 namespace WebKit { 32 32 33 class StorageNamespaceProxy; 34 33 35 class StorageAreaProxy : public WebCore::StorageArea { 34 36 public: 35 static PassRefPtr<StorageAreaProxy> create( );37 static PassRefPtr<StorageAreaProxy> create(StorageNamespaceProxy*, PassRefPtr<WebCore::SecurityOrigin>); 36 38 virtual ~StorageAreaProxy(); 37 39 38 40 private: 39 StorageAreaProxy( );41 StorageAreaProxy(StorageNamespaceProxy*, PassRefPtr<WebCore::SecurityOrigin>); 40 42 41 43 // WebCore::StorageArea. -
trunk/Source/WebKit2/WebProcess/Storage/StorageNamespaceProxy.cpp
r140712 r140743 27 27 #include "StorageNamespaceProxy.h" 28 28 29 #include "StorageAreaProxy.h" 30 #include <WebCore/SecurityOrigin.h> 31 29 32 using namespace WebCore; 30 33 … … 44 47 } 45 48 46 PassRefPtr< WebCore::StorageArea> StorageNamespaceProxy::storageArea(PassRefPtr<WebCore::SecurityOrigin>)49 PassRefPtr<StorageArea> StorageNamespaceProxy::storageArea(PassRefPtr<SecurityOrigin> securityOrigin) 47 50 { 48 // FIXME: Implement this. 49 ASSERT_NOT_REACHED(); 50 return nullptr; 51 return StorageAreaProxy::create(this, securityOrigin); 51 52 } 52 53 53 PassRefPtr< WebCore::StorageNamespace> StorageNamespaceProxy::copy()54 PassRefPtr<StorageNamespace> StorageNamespaceProxy::copy() 54 55 { 55 56 // FIXME: Implement this. … … 64 65 } 65 66 66 void StorageNamespaceProxy::clearOriginForDeletion( WebCore::SecurityOrigin*)67 void StorageNamespaceProxy::clearOriginForDeletion(SecurityOrigin*) 67 68 { 68 69 // FIXME: Implement this.
Note: See TracChangeset
for help on using the changeset viewer.