/external/chromium_org/content/browser/dom_storage/ |
session_storage_database.h | 41 // Reads the (key, value) pairs for |namespace_id| and |origin|. |result| is 45 void ReadAreaValues(const std::string& namespace_id, 49 // Updates the data for |namespace_id| and |origin|. Will remove all keys 55 bool CommitAreaChanges(const std::string& namespace_id, 60 // Creates shallow copies of the areas for |namespace_id| and associates them 62 bool CloneNamespace(const std::string& namespace_id, 65 // Deletes the data for |namespace_id| and |origin|. 66 bool DeleteArea(const std::string& namespace_id, const GURL& origin); 68 // Deletes the data for |namespace_id|. 69 bool DeleteNamespace(const std::string& namespace_id); [all...] |
dom_storage_context_impl.cc | 64 int64 namespace_id) { 67 StorageNamespaceMap::iterator found = namespaces_.find(namespace_id); 69 if (namespace_id == kLocalStorageNamespaceId) { 150 int64 namespace_id = AllocateSessionId(); local 151 CreateSessionNamespace(namespace_id, usage_info.persistent_namespace_id); 152 dom_storage_namespace = GetStorageNamespace(namespace_id); 242 int64 namespace_id, 246 OnDOMSessionStorageReset(namespace_id)); 258 int64 namespace_id, 262 DCHECK(namespace_id != kLocalStorageNamespaceId) [all...] |
session_storage_database.cc | 63 void SessionStorageDatabase::ReadAreaValues(const std::string& namespace_id, 80 if (GetMapForArea(namespace_id, origin.spec(), options, &exists, &map_id) && 87 const std::string& namespace_id, 100 if (!CreateNamespace(namespace_id, kOkIfExists, &batch)) 105 if (!GetMapForArea(namespace_id, origin.spec(), leveldb::ReadOptions(), 113 if (!DeepCopyArea(namespace_id, origin, !clear_all_first, 124 if (!CreateMapForArea(namespace_id, origin, &map_id, &batch)) 136 const std::string& namespace_id, const std::string& new_namespace_id) { 137 // Go through all origins in the namespace |namespace_id|, create placeholders 163 if (!GetAreasInNamespace(namespace_id, &areas) [all...] |
dom_storage_message_filter.cc | 93 int64 namespace_id, 96 if (!host_->OpenStorageArea(connection_id, namespace_id, origin)) { 196 void DOMStorageMessageFilter::OnDOMSessionStorageReset(int64 namespace_id) { 197 if (host_->ResetOpenAreasForNamespace(namespace_id)) 198 Send(new DOMStorageMsg_ResetCachedValues(namespace_id)); 210 int64 alias_namespace_id = area->namespace_id(); 211 if (host_->HasAreaOpen(area->namespace_id(), area->origin(), 221 params.namespace_id = alias_namespace_id;
|
dom_storage_host.cc | 28 bool DOMStorageHost::OpenStorageArea(int connection_id, int namespace_id, 34 references.namespace_ = context_->GetStorageNamespace(namespace_id); 168 int64 namespace_id, const GURL& origin, int64* alias_namespace_id) const { 171 if (namespace_id == it->second.area_->namespace_id() && 173 *alias_namespace_id = it->second.namespace_->namespace_id(); 180 bool DOMStorageHost::ResetOpenAreasForNamespace(int64 namespace_id) { 184 if (namespace_id == it->second.namespace_->namespace_id()) {
|
dom_storage_host.h | 36 bool OpenStorageArea(int connection_id, int namespace_id, 54 bool HasAreaOpen(int64 namespace_id, const GURL& origin, 58 bool ResetOpenAreasForNamespace(int64 namespace_id);
|
dom_storage_session.h | 38 int64 namespace_id() const { return namespace_id_; } function in class:content::DOMStorageSession 63 int64 namespace_id,
|
dom_storage_context_impl.h | 86 virtual void OnDOMSessionStorageReset(int64 namespace_id) = 0; 113 DOMStorageNamespace* GetStorageNamespace(int64 namespace_id); 156 int64 namespace_id, 167 void CreateSessionNamespace(int64 namespace_id, 169 void DeleteSessionNamespace(int64 namespace_id, bool should_persist_data); 184 void AddTransactionLogProcessId(int64 namespace_id, int process_id); 185 void RemoveTransactionLogProcessId(int64 namespace_id, int process_id);
|
session_storage_database_unittest.cc | 37 std::string* namespace_id); 39 std::string* namespace_id); 49 void CheckAreaData(const std::string& namespace_id, 57 const std::string& namespace_id, 59 std::string GetMapForArea(const std::string& namespace_id, 112 std::string* namespace_id) { 124 *namespace_id = key.substr( 133 std::string* namespace_id) { 143 *namespace_id = key.substr( 221 std::string namespace_id; local [all...] |
dom_storage_session.cc | 71 master_dom_storage_session->namespace_id(), 105 int64 namespace_id, 108 namespace_id_(namespace_id),
|
dom_storage_message_filter.h | 51 void OnOpenStorageArea(int connection_id, int64 namespace_id, 81 virtual void OnDOMSessionStorageReset(int64 namespace_id) OVERRIDE;
|
dom_storage_area.h | 42 DOMStorageArea(int64 namespace_id, 49 int64 namespace_id() const { return namespace_id_; } function in class:content::DOMStorageArea
|
session_storage_namespace_impl.cc | 36 return session_->namespace_id();
|
dom_storage_namespace.h | 48 DOMStorageNamespace(int64 namespace_id, 53 int64 namespace_id() const { return namespace_id_; } function in class:content::DOMStorageNamespace
|
dom_storage_area.cc | 77 int64 namespace_id, 82 : namespace_id_(namespace_id), 92 DCHECK(namespace_id != kLocalStorageNamespaceId);
|
/external/chromium_org/content/renderer/dom_storage/ |
dom_storage_dispatcher.cc | 102 int64 namespace_id, const GURL& origin); 105 int64 namespace_id, const GURL& origin); 106 void ResetAllCachedAreas(int64 namespace_id); 135 int64 namespace_id) 136 : area_(area), open_count_(count), namespace_id_(namespace_id) {} 160 std::string GetCachedAreaKey(int64 namespace_id, const GURL& origin) { 161 return base::Int64ToString(namespace_id) + origin.spec(); 184 int64 namespace_id, const GURL& origin) { 185 std::string key = GetCachedAreaKey(namespace_id, origin); 191 new DOMStorageCachedArea(namespace_id, origin, this) [all...] |
webstoragenamespace_impl.cc | 24 int64 namespace_id) 25 : namespace_id_(namespace_id) { 26 DCHECK_NE(kInvalidSessionStorageNamespaceId, namespace_id);
|
dom_storage_dispatcher.h | 33 int64 namespace_id, 45 void OnResetCachedValues(int64 namespace_id);
|
webstoragenamespace_impl.h | 18 explicit WebStorageNamespaceImpl(int64 namespace_id);
|
webstoragearea_impl.cc | 38 int64 namespace_id, const GURL& origin) 41 OpenCachedArea(connection_id_, namespace_id, origin)) {
|
webstoragearea_impl.h | 23 WebStorageAreaImpl(int64 namespace_id, const GURL& origin);
|
dom_storage_cached_area.h | 30 DOMStorageCachedArea(int64 namespace_id, 34 int64 namespace_id() const { return namespace_id_; } function in class:content::DOMStorageCachedArea
|
/external/chromium_org/content/common/dom_storage/ |
dom_storage_messages.h | 36 // The non-zero session namespace_id associated with the event or 0 if 38 IPC_STRUCT_MEMBER(int64, namespace_id) 58 int64 /* namespace_id */) 66 int64 /* namespace_id */,
|
/external/chromium_org/gpu/command_buffer/client/ |
share_group.h | 55 IdHandlerInterface* GetIdHandler(int namespace_id) const { 56 return id_handlers_[namespace_id].get();
|
/external/chromium_org/gpu/command_buffer/service/ |
context_group.cc | 325 IdAllocatorInterface* ContextGroup::GetIdAllocator(unsigned namespace_id) { 326 if (namespace_id >= arraysize(id_namespaces_)) 329 return id_namespaces_[namespace_id].get();
|