X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fchrome%2Fbrowser%2Fsync_file_system%2Flocal%2Flocal_file_sync_service.h;h=a98e3a3be01ae62aacc42a1dbcb2161b788fea29;hb=ff3e2503a20db9193d323c1d19c38c68004dec4a;hp=fdffa4ac6644afc0c1b00a0cd3bade5e12987f0d;hpb=7338fba38ba696536d1cc9d389afd716a6ab2fe6;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/chrome/browser/sync_file_system/local/local_file_sync_service.h b/src/chrome/browser/sync_file_system/local/local_file_sync_service.h index fdffa4a..a98e3a3 100644 --- a/src/chrome/browser/sync_file_system/local/local_file_sync_service.h +++ b/src/chrome/browser/sync_file_system/local/local_file_sync_service.h @@ -26,6 +26,10 @@ namespace fileapi { class FileSystemContext; } +namespace leveldb { +class Env; +} + namespace webkit_blob { class ScopedFile; } @@ -66,7 +70,10 @@ class LocalFileSyncService bool has_pending_changes)> HasPendingLocalChangeCallback; - explicit LocalFileSyncService(Profile* profile); + static scoped_ptr Create(Profile* profile); + static scoped_ptr CreateForTesting( + Profile* profile, + leveldb::Env* env_override); virtual ~LocalFileSyncService(); void Shutdown(); @@ -182,6 +189,8 @@ class LocalFileSyncService std::set disabled_origins_; }; + LocalFileSyncService(Profile* profile, leveldb::Env* env_override); + void DidInitializeFileSystemContext( const GURL& app_origin, fileapi::FileSystemContext* file_system_context,