projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git]
/
src
/
chrome
/
browser
/
sync_file_system
/
local
/
local_file_sync_service.h
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
(file)
--- 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;
}
class FileSystemContext;
}
+namespace leveldb {
+class Env;
+}
+
namespace webkit_blob {
class ScopedFile;
}
namespace webkit_blob {
class ScopedFile;
}
@@
-66,7
+70,10
@@
class LocalFileSyncService
bool has_pending_changes)>
HasPendingLocalChangeCallback;
bool has_pending_changes)>
HasPendingLocalChangeCallback;
- explicit LocalFileSyncService(Profile* profile);
+ static scoped_ptr<LocalFileSyncService> Create(Profile* profile);
+ static scoped_ptr<LocalFileSyncService> CreateForTesting(
+ Profile* profile,
+ leveldb::Env* env_override);
virtual ~LocalFileSyncService();
void Shutdown();
virtual ~LocalFileSyncService();
void Shutdown();
@@
-182,6
+189,8
@@
class LocalFileSyncService
std::set<GURL> disabled_origins_;
};
std::set<GURL> disabled_origins_;
};
+ LocalFileSyncService(Profile* profile, leveldb::Env* env_override);
+
void DidInitializeFileSystemContext(
const GURL& app_origin,
fileapi::FileSystemContext* file_system_context,
void DidInitializeFileSystemContext(
const GURL& app_origin,
fileapi::FileSystemContext* file_system_context,