| Index: chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc
|
| diff --git a/chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc b/chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc
|
| index ca4c83d39717231b27750e6a6643406569131506..e16861a7dbf01e2177f390735e64ee9a736c851d 100644
|
| --- a/chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc
|
| +++ b/chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc
|
| @@ -24,17 +24,17 @@
|
| #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/file_system_context.h"
|
| -#include "webkit/browser/fileapi/file_system_operation_runner.h"
|
| -#include "webkit/browser/fileapi/isolated_context.h"
|
| -#include "webkit/common/blob/scoped_file.h"
|
| +#include "storage/browser/fileapi/file_system_context.h"
|
| +#include "storage/browser/fileapi/file_system_operation_runner.h"
|
| +#include "storage/browser/fileapi/isolated_context.h"
|
| +#include "storage/common/blob/scoped_file.h"
|
|
|
| #define FPL FILE_PATH_LITERAL
|
|
|
| using content::BrowserThread;
|
| -using fileapi::FileSystemContext;
|
| -using fileapi::FileSystemURL;
|
| -using fileapi::FileSystemURLSet;
|
| +using storage::FileSystemContext;
|
| +using storage::FileSystemURL;
|
| +using storage::FileSystemURLSet;
|
|
|
| // This tests LocalFileSyncContext behavior in multi-thread /
|
| // multi-file-system-context environment.
|
| @@ -81,7 +81,7 @@ class LocalFileSyncContextTest : public testing::Test {
|
| LocalFileSyncContext::SyncMode sync_mode,
|
| SyncFileMetadata* metadata,
|
| FileChangeList* changes,
|
| - webkit_blob::ScopedFile* snapshot) {
|
| + storage::ScopedFile* snapshot) {
|
| ASSERT_TRUE(changes != NULL);
|
| ASSERT_FALSE(has_inflight_prepare_for_sync_);
|
| status_ = SYNC_STATUS_UNKNOWN;
|
| @@ -99,7 +99,7 @@ class LocalFileSyncContextTest : public testing::Test {
|
| LocalFileSyncContext::SyncMode sync_mode,
|
| SyncFileMetadata* metadata,
|
| FileChangeList* changes,
|
| - webkit_blob::ScopedFile* snapshot) {
|
| + storage::ScopedFile* snapshot) {
|
| StartPrepareForSync(file_system_context, url, sync_mode,
|
| metadata, changes, snapshot);
|
| base::MessageLoop::current()->Run();
|
| @@ -112,7 +112,7 @@ class LocalFileSyncContextTest : public testing::Test {
|
| LocalFileSyncContext::SyncMode sync_mode,
|
| SyncFileMetadata* metadata,
|
| FileChangeList* changes,
|
| - webkit_blob::ScopedFile* snapshot) {
|
| + storage::ScopedFile* snapshot) {
|
| return base::Bind(&LocalFileSyncContextTest::StartPrepareForSync,
|
| base::Unretained(this),
|
| base::Unretained(file_system_context),
|
| @@ -121,10 +121,10 @@ class LocalFileSyncContextTest : public testing::Test {
|
|
|
| void DidPrepareForSync(SyncFileMetadata* metadata_out,
|
| FileChangeList* changes_out,
|
| - webkit_blob::ScopedFile* snapshot_out,
|
| + storage::ScopedFile* snapshot_out,
|
| SyncStatusCode status,
|
| const LocalFileSyncInfo& sync_file_info,
|
| - webkit_blob::ScopedFile snapshot) {
|
| + storage::ScopedFile snapshot) {
|
| ASSERT_TRUE(ui_task_runner_->RunsTasksOnCurrentThread());
|
| has_inflight_prepare_for_sync_ = false;
|
| status_ = status;
|
| @@ -299,7 +299,7 @@ class LocalFileSyncContextTest : public testing::Test {
|
|
|
| SyncFileMetadata metadata;
|
| FileChangeList changes;
|
| - webkit_blob::ScopedFile snapshot;
|
| + storage::ScopedFile snapshot;
|
| EXPECT_EQ(SYNC_STATUS_OK,
|
| PrepareForSync(file_system.file_system_context(), kFile,
|
| sync_mode, &metadata, &changes, &snapshot));
|
|
|