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

Side by Side Diff: webkit/browser/fileapi/syncable/canned_syncable_file_system.cc

Issue 16514006: Update includes of message_loop_proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
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 "webkit/browser/fileapi/syncable/canned_syncable_file_system.h" 5 #include "webkit/browser/fileapi/syncable/canned_syncable_file_system.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/message_loop_proxy.h" 10 #include "base/message_loop/message_loop_proxy.h"
11 #include "base/run_loop.h" 11 #include "base/run_loop.h"
12 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
13 #include "base/task_runner_util.h" 13 #include "base/task_runner_util.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 #include "webkit/browser/blob/mock_blob_url_request_context.h" 15 #include "webkit/browser/blob/mock_blob_url_request_context.h"
16 #include "webkit/browser/fileapi/external_mount_points.h" 16 #include "webkit/browser/fileapi/external_mount_points.h"
17 #include "webkit/browser/fileapi/file_system_context.h" 17 #include "webkit/browser/fileapi/file_system_context.h"
18 #include "webkit/browser/fileapi/file_system_mount_point_provider.h" 18 #include "webkit/browser/fileapi/file_system_mount_point_provider.h"
19 #include "webkit/browser/fileapi/file_system_operation_context.h" 19 #include "webkit/browser/fileapi/file_system_operation_context.h"
20 #include "webkit/browser/fileapi/file_system_operation_runner.h" 20 #include "webkit/browser/fileapi/file_system_operation_runner.h"
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 sync_status_ = status; 621 sync_status_ = status;
622 base::MessageLoop::current()->Quit(); 622 base::MessageLoop::current()->Quit();
623 } 623 }
624 624
625 void CannedSyncableFileSystem::InitializeSyncStatusObserver() { 625 void CannedSyncableFileSystem::InitializeSyncStatusObserver() {
626 ASSERT_TRUE(io_task_runner_->RunsTasksOnCurrentThread()); 626 ASSERT_TRUE(io_task_runner_->RunsTasksOnCurrentThread());
627 file_system_context_->sync_context()->sync_status()->AddObserver(this); 627 file_system_context_->sync_context()->sync_status()->AddObserver(this);
628 } 628 }
629 629
630 } // namespace sync_file_system 630 } // namespace sync_file_system
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698