Home | History | Annotate | Download | only in inspector

Lines Matching refs:storageId

111 void InspectorDOMStorageAgent::getValue(ErrorString* errorString, const RefPtr<JSONObject>& storageId, const String& key, TypeBuilder::OptOutput<WTF::String>* value)
114 OwnPtr<StorageArea> storageArea = findStorageArea(errorString, storageId, frame);
127 void InspectorDOMStorageAgent::getDOMStorageItems(ErrorString* errorString, const RefPtr<JSONObject>& storageId, RefPtr<TypeBuilder::Array<TypeBuilder::Array<String> > >& items)
130 OwnPtr<StorageArea> storageArea = findStorageArea(errorString, storageId, frame);
159 void InspectorDOMStorageAgent::setDOMStorageItem(ErrorString* errorString, const RefPtr<JSONObject>& storageId, const String& key, const String& value)
162 OwnPtr<StorageArea> storageArea = findStorageArea(0, storageId, frame);
173 void InspectorDOMStorageAgent::removeDOMStorageItem(ErrorString* errorString, const RefPtr<JSONObject>& storageId, const String& key)
176 OwnPtr<StorageArea> storageArea = findStorageArea(0, storageId, frame);
187 String InspectorDOMStorageAgent::storageId(Storage* storage)
196 return storageId(securityOrigin.get(), isLocalStorage)->toJSONString();
199 PassRefPtr<TypeBuilder::DOMStorage::StorageId> InspectorDOMStorageAgent::storageId(SecurityOrigin* securityOrigin, bool isLocalStorage)
201 return TypeBuilder::DOMStorage::StorageId::create()
211 RefPtr<TypeBuilder::DOMStorage::StorageId> id = storageId(securityOrigin, storageType == LocalStorage);
223 PassOwnPtr<StorageArea> InspectorDOMStorageAgent::findStorageArea(ErrorString* errorString, const RefPtr<JSONObject>& storageId, Frame*& targetFrame)
227 bool success = storageId->getString("securityOrigin", &securityOrigin);
229 success = storageId->getBoolean("isLocalStorage", &isLocalStorage);
232 *errorString = "Invalid storageId format";