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

Issue 2650973005: Componentize ping_manager (Closed)

Created:
3 years, 11 months ago by Jialiu Lin
Modified:
3 years, 9 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, vakh+watch_chromium.org, droger+watchlist_chromium.org, grt+watch_chromium.org, sdefresne+watchlist_chromium.org, blundell+watchlist_chromium.org, chromium-apps-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Componentize ping_manager Consolidate functions in ProtocolManagerHelper and put them inside components/safe_browsing_db/util.*. Separate BasePingManager and SafeBrowsingPingManager, where: BasePingManager handles basic safe browsing pings such as HitReport, ThreatDetails report etc. Leave NotificationImageReport and PermissionReport to SafeBrowsingPingManager due to their chrome/browser/ dependencies. BUG=684805 Review-Url: https://codereview.chromium.org/2650973005 Cr-Commit-Position: refs/heads/master@{#453300} Committed: https://chromium.googlesource.com/chromium/src/+/d06419a9457679d7daf3e513c3f72431233ca708

Patch Set 1 #

Patch Set 2 : fix deps #

Total comments: 2

Patch Set 3 : address comment from vakh #

Total comments: 2

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+223 lines, -897 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/extensions/blacklist_state_fetcher.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/blacklist_state_fetcher.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/ping_manager.h View 1 2 3 4 chunks +4 lines, -65 lines 0 comments Download
M chrome/browser/safe_browsing/ping_manager.cc View 3 chunks +1 line, -225 lines 0 comments Download
D chrome/browser/safe_browsing/ping_manager_unittest.cc View 1 chunk +0 lines, -333 lines 0 comments Download
M chrome/browser/safe_browsing/protocol_manager.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/protocol_manager.cc View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
D chrome/browser/safe_browsing/protocol_manager_helper.h View 1 chunk +0 lines, -62 lines 0 comments Download
D chrome/browser/safe_browsing/protocol_manager_helper.cc View 1 chunk +0 lines, -76 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.cc View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/safe_browsing/test_safe_browsing_service.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M components/safe_browsing/BUILD.gn View 1 2 chunks +36 lines, -0 lines 0 comments Download
M components/safe_browsing/DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
A + components/safe_browsing/base_ping_manager.h View 1 2 3 4 chunks +21 lines, -51 lines 0 comments Download
A + components/safe_browsing/base_ping_manager.cc View 1 2 3 9 chunks +21 lines, -49 lines 0 comments Download
A + components/safe_browsing/base_ping_manager_unittest.cc View 1 2 6 chunks +21 lines, -23 lines 0 comments Download
M components/safe_browsing_db/BUILD.gn View 1 1 chunk +3 lines, -0 lines 0 comments Download
M components/safe_browsing_db/DEPS View 1 chunk +2 lines, -0 lines 0 comments Download
M components/safe_browsing_db/util.h View 1 2 2 chunks +40 lines, -0 lines 0 comments Download
M components/safe_browsing_db/util.cc View 1 2 2 chunks +64 lines, -0 lines 0 comments Download

Messages

