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

Issue 1008373003: Integrate throttling logic into AffiliationBackend. (Closed)

Created:
5 years, 9 months ago by engedy
Modified:
5 years, 9 months ago
Reviewers:
Mike West
CC:
chromium-reviews, gcasto+watchlist_chromium.org, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Integrate throttling logic into AffiliationBackend. This CL also changes ownership of the TickClock object used by the AffiliationFetchThrottler, so that it is now owned by the AffiliationBackend. Furthermore, this CL makes the AffiliationBackend no longer rely on using ThreadTaskRunnerHandle to schedule asynchronous operations, but instead take a SingleThreadTaskRunner to use in its constructor. This allows delayed tasks (which are now present) to be posted to the correct task runner in tests too (namely, in AffiliationServiceTests). BUG=437865 Committed: https://crrev.com/4865f4b36ecdda55bd88e9ffc1cacb1ac92f3cbc Cr-Commit-Position: refs/heads/master@{#320887}

Patch Set 1 #

Patch Set 2 : Cleaning CL up. #

Patch Set 3 : Fix wording. #

Total comments: 2

Patch Set 4 : Addressed comment. #

Messages

Total messages: 11 (5 generated)
engedy
@Mike, could you please take a look?
5 years, 9 months ago (2015-03-16 18:29:44 UTC) #2
Mike West
LGTM % a small nit. https://codereview.chromium.org/1008373003/diff/40001/components/password_manager/core/browser/affiliation_backend_unittest.cc File components/password_manager/core/browser/affiliation_backend_unittest.cc (right): https://codereview.chromium.org/1008373003/diff/40001/components/password_manager/core/browser/affiliation_backend_unittest.cc#newcode459 components/password_manager/core/browser/affiliation_backend_unittest.cc:459: AdvanceTime(GetShortTestPeriod()); Nit: Can you ...
5 years, 9 months ago (2015-03-16 20:58:04 UTC) #3
engedy
https://codereview.chromium.org/1008373003/diff/40001/components/password_manager/core/browser/affiliation_backend_unittest.cc File components/password_manager/core/browser/affiliation_backend_unittest.cc (right): https://codereview.chromium.org/1008373003/diff/40001/components/password_manager/core/browser/affiliation_backend_unittest.cc#newcode459 components/password_manager/core/browser/affiliation_backend_unittest.cc:459: AdvanceTime(GetShortTestPeriod()); On 2015/03/16 20:58:04, Mike West wrote: > Nit: ...
5 years, 9 months ago (2015-03-17 08:41:03 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1008373003/80001
5 years, 9 months ago (2015-03-17 08:44:08 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 9 months ago (2015-03-17 10:44:38 UTC) #10
commit-bot: I haz the power
5 years, 9 months ago (2015-03-17 10:45:14 UTC) #11
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4865f4b36ecdda55bd88e9ffc1cacb1ac92f3cbc
Cr-Commit-Position: refs/heads/master@{#320887}

Powered by Google App Engine
This is Rietveld 408576698