Searched refs:namespace_id (Results 1 - 25 of 42) sorted by relevance

12

/external/chromium_org/content/renderer/dom_storage/
H A Dwebstoragenamespace_impl.cc24 int64 namespace_id)
25 : namespace_id_(namespace_id) {
26 DCHECK_NE(kInvalidSessionStorageNamespaceId, namespace_id);
23 WebStorageNamespaceImpl( int64 namespace_id) argument
H A Ddom_storage_dispatcher.cc103 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) { argument
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, origi
135 CachedAreaHolder(DOMStorageCachedArea* area, int count, int64 namespace_id) argument
184 OpenCachedArea( int64 namespace_id, const GURL& origin) argument
209 LookupCachedArea( int64 namespace_id, const GURL& origin) argument
218 ResetAllCachedAreas(int64 namespace_id) argument
288 OpenCachedArea( int connection_id, int64 namespace_id, const GURL& origin) argument
360 OnResetCachedValues(int64 namespace_id) argument
[all...]
H A Ddom_storage_dispatcher.h33 int64 namespace_id,
45 void OnResetCachedValues(int64 namespace_id);
H A Dwebstoragenamespace_impl.h18 explicit WebStorageNamespaceImpl(int64 namespace_id);
H A Dwebstoragearea_impl.cc38 int64 namespace_id, const GURL& origin)
41 OpenCachedArea(connection_id_, namespace_id, origin)) {
37 WebStorageAreaImpl( int64 namespace_id, const GURL& origin) argument
H A Dwebstoragearea_impl.h23 WebStorageAreaImpl(int64 namespace_id, const GURL& origin);
H A Ddom_storage_cached_area.h30 DOMStorageCachedArea(int64 namespace_id,
34 int64 namespace_id() const { return namespace_id_; } function in class:content::DOMStorageCachedArea
/external/chromium_org/content/browser/dom_storage/
H A Dsession_storage_database.h41 // 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...]
H A Dsession_storage_database.cc106 void SessionStorageDatabase::ReadAreaValues(const std::string& namespace_id, argument
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,
130 CommitAreaChanges( const std::string& namespace_id, const GURL& origin, bool clear_all_first, const DOMStorageValuesMap& changes) argument
180 CloneNamespace( const std::string& namespace_id, const std::string& new_namespace_id) argument
224 DeleteArea(const std::string& namespace_id, const GURL& origin) argument
238 DeleteNamespace(const std::string& namespace_id) argument
417 CreateNamespace(const std::string& namespace_id, bool ok_if_exists, leveldb::WriteBatch* batch) argument
440 GetAreasInNamespace( const std::string& namespace_id, std::map<std::string, std::string>* areas) argument
470 AddAreaToNamespace(const std::string& namespace_id, const std::string& origin, const std::string& map_id, leveldb::WriteBatch* batch) argument
478 DeleteAreaHelper( const std::string& namespace_id, const std::string& origin, leveldb::WriteBatch* batch) argument
515 GetMapForArea(const std::string& namespace_id, const std::string& origin, const leveldb::ReadOptions& options, bool* exists, std::string* map_id) argument
529 CreateMapForArea(const std::string& namespace_id, const GURL& origin, std::string* map_id, leveldb::WriteBatch* batch) argument
664 DeepCopyArea( const std::string& namespace_id, const GURL& origin, bool copy_data, std::string* map_id, leveldb::WriteBatch* batch) argument
701 NamespaceStartKey( const std::string& namespace_id) argument
706 NamespaceKey( const std::string& namespace_id, const std::string& origin) argument
[all...]
H A Ddom_storage_context_impl.h86 virtual void OnDOMSessionStorageReset(int64 namespace_id) = 0;
112 DOMStorageNamespace* GetStorageNamespace(int64 namespace_id);
154 int64 namespace_id,
165 void CreateSessionNamespace(int64 namespace_id,
167 void DeleteSessionNamespace(int64 namespace_id, bool should_persist_data);
182 void AddTransactionLogProcessId(int64 namespace_id, int process_id);
183 void RemoveTransactionLogProcessId(int64 namespace_id, int process_id);
H A Ddom_storage_context_impl.cc64 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 !
63 GetStorageNamespace( int64 namespace_id) argument
230 NotifyAliasSessionMerged( int64 namespace_id, DOMStorageNamespace* old_alias_master_namespace) argument
246 CreateSessionNamespace( int64 namespace_id, const std::string& persistent_namespace_id) argument
260 DeleteSessionNamespace( int64 namespace_id, bool should_persist_data) argument
461 AddTransactionLogProcessId(int64 namespace_id, int process_id) argument
470 RemoveTransactionLogProcessId(int64 namespace_id, int process_id) argument
[all...]
H A Ddom_storage_host.h36 bool OpenStorageArea(int connection_id, int namespace_id,
54 bool HasAreaOpen(int64 namespace_id, const GURL& origin,
58 bool ResetOpenAreasForNamespace(int64 namespace_id);
H A Ddom_storage_host.cc28 bool DOMStorageHost::OpenStorageArea(int connection_id, int namespace_id, argument
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) { argument
172 if (namespace_id == it->second.namespace_->namespace_id()) {
155 HasAreaOpen( int64 namespace_id, const GURL& origin, int64* alias_namespace_id) const argument
H A Ddom_storage_message_filter.cc93 int64 namespace_id,
96 if (!host_->OpenStorageArea(connection_id, namespace_id, origin)) {
196 void DOMStorageMessageFilter::OnDOMSessionStorageReset(int64 namespace_id) { argument
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;
92 OnOpenStorageArea(int connection_id, int64 namespace_id, const GURL& origin) argument
H A Ddom_storage_session.h38 int64 namespace_id() const { return namespace_id_; } function in class:content::DOMStorageSession
63 int64 namespace_id,
H A Ddom_storage_message_filter.h50 void OnOpenStorageArea(int connection_id, int64 namespace_id,
80 virtual void OnDOMSessionStorageReset(int64 namespace_id) OVERRIDE;
H A Dsession_storage_database_unittest.cc37 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
111 IsNamespaceKey(const std::string& key, std::string* namespace_id) argument
131 IsNamespaceOriginKey( const std::string& key, std::string* namespace_id) argument
318 CheckAreaData( const std::string& namespace_id, const GURL& origin, const DOMStorageValuesMap& reference) const argument
354 CheckOrigins( const std::string& namespace_id, const std::set<GURL>& expected_origins) const argument
367 GetMapForArea( const std::string& namespace_id, const GURL& origin) const argument
[all...]
H A Ddom_storage_session.cc71 master_dom_storage_session->namespace_id(),
105 int64 namespace_id,
108 namespace_id_(namespace_id),
104 DOMStorageSession(DOMStorageContextImpl* context, int64 namespace_id, const std::string& persistent_namespace_id) argument
H A Ddom_storage_area.h42 DOMStorageArea(int64 namespace_id,
49 int64 namespace_id() const { return namespace_id_; } function in class:content::DOMStorageArea
H A Ddom_storage_namespace.h48 DOMStorageNamespace(int64 namespace_id,
53 int64 namespace_id() const { return namespace_id_; } function in class:content::DOMStorageNamespace
H A Dsession_storage_namespace_impl.cc36 return session_->namespace_id();
H A Ddom_storage_area.cc77 int64 namespace_id,
82 : namespace_id_(namespace_id),
92 DCHECK(namespace_id != kLocalStorageNamespaceId);
76 DOMStorageArea( int64 namespace_id, const std::string& persistent_namespace_id, const GURL& origin, SessionStorageDatabase* session_storage_backing, DOMStorageTaskRunner* task_runner) argument
/external/chromium_org/gpu/command_buffer/client/
H A Dshare_group.h33 IdHandlerData* id_handler_data(int namespace_id) { argument
34 return &id_handler_data_[namespace_id];
74 IdHandlerInterface* GetIdHandler(int namespace_id) const {
75 return id_handlers_[namespace_id].get();
/external/chromium_org/content/common/dom_storage/
H A Ddom_storage_messages.h39 // 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/
H A Dcontext_group.cc331 IdAllocatorInterface* ContextGroup::GetIdAllocator(unsigned namespace_id) { argument
332 if (namespace_id >= arraysize(id_namespaces_))
335 return id_namespaces_[namespace_id].get();

Completed in 2079 milliseconds

12