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

Unified Diff: sync/internal_api/public/sessions/sync_session_snapshot.h

Issue 10696107: sync: Track validity of about:sync fields (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another rebase Created 8 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | sync/internal_api/public/sessions/sync_session_snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/public/sessions/sync_session_snapshot.h
diff --git a/sync/internal_api/public/sessions/sync_session_snapshot.h b/sync/internal_api/public/sessions/sync_session_snapshot.h
index 68911454638095cb18ea677cc8624f6bf527b76a..d599f9d6ff7e4a11836841070ea25d07105cc4dd 100644
--- a/sync/internal_api/public/sessions/sync_session_snapshot.h
+++ b/sync/internal_api/public/sessions/sync_session_snapshot.h
@@ -71,6 +71,9 @@ class SyncSessionSnapshot {
base::Time sync_start_time() const;
bool retry_scheduled() const;
+ // Set iff this snapshot was not built using the default constructor.
+ bool is_initialized() const;
+
private:
ModelNeutralState model_neutral_state_;
bool is_share_usable_;
@@ -87,6 +90,8 @@ class SyncSessionSnapshot {
size_t num_entries_;
base::Time sync_start_time_;
bool retry_scheduled_;
+
+ bool is_initialized_;
};
} // namespace sessions
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | sync/internal_api/public/sessions/sync_session_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698