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

Unified Diff: chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc

Issue 157053010: Move async_file_test_helper.* to content/public/test/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re-up with similarity=25 Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/fileapi/blob_url_request_job_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc
diff --git a/chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc b/chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc
index 18dfc4015833233b8e59ce84ae23fd520571fee6..6cbfe47dbe0b0a515f472c203320fc584e703fae 100644
--- a/chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc
+++ b/chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc
@@ -8,12 +8,12 @@
#include "chrome/browser/sync_file_system/local/local_file_sync_context.h"
#include "chrome/browser/sync_file_system/local/sync_file_system_backend.h"
#include "chrome/browser/sync_file_system/syncable_file_system_util.h"
+#include "content/public/test/async_file_test_helper.h"
#include "content/public/test/sandbox_file_system_test_helper.h"
#include "content/public/test/test_browser_thread_bundle.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/leveldatabase/src/helpers/memenv/memenv.h"
#include "third_party/leveldatabase/src/include/leveldb/env.h"
-#include "webkit/browser/fileapi/async_file_test_helper.h"
#include "webkit/browser/fileapi/file_system_context.h"
#include "webkit/browser/fileapi/file_system_operation_context.h"
#include "webkit/browser/fileapi/isolated_context.h"
@@ -271,10 +271,10 @@ TEST_F(SyncableFileSystemTest, DisableDirectoryOperations) {
const FileSystemURL kSrcChild = other_file_system_.CreateURLFromUTF8("/a/b");
EXPECT_EQ(base::File::FILE_OK,
- fileapi::AsyncFileTestHelper::CreateDirectory(
+ content::AsyncFileTestHelper::CreateDirectory(
other_file_system_.file_system_context(), kSrcDir));
EXPECT_EQ(base::File::FILE_OK,
- fileapi::AsyncFileTestHelper::CreateFile(
+ content::AsyncFileTestHelper::CreateFile(
other_file_system_.file_system_context(), kSrcChild));
// Now try copying the directory into the syncable file system, which should
« no previous file with comments | « no previous file | content/browser/fileapi/blob_url_request_job_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698