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

Unified Diff: chrome/browser/browsing_data_indexed_db_helper.cc

Issue 8879013: Deprecate WEBKIT thread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update after rebase Created 9 years 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: chrome/browser/browsing_data_indexed_db_helper.cc
diff --git a/chrome/browser/browsing_data_indexed_db_helper.cc b/chrome/browser/browsing_data_indexed_db_helper.cc
index b2c468f89fba6ec39ebc007502039c661cb88281..e749be32f8b28094de2c7a76f3e00587b5e9c1d7 100644
--- a/chrome/browser/browsing_data_indexed_db_helper.cc
+++ b/chrome/browser/browsing_data_indexed_db_helper.cc
@@ -79,7 +79,7 @@ void BrowsingDataIndexedDBHelperImpl::StartFetching(
is_fetching_ = true;
completion_callback_ = callback;
BrowserThread::PostTask(
- BrowserThread::WEBKIT, FROM_HERE,
+ BrowserThread::WEBKIT_DEPRECATED, FROM_HERE,
base::Bind(
&BrowsingDataIndexedDBHelperImpl::FetchIndexedDBInfoInWebKitThread,
this));
@@ -94,14 +94,14 @@ void BrowsingDataIndexedDBHelperImpl::DeleteIndexedDB(
const GURL& origin) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
BrowserThread::PostTask(
- BrowserThread::WEBKIT, FROM_HERE,
+ BrowserThread::WEBKIT_DEPRECATED, FROM_HERE,
base::Bind(
&BrowsingDataIndexedDBHelperImpl::DeleteIndexedDBInWebKitThread, this,
origin));
}
void BrowsingDataIndexedDBHelperImpl::FetchIndexedDBInfoInWebKitThread() {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::WEBKIT));
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::WEBKIT_DEPRECATED));
std::vector<GURL> origins;
indexed_db_context_->GetAllOrigins(&origins);
for (std::vector<GURL>::const_iterator iter = origins.begin();
@@ -134,7 +134,7 @@ void BrowsingDataIndexedDBHelperImpl::NotifyInUIThread() {
void BrowsingDataIndexedDBHelperImpl::DeleteIndexedDBInWebKitThread(
const GURL& origin) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::WEBKIT));
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::WEBKIT_DEPRECATED));
indexed_db_context_->DeleteIndexedDBForOrigin(origin);
}
@@ -213,7 +213,7 @@ void CannedBrowsingDataIndexedDBHelper::StartFetching(
is_fetching_ = true;
completion_callback_ = callback;
BrowserThread::PostTask(
- BrowserThread::WEBKIT, FROM_HERE,
+ BrowserThread::WEBKIT_DEPRECATED, FROM_HERE,
base::Bind(
&CannedBrowsingDataIndexedDBHelper::ConvertPendingInfoInWebKitThread,
this));
« no previous file with comments | « chrome/browser/browsing_data_database_helper.cc ('k') | chrome/browser/browsing_data_local_storage_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698