Index: chrome/browser/sync/engine/all_status.cc |
diff --git a/chrome/browser/sync/engine/all_status.cc b/chrome/browser/sync/engine/all_status.cc |
index 05b4f0f7bc89ac2e3f714d729969009620230292..7a0fabee50218156398928b986f9be9d636bbecc 100644 |
--- a/chrome/browser/sync/engine/all_status.cc |
+++ b/chrome/browser/sync/engine/all_status.cc |
@@ -188,6 +188,11 @@ void AllStatus::SetCryptoHasPendingKeys(bool has_pending_keys) { |
status_.crypto_has_pending_keys = has_pending_keys; |
} |
+void AllStatus::SetUniqueId(const std::string& guid) { |
+ ScopedStatusLock lock(this); |
+ status_.unique_id = guid; |
+} |
+ |
ScopedStatusLock::ScopedStatusLock(AllStatus* allstatus) |
: allstatus_(allstatus) { |
allstatus->mutex_.Acquire(); |