| Index: components/suggestions/suggestions_service.cc
|
| diff --git a/components/suggestions/suggestions_service.cc b/components/suggestions/suggestions_service.cc
|
| index c301c6ebedfb3fee3d7f2c8a780b4648fda0a9f5..dde38a1ff6fe316d22a42a8ac50132f9fa9ff194 100644
|
| --- a/components/suggestions/suggestions_service.cc
|
| +++ b/components/suggestions/suggestions_service.cc
|
| @@ -6,12 +6,14 @@
|
|
|
| #include <string>
|
|
|
| +#include "base/location.h"
|
| #include "base/memory/scoped_ptr.h"
|
| -#include "base/message_loop/message_loop_proxy.h"
|
| #include "base/metrics/histogram.h"
|
| #include "base/metrics/sparse_histogram.h"
|
| +#include "base/single_thread_task_runner.h"
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/strings/string_util.h"
|
| +#include "base/thread_task_runner_handle.h"
|
| #include "base/time/time.h"
|
| #include "components/pref_registry/pref_registry_syncable.h"
|
| #include "components/suggestions/blacklist_store.h"
|
| @@ -330,7 +332,7 @@ void SuggestionsService::ScheduleBlacklistUpload() {
|
| base::Closure blacklist_cb =
|
| base::Bind(&SuggestionsService::UploadOneFromBlacklist,
|
| weak_ptr_factory_.GetWeakPtr());
|
| - base::MessageLoopProxy::current()->PostDelayedTask(
|
| + base::ThreadTaskRunnerHandle::Get()->PostDelayedTask(
|
| FROM_HERE, blacklist_cb, time_delta + scheduling_delay_);
|
| }
|
| }
|
|
|