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

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

Issue 15806012: Move webkit/fileapi/syncable/* code to webkit/browser/fileapi (final!) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/stl_util.h" 5 #include "base/stl_util.h"
6 #include "testing/gtest/include/gtest/gtest.h" 6 #include "testing/gtest/include/gtest/gtest.h"
7 #include "webkit/browser/fileapi/file_system_context.h" 7 #include "webkit/browser/fileapi/file_system_context.h"
8 #include "webkit/browser/fileapi/file_system_file_util.h" 8 #include "webkit/browser/fileapi/file_system_file_util.h"
9 #include "webkit/browser/fileapi/file_system_operation_context.h" 9 #include "webkit/browser/fileapi/file_system_operation_context.h"
10 #include "webkit/browser/fileapi/file_system_task_runners.h" 10 #include "webkit/browser/fileapi/file_system_task_runners.h"
11 #include "webkit/browser/fileapi/isolated_context.h" 11 #include "webkit/browser/fileapi/isolated_context.h"
12 #include "webkit/browser/fileapi/local_file_system_operation.h" 12 #include "webkit/browser/fileapi/local_file_system_operation.h"
13 #include "webkit/browser/fileapi/sandbox_file_system_test_helper.h" 13 #include "webkit/browser/fileapi/sandbox_file_system_test_helper.h"
14 #include "webkit/browser/fileapi/syncable/canned_syncable_file_system.h"
15 #include "webkit/browser/fileapi/syncable/local_file_change_tracker.h"
16 #include "webkit/browser/fileapi/syncable/local_file_sync_context.h"
17 #include "webkit/browser/fileapi/syncable/syncable_file_system_util.h"
14 #include "webkit/common/fileapi/file_system_types.h" 18 #include "webkit/common/fileapi/file_system_types.h"
15 #include "webkit/fileapi/syncable/canned_syncable_file_system.h"
16 #include "webkit/fileapi/syncable/local_file_change_tracker.h"
17 #include "webkit/fileapi/syncable/local_file_sync_context.h"
18 #include "webkit/fileapi/syncable/syncable_file_system_util.h"
19 #include "webkit/quota/quota_manager.h" 19 #include "webkit/quota/quota_manager.h"
20 #include "webkit/quota/quota_types.h" 20 #include "webkit/quota/quota_types.h"
21 21
22 using base::PlatformFileError; 22 using base::PlatformFileError;
23 using fileapi::FileSystemContext; 23 using fileapi::FileSystemContext;
24 using fileapi::FileSystemOperationContext; 24 using fileapi::FileSystemOperationContext;
25 using fileapi::FileSystemURL; 25 using fileapi::FileSystemURL;
26 using fileapi::FileSystemURLSet; 26 using fileapi::FileSystemURLSet;
27 using fileapi::SandboxFileSystemTestHelper; 27 using fileapi::SandboxFileSystemTestHelper;
28 using quota::QuotaManager; 28 using quota::QuotaManager;
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 275
276 // Now try copying the directory into the syncable file system, which should 276 // Now try copying the directory into the syncable file system, which should
277 // fail if directory operation is disabled. (http://crbug.com/161442) 277 // fail if directory operation is disabled. (http://crbug.com/161442)
278 EXPECT_NE(base::PLATFORM_FILE_OK, 278 EXPECT_NE(base::PLATFORM_FILE_OK,
279 file_system_.Copy(kSrcDir, URL("dest"))); 279 file_system_.Copy(kSrcDir, URL("dest")));
280 280
281 other_file_system_.TearDown(); 281 other_file_system_.TearDown();
282 } 282 }
283 283
284 } // namespace sync_file_system 284 } // namespace sync_file_system
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698