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

Unified Diff: chrome/browser/sync/glue/session_model_associator.h

Issue 11414013: Depend on stored sync session GUID for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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/glue/session_model_associator.h
diff --git a/chrome/browser/sync/glue/session_model_associator.h b/chrome/browser/sync/glue/session_model_associator.h
index 93af4a2484b03bf81dc2c987955f9ffb3dfb1e42..6389f65d9b8ecebef601bc1b3a98fb7af0b7288f 100644
--- a/chrome/browser/sync/glue/session_model_associator.h
+++ b/chrome/browser/sync/glue/session_model_associator.h
@@ -473,6 +473,10 @@ class SessionModelAssociator
// invalid url's.
bool TabHasValidEntry(const SyncedTabDelegate& tab) const;
+ // Given a transaction, returns the GUID-based string that should be used for
+ // |current_machine_tag_|.
+ std::string GetMachineTagFromTransaction(syncer::WriteTransaction* trans);
Nicolas Zea 2012/11/16 18:55:20 this can be an anon namespace method in the cc fil
nyquist 2012/12/04 01:55:05 Done.
+
// For testing only.
size_t NumFaviconsForTesting() const;

Powered by Google App Engine
This is Rietveld 408576698