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

Unified Diff: chrome/browser/sync/engine/syncer.cc

Issue 8631021: [Sync] Prevent uploading throttled datatypes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For review. Created 9 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/engine/syncer.cc
diff --git a/chrome/browser/sync/engine/syncer.cc b/chrome/browser/sync/engine/syncer.cc
index bffcee6c9e9a105287b663e51da5c68bb15df4f1..1644ab84615d7dd9e772bbd2a6ea1c17816cacb1 100644
--- a/chrome/browser/sync/engine/syncer.cc
+++ b/chrome/browser/sync/engine/syncer.cc
@@ -112,6 +112,7 @@ void Syncer::SyncShare(sessions::SyncSession* session,
// for analysis purposes, so Law of Large Numbers FTW.
session->context()->extensions_monitor()->GetAndClearRecords(
session->mutable_extensions_activity());
+ session->context()->UpdateThrottledTypes(base::TimeTicks::Now());
next_step = CLEANUP_DISABLED_TYPES;
break;
case CLEANUP_DISABLED_TYPES: {

Powered by Google App Engine
This is Rietveld 408576698