diff options
author | maniscalco <maniscalco@chromium.org> | 2015-04-20 14:10:04 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-20 21:11:12 +0000 |
commit | e187bef77ce8862a19b72806922155f4b166ba1f (patch) | |
tree | 74033323cc397039cd6e8cf64c607637d6aed606 /sync/syncable/directory.h | |
parent | 8268180f447737913e9f8e1e0648df882a14e562 (diff) | |
download | chromium_src-e187bef77ce8862a19b72806922155f4b166ba1f.zip chromium_src-e187bef77ce8862a19b72806922155f4b166ba1f.tar.gz chromium_src-e187bef77ce8862a19b72806922155f4b166ba1f.tar.bz2 |
[Sync] Make OnDiskDirectoryBackingStore base class for deferred DBS
DODDBS now derives from ODDBS so it can access the backing file path.
Remove backing file path from DODDBS and use ODDBS's accessor method
instead.
Rename db_is_on_disk_ to created_on_disk_.
Rename backing_filepath_ to backing_file_path_ to match base::FilePath.
Move duplicated empty change detection logic out of DBS and into
SaveChangesSnapshot.
Format CL with "git cl format".
BUG=475557
Review URL: https://codereview.chromium.org/1097693004
Cr-Commit-Position: refs/heads/master@{#325908}
Diffstat (limited to 'sync/syncable/directory.h')
-rw-r--r-- | sync/syncable/directory.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sync/syncable/directory.h b/sync/syncable/directory.h index e7c59a0..7f6ae0e 100644 --- a/sync/syncable/directory.h +++ b/sync/syncable/directory.h @@ -137,6 +137,9 @@ class SYNC_EXPORT Directory { SaveChangesSnapshot(); ~SaveChangesSnapshot(); + // Returns true if this snapshot has any unsaved metahandle changes. + bool HasUnsavedMetahandleChanges() const; + KernelShareInfoStatus kernel_info_status; PersistedKernelInfo kernel_info; EntryKernelSet dirty_metas; |