| 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/syncable_file_system_util.h" | 5 #include "webkit/browser/fileapi/syncable/syncable_file_system_util.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "webkit/browser/fileapi/external_mount_points.h" | 8 #include "webkit/browser/fileapi/external_mount_points.h" |
| 9 #include "webkit/browser/fileapi/file_observers.h" | 9 #include "webkit/browser/fileapi/file_observers.h" |
| 10 #include "webkit/browser/fileapi/file_system_context.h" | 10 #include "webkit/browser/fileapi/file_system_context.h" |
| 11 #include "webkit/browser/fileapi/sandbox_mount_point_provider.h" | 11 #include "webkit/browser/fileapi/sandbox_file_system_backend.h" |
| 12 #include "webkit/common/fileapi/file_system_util.h" | 12 #include "webkit/common/fileapi/file_system_util.h" |
| 13 | 13 |
| 14 using fileapi::ExternalMountPoints; | 14 using fileapi::ExternalMountPoints; |
| 15 using fileapi::FileSystemContext; | 15 using fileapi::FileSystemContext; |
| 16 using fileapi::FileSystemURL; | 16 using fileapi::FileSystemURL; |
| 17 using fileapi::LocalFileSystemOperation; | 17 using fileapi::LocalFileSystemOperation; |
| 18 | 18 |
| 19 namespace sync_file_system { | 19 namespace sync_file_system { |
| 20 | 20 |
| 21 namespace { | 21 namespace { |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 was_enabled_ = IsSyncFSDirectoryOperationEnabled(); | 112 was_enabled_ = IsSyncFSDirectoryOperationEnabled(); |
| 113 SetEnableSyncFSDirectoryOperation(true); | 113 SetEnableSyncFSDirectoryOperation(true); |
| 114 } | 114 } |
| 115 | 115 |
| 116 ScopedEnableSyncFSDirectoryOperation::~ScopedEnableSyncFSDirectoryOperation() { | 116 ScopedEnableSyncFSDirectoryOperation::~ScopedEnableSyncFSDirectoryOperation() { |
| 117 DCHECK(IsSyncFSDirectoryOperationEnabled()); | 117 DCHECK(IsSyncFSDirectoryOperationEnabled()); |
| 118 SetEnableSyncFSDirectoryOperation(was_enabled_); | 118 SetEnableSyncFSDirectoryOperation(was_enabled_); |
| 119 } | 119 } |
| 120 | 120 |
| 121 } // namespace sync_file_system | 121 } // namespace sync_file_system |
| OLD | NEW |