| OLD | NEW | 
|    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/local_file_sync_context.h" |    5 #include "webkit/browser/fileapi/syncable/local_file_sync_context.h" | 
|    6  |    6  | 
|    7 #include <vector> |    7 #include <vector> | 
|    8  |    8  | 
|    9 #include "base/bind.h" |    9 #include "base/bind.h" | 
|   10 #include "base/file_util.h" |   10 #include "base/file_util.h" | 
|   11 #include "base/files/file_path.h" |   11 #include "base/files/file_path.h" | 
|   12 #include "base/message_loop.h" |   12 #include "base/message_loop/message_loop.h" | 
|   13 #include "base/platform_file.h" |   13 #include "base/platform_file.h" | 
|   14 #include "base/single_thread_task_runner.h" |   14 #include "base/single_thread_task_runner.h" | 
|   15 #include "base/stl_util.h" |   15 #include "base/stl_util.h" | 
|   16 #include "base/threading/thread.h" |   16 #include "base/threading/thread.h" | 
|   17 #include "testing/gtest/include/gtest/gtest.h" |   17 #include "testing/gtest/include/gtest/gtest.h" | 
|   18 #include "webkit/browser/blob/mock_blob_url_request_context.h" |   18 #include "webkit/browser/blob/mock_blob_url_request_context.h" | 
|   19 #include "webkit/browser/fileapi/file_system_context.h" |   19 #include "webkit/browser/fileapi/file_system_context.h" | 
|   20 #include "webkit/browser/fileapi/file_system_operation_runner.h" |   20 #include "webkit/browser/fileapi/file_system_operation_runner.h" | 
|   21 #include "webkit/browser/fileapi/isolated_context.h" |   21 #include "webkit/browser/fileapi/isolated_context.h" | 
|   22 #include "webkit/browser/fileapi/syncable/canned_syncable_file_system.h" |   22 #include "webkit/browser/fileapi/syncable/canned_syncable_file_system.h" | 
| (...skipping 663 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  686  |  686  | 
|  687   // Make sure kDir and kFile are created by ApplyRemoteChange. |  687   // Make sure kDir and kFile are created by ApplyRemoteChange. | 
|  688   EXPECT_EQ(base::PLATFORM_FILE_OK, file_system.FileExists(kFile)); |  688   EXPECT_EQ(base::PLATFORM_FILE_OK, file_system.FileExists(kFile)); | 
|  689   EXPECT_EQ(base::PLATFORM_FILE_OK, file_system.DirectoryExists(kDir)); |  689   EXPECT_EQ(base::PLATFORM_FILE_OK, file_system.DirectoryExists(kDir)); | 
|  690  |  690  | 
|  691   sync_context_->ShutdownOnUIThread(); |  691   sync_context_->ShutdownOnUIThread(); | 
|  692   file_system.TearDown(); |  692   file_system.TearDown(); | 
|  693 } |  693 } | 
|  694  |  694  | 
|  695 }  // namespace sync_file_system |  695 }  // namespace sync_file_system | 
| OLD | NEW |