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

Unified Diff: chrome/browser/sync_file_system/drive_backend/remote_change_processor_wrapper.cc

Issue 2189113002: Rename CalledOnValidSequencedThread() to CalledOnValidSequence(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/sync_file_system/drive_backend/remote_change_processor_wrapper.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/remote_change_processor_wrapper.cc b/chrome/browser/sync_file_system/drive_backend/remote_change_processor_wrapper.cc
index e3ee4db49e08f32afcd4514aa108d19607bd3721..b44a71476fc8354fe41c0f31a86b6b74be0ffd15 100644
--- a/chrome/browser/sync_file_system/drive_backend/remote_change_processor_wrapper.cc
+++ b/chrome/browser/sync_file_system/drive_backend/remote_change_processor_wrapper.cc
@@ -17,7 +17,7 @@ RemoteChangeProcessorWrapper::RemoteChangeProcessorWrapper(
void RemoteChangeProcessorWrapper::PrepareForProcessRemoteChange(
const storage::FileSystemURL& url,
const RemoteChangeProcessor::PrepareChangeCallback& callback) {
- DCHECK(sequence_checker_.CalledOnValidSequencedThread());
+ DCHECK(sequence_checker_.CalledOnValidSequence());
remote_change_processor_->PrepareForProcessRemoteChange(url, callback);
}
@@ -26,7 +26,7 @@ void RemoteChangeProcessorWrapper::ApplyRemoteChange(
const base::FilePath& local_path,
const storage::FileSystemURL& url,
const SyncStatusCallback& callback) {
- DCHECK(sequence_checker_.CalledOnValidSequencedThread());
+ DCHECK(sequence_checker_.CalledOnValidSequence());
remote_change_processor_->ApplyRemoteChange(
change, local_path, url, callback);
}
@@ -35,7 +35,7 @@ void RemoteChangeProcessorWrapper::FinalizeRemoteSync(
const storage::FileSystemURL& url,
bool clear_local_changes,
const base::Closure& completion_callback) {
- DCHECK(sequence_checker_.CalledOnValidSequencedThread());
+ DCHECK(sequence_checker_.CalledOnValidSequence());
remote_change_processor_->FinalizeRemoteSync(
url, clear_local_changes, completion_callback);
}
@@ -44,7 +44,7 @@ void RemoteChangeProcessorWrapper::RecordFakeLocalChange(
const storage::FileSystemURL& url,
const FileChange& change,
const SyncStatusCallback& callback) {
- DCHECK(sequence_checker_.CalledOnValidSequencedThread());
+ DCHECK(sequence_checker_.CalledOnValidSequence());
remote_change_processor_->RecordFakeLocalChange(url, change, callback);
}

Powered by Google App Engine
This is Rietveld 408576698