Home | History | Annotate | Download | only in dom_storage

Lines Matching refs:namespace_id

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);
109 // Creates a namespace for |namespace_id| and updates the next namespace id if
112 bool CreateNamespace(const std::string& namespace_id,
116 // Reads the areas assoiated with |namespace_id| and puts the (origin, map_id)
118 bool GetAreasInNamespace(const std::string& namespace_id,
122 // |namespace_id|.
123 void AddAreaToNamespace(const std::string& namespace_id,
128 // Helpers for deleting data for |namespace_id| and |origin|.
129 bool DeleteAreaHelper(const std::string& namespace_id,
133 // Retrieves the map id for |namespace_id| and |origin|. It's not an error if
135 bool GetMapForArea(const std::string& namespace_id,
141 // Creates a new map for |namespace_id| and |origin|. |map_id| will hold the
142 // id of the created map. If there is a map for |namespace_id| and |origin|,
145 bool CreateMapForArea(const std::string& namespace_id,
173 // Breaks the association between (|namespace_id|, |origin|) and |map_id| and
174 // creates a new map for (|namespace_id|, |origin|). Copies the data from the
176 bool DeepCopyArea(const std::string& namespace_id,
183 static std::string NamespaceStartKey(const std::string& namespace_id);
184 static std::string NamespaceKey(const std::string& namespace_id,