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

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

Issue 14117004: [Sync] Add support for server-controlled favicon sync limit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add proto conversions Created 7 years, 8 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/browser/sync/glue/favicon_cache.cc ('k') | sync/internal_api/public/util/experiments.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/session_model_associator.cc
diff --git a/chrome/browser/sync/glue/session_model_associator.cc b/chrome/browser/sync/glue/session_model_associator.cc
index 3cbb91ec09b84a7b5a33347dda56e6906abd8b02..92b90999e98c6674bffc85fb79314099ecb36afd 100644
--- a/chrome/browser/sync/glue/session_model_associator.cc
+++ b/chrome/browser/sync/glue/session_model_associator.cc
@@ -103,7 +103,8 @@ SessionModelAssociator::SessionModelAssociator(
ALLOW_THIS_IN_INITIALIZER_LIST(test_weak_factory_(this)),
profile_(sync_service->profile()),
error_handler_(error_handler),
- favicon_cache_(profile_, kMaxSyncFavicons) {
+ favicon_cache_(profile_,
+ sync_service->current_experiments().favicon_sync_limit) {
DCHECK(CalledOnValidThread());
DCHECK(sync_service_);
DCHECK(profile_);
« no previous file with comments | « chrome/browser/sync/glue/favicon_cache.cc ('k') | sync/internal_api/public/util/experiments.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698