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

Unified Diff: chrome/browser/sync_file_system/sync_file_system_service_unittest.cc

Issue 18668003: SyncFS: Introduce SyncFileSystemBackend (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: lazy initialization 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: chrome/browser/sync_file_system/sync_file_system_service_unittest.cc
diff --git a/chrome/browser/sync_file_system/sync_file_system_service_unittest.cc b/chrome/browser/sync_file_system/sync_file_system_service_unittest.cc
index 6661bb18d333fb6f7e0b0b682f78be71be3cb5d3..492932481a7632716534a1d4820bdec59f3a65a9 100644
--- a/chrome/browser/sync_file_system/sync_file_system_service_unittest.cc
+++ b/chrome/browser/sync_file_system/sync_file_system_service_unittest.cc
@@ -22,6 +22,7 @@
#include "webkit/browser/fileapi/syncable/mock_sync_status_observer.h"
#include "webkit/browser/fileapi/syncable/sync_callbacks.h"
#include "webkit/browser/fileapi/syncable/sync_file_metadata.h"
+#include "webkit/browser/fileapi/syncable/sync_file_system_backend.h"
#include "webkit/browser/fileapi/syncable/sync_status_code.h"
#include "webkit/browser/fileapi/syncable/syncable_file_system_util.h"
@@ -298,7 +299,7 @@ TEST_F(SyncFileSystemServiceTest, DISABLED_SimpleLocalSyncFlow) {
StrictMock<MockSyncStatusObserver> status_observer;
EnableSync();
- file_system_->file_system_context()->sync_context()->
+ file_system_->backend()->sync_context()->
set_mock_notify_changes_duration_in_sec(0);
file_system_->AddSyncStatusObserver(&status_observer);
@@ -356,7 +357,7 @@ TEST_F(SyncFileSystemServiceTest, SimpleSyncFlowWithFileBusy) {
InitializeApp();
EnableSync();
- file_system_->file_system_context()->sync_context()->
+ file_system_->backend()->sync_context()->
set_mock_notify_changes_duration_in_sec(0);
const FileSystemURL kFile(file_system_->URL("foo"));

Powered by Google App Engine
This is Rietveld 408576698