Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1403)

Unified Diff: content/browser/indexed_db/indexed_db_database.cc

Issue 17840006: Move IndexedDB files out of in_process_webkit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/indexed_db/indexed_db_database.cc
diff --git a/content/browser/indexed_db/indexed_db_database.cc b/content/browser/indexed_db/indexed_db_database.cc
index 033acf1bdb0afed8ac095651fea27a67148d0b1d..d46bbf038a298a13075cbefe850ebc8d0841b09a 100644
--- a/content/browser/indexed_db/indexed_db_database.cc
+++ b/content/browser/indexed_db/indexed_db_database.cc
@@ -1596,7 +1596,7 @@ void IndexedDBDatabase::OpenConnection(
if (version == IndexedDBDatabaseMetadata::DEFAULT_INT_VERSION) {
// For unit tests only - skip upgrade steps. Calling from script with
// DEFAULT_INT_VERSION throws exception.
- DCHECK(!BrowserThread::CurrentlyOn(BrowserThread::WEBKIT_DEPRECATED));
jsbell 2013/06/26 17:40:33 This DCHECK actually landed in parallel with the t
+ // TODO(jsbell): DCHECK that not in unit tests.
DCHECK(is_new_database);
database_callbacks_set_.insert(database_callbacks);
callbacks->OnSuccess(this, this->metadata());
@@ -1806,8 +1806,7 @@ void IndexedDBDatabase::Close(
backing_store_ = NULL;
// factory_ should only be null in unit tests.
- DCHECK(factory_ ||
- !BrowserThread::CurrentlyOn(BrowserThread::WEBKIT_DEPRECATED));
jsbell 2013/06/26 17:40:33 Ditto.
+ // TODO(jsbell): DCHECK(factory_ || !in_unit_tests) - somehow.
if (factory_.get())
factory_->RemoveIDBDatabaseBackend(identifier_);
}
« no previous file with comments | « content/browser/indexed_db/indexed_db_callbacks_wrapper.cc ('k') | content/browser/indexed_db/indexed_db_database_callbacks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698