Total messages: 58 (33 generated)
Jialiu Lin
Hi vakh@, take your time with this CL. It is not urgent.
3 years, 10 months ago (2017-02-07 21:41:05 UTC) #16
vakh (use Gerrit instead)
lgtm modulo namespace comment. The CL does what it says. https://codereview.chromium.org/2650973005/diff/60001/components/safe_browsing_db/util.h File components/safe_browsing_db/util.h (right): https://codereview.chromium.org/2650973005/diff/60001/components/safe_browsing_db/util.h#newcode185 ...
3 years, 10 months ago (2017-02-14 02:33:32 UTC) #17
Jialiu Lin
Thanks vakh@! https://codereview.chromium.org/2650973005/diff/60001/components/safe_browsing_db/util.h File components/safe_browsing_db/util.h (right): https://codereview.chromium.org/2650973005/diff/60001/components/safe_browsing_db/util.h#newcode185 components/safe_browsing_db/util.h:185: std::string Version(); On 2017/02/14 02:33:31, vakh (Varun ...
3 years, 10 months ago (2017-02-14 18:44:07 UTC) #20
Jialiu Lin
+rdevlin.cronin@ for owner review of minor change in c/b/extensions/blacklist_state_fetcher.* +bengr@ for adding components/data_use_measurement/core to components/safe_browsing/DEPS ...
3 years, 10 months ago (2017-02-14 18:51:37 UTC) #22
Jialiu Lin
+thakis@ for adding components/version_info to components/safe_browsing/DEPS +rogerta@ for adding google_apis to components/safe_browsing/DEPS +phajdan.jr@ for adding ...
3 years, 10 months ago (2017-02-14 18:53:19 UTC) #24
Nico
https://codereview.chromium.org/2650973005/diff/80001/components/safe_browsing_db/util.cc File components/safe_browsing_db/util.cc (right): https://codereview.chromium.org/2650973005/diff/80001/components/safe_browsing_db/util.cc#newcode229 components/safe_browsing_db/util.cc:229: return "0.1"; Huh? Why even have this function? Why ...
3 years, 10 months ago (2017-02-14 18:58:41 UTC) #25
Jialiu Lin
https://codereview.chromium.org/2650973005/diff/80001/components/safe_browsing_db/util.cc File components/safe_browsing_db/util.cc (right): https://codereview.chromium.org/2650973005/diff/80001/components/safe_browsing_db/util.cc#newcode229 components/safe_browsing_db/util.cc:229: return "0.1"; On 2017/02/14 18:58:40, Nico wrote: > Huh? ...
3 years, 10 months ago (2017-02-14 19:01:19 UTC) #26
Nico
dep lgtm
3 years, 10 months ago (2017-02-14 19:05:07 UTC) #27
Paweł Hajdan Jr.
Adding testing/gtest LGTM .
3 years, 10 months ago (2017-02-14 19:19:22 UTC) #28
Roger Tawa OOO till Jul 10th
lgtm google_apis to components/safe_browsing/DEPS
3 years, 10 months ago (2017-02-14 19:22:31 UTC) #29
bengr
What would you like me to review?
3 years, 10 months ago (2017-02-15 00:13:16 UTC) #32
Jialiu Lin
Hi bengr@, This CL added adding components/data_use_measurement/core to components/safe_browsing/DEPS. And I believe you're a owner ...
3 years, 10 months ago (2017-02-15 00:17:59 UTC) #33
Devlin
extensions lgtm
3 years, 10 months ago (2017-02-15 00:28:48 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2650973005/80001
3 years, 10 months ago (2017-02-15 23:47:18 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/365505)
3 years, 10 months ago (2017-02-16 00:50:29 UTC) #39
Jialiu Lin
Hi tbansal@chromium.org, Need your owner approval since I added +components/data_use_measurement/core to components/safe_browsing/DEPS file. Thanks!
3 years, 10 months ago (2017-02-16 01:08:51 UTC) #41
Jialiu Lin
Friendly ping bengr@ or tbansal@ for owner approval of adding components/data_use_measurement/core to components/safe_browsing/DEPS file.
3 years, 10 months ago (2017-02-17 18:19:38 UTC) #42
tbansal1
lgtm for adding components/data_use_measurement/core to components/safe_browsing/DEPS. Thanks.
3 years, 10 months ago (2017-02-17 18:25:14 UTC) #43
bengr
lgtm
3 years, 10 months ago (2017-02-24 19:35:44 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2650973005/80001
3 years, 10 months ago (2017-02-24 19:45:10 UTC) #46
commit-bot: I haz the power
Try jobs failed on following builders: android_cronet on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_cronet/builds/89184) cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 10 months ago (2017-02-24 19:49:36 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2650973005/100001
3 years, 10 months ago (2017-02-25 00:21:00 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/217867) android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, ...
3 years, 10 months ago (2017-02-25 00:23:55 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2650973005/100001
3 years, 9 months ago (2017-02-27 18:20:18 UTC) #55
commit-bot: I haz the power
3 years, 9 months ago (2017-02-27 19:41:37 UTC) #58
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/d06419a9457679d7daf3e513c3f7...

Powered by Google App Engine
This is Rietveld 408576698