summaryrefslogtreecommitdiffstats
path: root/sync
diff options
context:
space:
mode:
Diffstat (limited to 'sync')
-rw-r--r--sync/engine/sync_scheduler_impl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sync/engine/sync_scheduler_impl.cc b/sync/engine/sync_scheduler_impl.cc
index 3f8dadf..76a72f0 100644
--- a/sync/engine/sync_scheduler_impl.cc
+++ b/sync/engine/sync_scheduler_impl.cc
@@ -747,7 +747,7 @@ bool SyncSchedulerImpl::DoSyncSessionJob(scoped_ptr<SyncSessionJob> job) {
session_context_->routing_info(), session_context_->workers());
}
- AutoReset<bool> protector(&no_scheduling_allowed_, true);
+ base::AutoReset<bool> protector(&no_scheduling_allowed_, true);
JobProcessDecision decision = DecideOnJob(*job);
SDVLOG(2) << "Should run "
<< SyncSessionJob::GetPurposeString(job->purpose())
@@ -816,7 +816,7 @@ bool SyncSchedulerImpl::FinishSyncSessionJob(scoped_ptr<SyncSessionJob> job,
// Let job know that we're through syncing (calling SyncShare) at this point.
bool succeeded = false;
{
- AutoReset<bool> protector(&no_scheduling_allowed_, true);
+ base::AutoReset<bool> protector(&no_scheduling_allowed_, true);
succeeded = job->Finish(exited_prematurely);
}