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

Side by Side Diff: content/child/fileapi/webfilesystem_impl.cc

Issue 1142063003: content/child: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Build fix. Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/child/fileapi/webfilesystem_impl.h" 5 #include "content/child/fileapi/webfilesystem_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/lazy_instance.h" 8 #include "base/lazy_instance.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/message_loop/message_loop_proxy.h"
11 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
12 #include "base/synchronization/waitable_event.h" 11 #include "base/synchronization/waitable_event.h"
13 #include "base/thread_task_runner_handle.h" 12 #include "base/thread_task_runner_handle.h"
14 #include "base/threading/thread_local.h" 13 #include "base/threading/thread_local.h"
15 #include "content/child/child_thread_impl.h" 14 #include "content/child/child_thread_impl.h"
16 #include "content/child/file_info_util.h" 15 #include "content/child/file_info_util.h"
17 #include "content/child/fileapi/file_system_dispatcher.h" 16 #include "content/child/fileapi/file_system_dispatcher.h"
18 #include "content/child/fileapi/webfilewriter_impl.h" 17 #include "content/child/fileapi/webfilewriter_impl.h"
19 #include "content/common/fileapi/file_system_messages.h" 18 #include "content/common/fileapi/file_system_messages.h"
20 #include "storage/common/fileapi/directory_entry.h" 19 #include "storage/common/fileapi/directory_entry.h"
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 WaitableCallbackResults* WebFileSystemImpl::MaybeCreateWaitableResults( 696 WaitableCallbackResults* WebFileSystemImpl::MaybeCreateWaitableResults(
698 const WebFileSystemCallbacks& callbacks, int callbacks_id) { 697 const WebFileSystemCallbacks& callbacks, int callbacks_id) {
699 if (!callbacks.shouldBlockUntilCompletion()) 698 if (!callbacks.shouldBlockUntilCompletion())
700 return NULL; 699 return NULL;
701 WaitableCallbackResults* results = new WaitableCallbackResults(); 700 WaitableCallbackResults* results = new WaitableCallbackResults();
702 waitable_results_[callbacks_id] = results; 701 waitable_results_[callbacks_id] = results;
703 return results; 702 return results;
704 } 703 }
705 704
706 } // namespace content 705 } // namespace content
OLDNEW
« no previous file with comments | « content/child/fileapi/file_system_dispatcher.cc ('k') | content/child/fileapi/webfilewriter_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698