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

Unified Diff: webkit/browser/fileapi/syncable/local_file_sync_context_unittest.cc

Issue 18668003: SyncFS: Introduce SyncFileSystemBackend (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
Index: webkit/browser/fileapi/syncable/local_file_sync_context_unittest.cc
diff --git a/webkit/browser/fileapi/syncable/local_file_sync_context_unittest.cc b/webkit/browser/fileapi/syncable/local_file_sync_context_unittest.cc
index 43693310005fd94eb38f2afc490a0114b7a3b472..ca420e17759ec8cd0d2887df007078324da8cee7 100644
--- a/webkit/browser/fileapi/syncable/local_file_sync_context_unittest.cc
+++ b/webkit/browser/fileapi/syncable/local_file_sync_context_unittest.cc
@@ -228,16 +228,16 @@ TEST_F(LocalFileSyncContextTest, InitializeFileSystemContext) {
// Make sure everything's set up for file_system to be able to handle
// syncable file system operations.
- EXPECT_TRUE(file_system.file_system_context()->sync_context() != NULL);
- EXPECT_TRUE(file_system.file_system_context()->change_tracker() != NULL);
+ EXPECT_TRUE(file_system.mount_provider()->sync_context() != NULL);
+ EXPECT_TRUE(file_system.mount_provider()->change_tracker() != NULL);
EXPECT_EQ(sync_context_.get(),
- file_system.file_system_context()->sync_context());
+ file_system.mount_provider()->sync_context());
// Calling MaybeInitialize for the same context multiple times must be ok.
EXPECT_EQ(SYNC_STATUS_OK,
file_system.MaybeInitializeFileSystemContext(sync_context_.get()));
EXPECT_EQ(sync_context_.get(),
- file_system.file_system_context()->sync_context());
+ file_system.mount_provider()->sync_context());
// Opens the file_system, perform some operation and see if the change tracker
// correctly captures the change.

Powered by Google App Engine
This is Rietveld 408576698