HomeSort by relevance Sort by last modified time
    Searched refs:namespace_id (Results 1 - 25 of 42) sorted by null

1 2

  /external/chromium_org/content/renderer/dom_storage/
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);
dom_storage_dispatcher.cc 103 int64 namespace_id, const GURL& origin);
106 int64 namespace_id, const GURL& origin);
107 void ResetAllCachedAreas(int64 namespace_id);
136 int64 namespace_id)
137 : area_(area), open_count_(count), namespace_id_(namespace_id) {}
161 std::string GetCachedAreaKey(int64 namespace_id, const GURL& origin) {
162 return base::Int64ToString(namespace_id) + origin.spec();
185 int64 namespace_id, const GURL& origin) {
186 std::string key = GetCachedAreaKey(namespace_id, origin);
192 new DOMStorageCachedArea(namespace_id, origin, this)
    [all...]
webstoragenamespace_impl.h 18 explicit WebStorageNamespaceImpl(int64 namespace_id);
dom_storage_cached_area.h 30 DOMStorageCachedArea(int64 namespace_id,
34 int64 namespace_id() const { return namespace_id_; } function in class:content::DOMStorageCachedArea
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);
  /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...]
session_storage_database.cc 106 void SessionStorageDatabase::ReadAreaValues(const std::string& namespace_id,
124 if (GetMapForArea(namespace_id, origin.spec(), options, &exists, &map_id) &&
131 const std::string& namespace_id,
145 if (!CreateNamespace(namespace_id, kOkIfExists, &batch))
150 if (!GetMapForArea(namespace_id, origin.spec(), leveldb::ReadOptions(),
158 if (!DeepCopyArea(namespace_id, origin, !clear_all_first,
169 if (!CreateMapForArea(namespace_id, origin, &map_id, &batch))
181 const std::string& namespace_id, const std::string& new_namespace_id) {
182 // Go through all origins in the namespace |namespace_id|, create placeholders
209 if (!GetAreasInNamespace(namespace_id, &areas)
    [all...]
dom_storage_context_impl.h 86 virtual void OnDOMSessionStorageReset(int64 namespace_id) = 0;
113 DOMStorageNamespace* GetStorageNamespace(int64 namespace_id);
155 int64 namespace_id,
166 void CreateSessionNamespace(int64 namespace_id,
168 void DeleteSessionNamespace(int64 namespace_id, bool should_persist_data);
183 void AddTransactionLogProcessId(int64 namespace_id, int process_id);
184 void RemoveTransactionLogProcessId(int64 namespace_id, int process_id);
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);
231 int64 namespace_id,
235 OnDOMSessionStorageReset(namespace_id));
247 int64 namespace_id,
251 DCHECK(namespace_id != kLocalStorageNamespaceId)
    [all...]
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_host.cc 28 bool DOMStorageHost::OpenStorageArea(int connection_id, int namespace_id,
34 references.namespace_ = context_->GetStorageNamespace(namespace_id);
156 int64 namespace_id, const GURL& origin, int64* alias_namespace_id) const {
159 if (namespace_id == it->second.area_->namespace_id() &&
161 *alias_namespace_id = it->second.namespace_->namespace_id();
168 bool DOMStorageHost::ResetOpenAreasForNamespace(int64 namespace_id) {
172 if (namespace_id == it->second.namespace_->namespace_id()) {
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_session.h 38 int64 namespace_id() const { return namespace_id_; } function in class:content::DOMStorageSession
63 int64 namespace_id,
dom_storage_message_filter.h 50 void OnOpenStorageArea(int connection_id, int64 namespace_id,
80 virtual void OnDOMSessionStorageReset(int64 namespace_id) OVERRIDE;
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_area.h 42 DOMStorageArea(int64 namespace_id,
49 int64 namespace_id() const { return namespace_id_; } function in class:content::DOMStorageArea
dom_storage_namespace.h 48 DOMStorageNamespace(int64 namespace_id,
53 int64 namespace_id() const { return namespace_id_; } function in class:content::DOMStorageNamespace
session_storage_namespace_impl.cc 36 return session_->namespace_id();
dom_storage_area.cc 77 int64 namespace_id,
82 : namespace_id_(namespace_id),
92 DCHECK(namespace_id != kLocalStorageNamespaceId);
  /external/chromium_org/gpu/command_buffer/client/
share_group.h 33 IdHandlerData* id_handler_data(int namespace_id) {
34 return &id_handler_data_[namespace_id];
76 IdHandlerInterface* GetIdHandler(int namespace_id) const {
77 return id_handlers_[namespace_id].get();
  /external/chromium_org/content/common/dom_storage/
dom_storage_messages.h 39 // The non-zero session namespace_id associated with the event or 0 if
41 IPC_STRUCT_MEMBER(int64, namespace_id)
59 int64 /* namespace_id */)
67 int64 /* namespace_id */,
  /external/chromium_org/gpu/command_buffer/service/
context_group.cc 330 IdAllocatorInterface* ContextGroup::GetIdAllocator(unsigned namespace_id) {
331 if (namespace_id >= arraysize(id_namespaces_))
334 return id_namespaces_[namespace_id].get();

Completed in 119 milliseconds

1 2