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

Unified Diff: chrome/browser/browsing_data/browsing_data_media_license_helper.cc

Issue 2871303004: Rename TaskRunner::RunsTasksOnCurrentThread() in //chrome (Closed)
Patch Set: fixed build error Created 3 years, 7 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: chrome/browser/browsing_data/browsing_data_media_license_helper.cc
diff --git a/chrome/browser/browsing_data/browsing_data_media_license_helper.cc b/chrome/browser/browsing_data/browsing_data_media_license_helper.cc
index 389f4baa9432e0fed1ecfd7a8e640e773f0080a6..4c103084fab0efdb9f13c3ea86484d10b2647df2 100644
--- a/chrome/browser/browsing_data/browsing_data_media_license_helper.cc
+++ b/chrome/browser/browsing_data/browsing_data_media_license_helper.cc
@@ -87,7 +87,7 @@ void BrowsingDataMediaLicenseHelperImpl::DeleteMediaLicenseOrigin(
void BrowsingDataMediaLicenseHelperImpl::FetchMediaLicenseInfoOnFileTaskRunner(
const FetchCallback& callback) {
- DCHECK(file_task_runner()->RunsTasksOnCurrentThread());
+ DCHECK(file_task_runner()->RunsTasksInCurrentSequence());
DCHECK(!callback.is_null());
const storage::FileSystemType kType = storage::kFileSystemTypePluginPrivate;
@@ -117,7 +117,7 @@ void BrowsingDataMediaLicenseHelperImpl::FetchMediaLicenseInfoOnFileTaskRunner(
void BrowsingDataMediaLicenseHelperImpl::
DeleteMediaLicenseOriginOnFileTaskRunner(const GURL& origin) {
- DCHECK(file_task_runner()->RunsTasksOnCurrentThread());
+ DCHECK(file_task_runner()->RunsTasksInCurrentSequence());
const storage::FileSystemType kType = storage::kFileSystemTypePluginPrivate;
storage::FileSystemBackend* backend =

Powered by Google App Engine
This is Rietveld 408576698