Chromium Code Reviews| Index: chrome/browser/sync_file_system/local/local_file_sync_service.cc |
| diff --git a/chrome/browser/sync_file_system/local/local_file_sync_service.cc b/chrome/browser/sync_file_system/local/local_file_sync_service.cc |
| index e7501e764db3eb167e67a780f30c849a5d4001bf..5358b5d9d248afcd612e7fb0aa4b3c153e86c1be 100644 |
| --- a/chrome/browser/sync_file_system/local/local_file_sync_service.cc |
| +++ b/chrome/browser/sync_file_system/local/local_file_sync_service.cc |
| @@ -5,6 +5,7 @@ |
| #include "chrome/browser/sync_file_system/local/local_file_sync_service.h" |
|
peria
2014/07/04 05:36:44
Add #include "base/single_thread_task_runner.h" ?
tzik
2014/07/04 05:58:13
Done.
That was from browser_thread.
|
| #include "base/stl_util.h" |
| +#include "base/thread_task_runner_handle.h" |
| #include "chrome/browser/extensions/extension_util.h" |
| #include "chrome/browser/profiles/profile.h" |
| #include "chrome/browser/sync_file_system/file_change.h" |
| @@ -175,7 +176,7 @@ void LocalFileSyncService::HasPendingLocalChanges( |
| const FileSystemURL& url, |
| const HasPendingLocalChangeCallback& callback) { |
| if (!ContainsKey(origin_to_contexts_, url.origin())) { |
| - base::MessageLoopProxy::current()->PostTask( |
| + base::ThreadTaskRunnerHandle::Get()->PostTask( |
| FROM_HERE, |
| base::Bind(callback, SYNC_FILE_ERROR_INVALID_URL, false)); |
| return; |