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

Unified Diff: chrome/browser/sync/credential_cache_service_win.h

Issue 10872025: [sync] Apply sync config changes only after sync backend is initialized (Closed) Base URL: http://git.chromium.org/chromium/src.git@12-08-22-SeparateDirSwitch
Patch Set: CR Feedback + rebase on ToT Created 8 years, 4 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 | « no previous file | chrome/browser/sync/credential_cache_service_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/credential_cache_service_win.h
diff --git a/chrome/browser/sync/credential_cache_service_win.h b/chrome/browser/sync/credential_cache_service_win.h
index 429807c17605038fdc9f754e2c6789ea66e260e4..2c0abfba0d8b1971f517ad82514df7d7ed5a6b74 100644
--- a/chrome/browser/sync/credential_cache_service_win.h
+++ b/chrome/browser/sync/credential_cache_service_win.h
@@ -61,8 +61,8 @@ class CredentialCacheService : public ProfileKeyedService,
void WriteSyncPrefsToLocalCache();
// Resets |alternate_store_| and schedules the next read from the alternate
- // credential cache.
- void ScheduleNextReadFromAlternateCredentialCache();
+ // credential cache in |delay_secs| seconds.
+ void ScheduleNextReadFromAlternateCredentialCache(int delay_secs);
protected:
// Returns true if the credential cache represented by |store| contains a
@@ -229,7 +229,8 @@ class CredentialCacheService : public ProfileKeyedService,
// Compares the sync preferences in the local profile with values that were
// read from the alternate profile -- |alternate_keep_everything_synced| and
// |alternate_preferred_types|. Returns true if the prefs have changed, and
- // false otherwise.
+ // false otherwise. Note: Differences in preferred_types are ignored if the
+ // alternate and local values of keep_everything_synced are both true.
bool HaveSyncPrefsChanged(bool alternate_keep_everything_synced,
ModelTypeSet alternate_preferred_types) const;
« no previous file with comments | « no previous file | chrome/browser/sync/credential_cache_service_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698