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

Issue 2622773002: Componentize SafeBrowsingApi{Bridge,Handler} (Closed)

Created:
3 years, 11 months ago by Nate Fischer
Modified:
3 years, 10 months ago
CC:
agrieve+watch_chromium.org, blundell+watchlist_chromium.org, chromium-reviews, droger+watchlist_chromium.org, grt+watch_chromium.org, Nathan Parker, sdefresne+watchlist_chromium.org, vakh+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Componentize SafeBrowsingApi{Bridge,Handler} Move these classes into components/safe_browsing_db/ and update references BUG=679018 Review-Url: https://codereview.chromium.org/2622773002 Cr-Commit-Position: refs/heads/master@{#443116} Committed: https://chromium.googlesource.com/chromium/src/+/52f0c6086c1a89e3a294855e4ced218cf74991bc

Patch Set 1 #

Patch Set 2 : Adjusting BUILD.gn file #

Patch Set 3 : Rebase off master #

Patch Set 4 : Move android-specific native code into c/safe_browsing_db/android/ and fix BUILD.gn files #

Patch Set 5 : Trying to fix 'cannot find class' issues #

Patch Set 6 : Rebase off master and fix merge conflict #

Total comments: 11

Patch Set 7 : Add dependency on safe_browsing_java (hopefully fixes trybot errors) #

Patch Set 8 : Addressing vakh@'s comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -400 lines) Patch
M chrome/android/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
D chrome/android/java/src/org/chromium/chrome/browser/safe_browsing/SafeBrowsingApiBridge.java View 1 chunk +0 lines, -67 lines 0 comments Download
D chrome/android/java/src/org/chromium/chrome/browser/safe_browsing/SafeBrowsingApiHandler.java View 1 chunk +0 lines, -53 lines 0 comments Download
M chrome/android/java_sources.gni View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/app/DEPS View 1 chunk +1 line, -1 line 0 comments Download
M chrome/app/android/chrome_main_delegate_android.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 4 5 3 chunks +1 line, -4 lines 0 comments Download
M chrome/browser/android/chrome_jni_registrar.cc View 1 2 3 4 3 chunks +1 line, -2 lines 0 comments Download
D chrome/browser/android/safe_browsing/safe_browsing_api_handler_bridge.h View 1 chunk +0 lines, -48 lines 0 comments Download
D chrome/browser/android/safe_browsing/safe_browsing_api_handler_bridge.cc View 1 chunk +0 lines, -199 lines 0 comments Download
M components/safe_browsing_db/BUILD.gn View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download
M components/safe_browsing_db/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
A components/safe_browsing_db/android/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +23 lines, -0 lines 0 comments Download
A + components/safe_browsing_db/android/java/src/org/chromium/components/safe_browsing/SafeBrowsingApiBridge.java View 1 2 3 4 5 6 7 3 chunks +4 lines, -4 lines 0 comments Download
A + components/safe_browsing_db/android/java/src/org/chromium/components/safe_browsing/SafeBrowsingApiHandler.java View 1 2 3 4 5 6 7 3 chunks +4 lines, -9 lines 0 comments Download
A components/safe_browsing_db/android/jni_registrar.h View 1 2 3 4 1 chunk +19 lines, -0 lines 0 comments Download
A components/safe_browsing_db/android/jni_registrar.cc View 1 2 3 4 1 chunk +25 lines, -0 lines 0 comments Download
A + components/safe_browsing_db/android/safe_browsing_api_handler_bridge.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
A + components/safe_browsing_db/android/safe_browsing_api_handler_bridge.cc View 1 2 3 4 chunks +4 lines, -7 lines 0 comments Download

Messages

Total messages: 52 (36 generated)
Nate Fischer
Jialiu, No change in overall logic. This moves SafeBrowsingApi{Bridge,Handler} into the components layer. These classes ...
3 years, 11 months ago (2017-01-11 04:27:48 UTC) #20
Jialiu Lin
Looking good. I'll defer to vakh@ for owner review. I'm not too familiar with Clank ...
3 years, 11 months ago (2017-01-11 18:17:56 UTC) #24
vakh (use Gerrit instead)
Minor nits. Otherwise lgtm. https://codereview.chromium.org/2622773002/diff/100001/components/safe_browsing_db/android/BUILD.gn File components/safe_browsing_db/android/BUILD.gn (right): https://codereview.chromium.org/2622773002/diff/100001/components/safe_browsing_db/android/BUILD.gn#newcode3 components/safe_browsing_db/android/BUILD.gn:3: # found in the LICENSE ...
3 years, 11 months ago (2017-01-11 22:31:47 UTC) #25
Nathan Parker
lgtm https://codereview.chromium.org/2622773002/diff/100001/chrome/browser/android/chrome_jni_registrar.cc File chrome/browser/android/chrome_jni_registrar.cc (left): https://codereview.chromium.org/2622773002/diff/100001/chrome/browser/android/chrome_jni_registrar.cc#oldcode373 chrome/browser/android/chrome_jni_registrar.cc:373: {"SafeBrowsingApiBridge", safe_browsing::RegisterSafeBrowsingApiBridge}, What's the replacement for this? https://codereview.chromium.org/2622773002/diff/100001/components/safe_browsing_db/android/java/src/org/chromium/components/safe_browsing/SafeBrowsingApiBridge.java ...
3 years, 11 months ago (2017-01-11 22:53:31 UTC) #27
Nathan Parker
Is it standard to have "/components/" in the path twice for .java files in components?
3 years, 11 months ago (2017-01-11 22:54:01 UTC) #28
Nate Fischer
On 2017/01/11 at 22:54:01, nparker wrote: > Is it standard to have "/components/" in the ...
3 years, 11 months ago (2017-01-11 23:32:33 UTC) #31
Nate Fischer
Addressing vakh@'s comments. My inline-draft is actually incorrect (the UI won't let me amend it). ...
3 years, 11 months ago (2017-01-11 23:39:17 UTC) #32
vakh (use Gerrit instead)
lgtm Renaming later sounds good. Thanks.
3 years, 11 months ago (2017-01-12 00:06:34 UTC) #35
Nate Fischer
Adding mariakhomenko@ for - chrome/android/java/**/SafeBrowsingApi{Bridge,Handler}.java - chrome/browser/android/* Adding michaelbai@ for chrome_main_delegate_android.cc
3 years, 11 months ago (2017-01-12 00:19:17 UTC) #37
michaelbai
chrome_main_delegate_android.cc LGTM
3 years, 11 months ago (2017-01-12 01:08:39 UTC) #38
Nate Fischer
Adding miguelg@ instead of mariakhomenko@
3 years, 11 months ago (2017-01-12 01:28:00 UTC) #42
Miguel Garcia
lgtm for chrome/android
3 years, 11 months ago (2017-01-12 01:29:16 UTC) #43
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/2622773002/140001
3 years, 11 months ago (2017-01-12 01:33:11 UTC) #46
commit-bot: I haz the power
Committed patchset #8 (id:140001) as https://chromium.googlesource.com/chromium/src/+/52f0c6086c1a89e3a294855e4ced218cf74991bc
3 years, 11 months ago (2017-01-12 01:42:21 UTC) #49
Wez
Hallo grt@chromium.org! Due to a depot_tools patch which mistakenly removed the OWNERS check for non-source ...
3 years, 10 months ago (2017-02-07 19:23:08 UTC) #51
grt (UTC plus 2)
3 years, 10 months ago (2017-02-08 09:38:02 UTC) #52
Message was sent while issue was closed.
chrome/app rubberstamp lgtm

Powered by Google App Engine
This is Rietveld 408576698