| Index: webkit/dom_storage/session_storage_database.cc
|
| diff --git a/webkit/dom_storage/session_storage_database.cc b/webkit/dom_storage/session_storage_database.cc
|
| index 0f01db70778f2f2ba0fc43785121b34d76397d9a..eff2189fb4b5b6873e3888408c36961a4a24a505 100644
|
| --- a/webkit/dom_storage/session_storage_database.cc
|
| +++ b/webkit/dom_storage/session_storage_database.cc
|
| @@ -223,6 +223,17 @@ bool SessionStorageDatabase::ReadNamespaceIds(
|
| return true;
|
| }
|
|
|
| +bool SessionStorageDatabase::ReadOriginsInNamespace(
|
| + const std::string& namespace_id, std::vector<GURL>* origins) {
|
| + std::map<std::string, std::string> areas;
|
| + if (!GetAreasInNamespace(namespace_id, &areas))
|
| + return false;
|
| + for (std::map<std::string, std::string>::const_iterator it = areas.begin();
|
| + it != areas.end(); ++it)
|
| + origins->push_back(GURL(it->first));
|
| + return true;
|
| +}
|
| +
|
| bool SessionStorageDatabase::LazyOpen(bool create_if_needed) {
|
| base::AutoLock auto_lock(db_lock_);
|
| if (db_error_ || is_inconsistent_) {
|
|
|