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

Unified Diff: blimp/net/thread_pipe_manager.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
« no previous file with comments | « base/threading/thread.cc ('k') | chrome/browser/image_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/thread_pipe_manager.cc
diff --git a/blimp/net/thread_pipe_manager.cc b/blimp/net/thread_pipe_manager.cc
index 4a61fac6eeecc9722fa3c60d035fcef41a64606d..60fccf7c4b298358e0925bafc04eb42f0e58cdd6 100644
--- a/blimp/net/thread_pipe_manager.cc
+++ b/blimp/net/thread_pipe_manager.cc
@@ -81,7 +81,7 @@ ThreadPipeManager::ThreadPipeManager(
new ConnectionThreadPipeManager(connection_handler)) {}
ThreadPipeManager::~ThreadPipeManager() {
- DCHECK(sequence_checker_.CalledOnValidSequencedThread());
+ DCHECK(sequence_checker_.CalledOnValidSequence());
connection_task_runner_->DeleteSoon(FROM_HERE,
connection_pipe_manager_.release());
@@ -90,7 +90,7 @@ ThreadPipeManager::~ThreadPipeManager() {
std::unique_ptr<BlimpMessageProcessor> ThreadPipeManager::RegisterFeature(
BlimpMessage::FeatureCase feature_case,
BlimpMessageProcessor* incoming_processor) {
- DCHECK(sequence_checker_.CalledOnValidSequencedThread());
+ DCHECK(sequence_checker_.CalledOnValidSequence());
// Creates an outgoing pipe and a proxy for forwarding messages
// from features on the caller thread to network components on the
« no previous file with comments | « base/threading/thread.cc ('k') | chrome/browser/image_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698