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

Unified Diff: chrome/browser/sync/glue/typed_url_model_associator.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 7 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/sync/glue/typed_url_model_associator.cc
diff --git a/chrome/browser/sync/glue/typed_url_model_associator.cc b/chrome/browser/sync/glue/typed_url_model_associator.cc
index 4ad83a4f03f5728b9acbc7190553e89e9a4dd521..afa4a99a9ab0a305777d0994bdceeb293bfcdc85 100644
--- a/chrome/browser/sync/glue/typed_url_model_associator.cc
+++ b/chrome/browser/sync/glue/typed_url_model_associator.cc
@@ -64,7 +64,7 @@ TypedUrlModelAssociator::TypedUrlModelAssociator(
DataTypeErrorHandler* error_handler)
: sync_service_(sync_service),
history_backend_(history_backend),
- expected_loop_(MessageLoop::current()),
+ expected_loop_(base::MessageLoop::current()),
pending_abort_(false),
error_handler_(error_handler),
num_db_accesses_(0),
@@ -174,7 +174,7 @@ int TypedUrlModelAssociator::GetErrorPercentage() const {
syncer::SyncError TypedUrlModelAssociator::DoAssociateModels() {
DVLOG(1) << "Associating TypedUrl Models";
syncer::SyncError error;
- DCHECK(expected_loop_ == MessageLoop::current());
+ DCHECK(expected_loop_ == base::MessageLoop::current());
if (IsAbortPending())
return syncer::SyncError();
history::URLRows typed_urls;
@@ -452,7 +452,7 @@ sync_pb::TypedUrlSpecifics TypedUrlModelAssociator::FilterExpiredVisits(
bool TypedUrlModelAssociator::DeleteAllNodes(
syncer::WriteTransaction* trans) {
- DCHECK(expected_loop_ == MessageLoop::current());
+ DCHECK(expected_loop_ == base::MessageLoop::current());
// Just walk through all our child nodes and delete them.
syncer::ReadNode typed_url_root(trans);
« no previous file with comments | « chrome/browser/sync/glue/typed_url_change_processor.cc ('k') | chrome/browser/sync/glue/ui_data_type_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698