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

Issue 1579403002: Move remote_db_manager into the safe_browsing_db component. (Closed)

Created:
4 years, 11 months ago by vakh (use Gerrit instead)
Modified:
4 years, 11 months ago
CC:
asanka, blundell+watchlist_chromium.org, cbentzel+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, davidben+watch_chromium.org, droger+watchlist_chromium.org, extensions-reviews_chromium.org, gavinp+prer_chromium.org, grt+watch_chromium.org, sdefresne+watchlist_chromium.org, tburkard+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move remote_db_manager into the safe_browsing_db component. BUG=543161 Committed: https://crrev.com/bdd302affda19c5b2051d1e868c7045f5614c955 Cr-Commit-Position: refs/heads/master@{#371034}

Patch Set 1 #

Patch Set 2 : Moving metadata.proto and safe_browsing_api_handler_ into safe_browsing_db #

Patch Set 3 : //chrome/browser/chromeos:chromeos needs //chrome/browser/safe_browsing:metadata_proto #

Patch Set 4 : git rebase and minor .gyp[i] changes #

Patch Set 5 : Add dependency on :safe_browsing_metadata_proto and remove dependency on files moved from browser/s… #

Patch Set 6 : Correct the #include path in chrome_main_delegate_android.cc #

Patch Set 7 : git rebase #

Patch Set 8 : Change the location of unit test files in gyp and gn files #

Patch Set 9 : unit_tests_mobile depend on :safe_browsing_api_handler #

Patch Set 10 : unit_tests_mobile depend on //components/variations #

Patch Set 11 : git fetch && git rebase #

Patch Set 12 : Remove reference to chrome_unit_tests_mobile_safe_browsing_sources #

Patch Set 13 : chrome_android depends on safe_browsing_db_mobile #

Patch Set 14 : chrome_android depends on safe_browsing_db_mobile (gn) #

Patch Set 15 : Add a gn dep on safe_browsing_db_mobile #

Total comments: 10

Patch Set 16 : git fetch && git rebase && git cl format #

Patch Set 17 : Define a variable for safe_browsing_db_mobile_unittest_sources #

Unified diffs Side-by-side diffs Delta from patch set Stats (+204 lines, -980 lines) Patch
M chrome/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M chrome/app/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M chrome/app/android/chrome_main_delegate_android.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/BUILD.gn View 1 2 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/BUILD.gn View 1 1 chunk +0 lines, -7 lines 0 comments Download
D chrome/browser/safe_browsing/metadata.proto View 1 1 chunk +0 lines, -23 lines 0 comments Download
D chrome/browser/safe_browsing/remote_database_manager.h View 1 2 3 1 chunk +0 lines, -80 lines 0 comments Download
D chrome/browser/safe_browsing/remote_database_manager.cc View 1 chunk +0 lines, -285 lines 0 comments Download
D chrome/browser/safe_browsing/remote_database_manager_unittest.cc View 1 1 chunk +0 lines, -103 lines 0 comments Download
D chrome/browser/safe_browsing/safe_browsing_api_handler.h View 1 chunk +0 lines, -43 lines 0 comments Download
D chrome/browser/safe_browsing/safe_browsing_api_handler.cc View 1 chunk +0 lines, -21 lines 0 comments Download
D chrome/browser/safe_browsing/safe_browsing_api_handler_unittest.cc View 1 1 chunk +0 lines, -123 lines 0 comments Download
D chrome/browser/safe_browsing/safe_browsing_api_handler_util.h View 1 1 chunk +0 lines, -58 lines 0 comments Download
D chrome/browser/safe_browsing/safe_browsing_api_handler_util.cc View 1 1 chunk +0 lines, -167 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/ui_manager.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_android.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +2 lines, -20 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +1 line, -7 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M components/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +12 lines, -0 lines 0 comments Download
M components/safe_browsing_db.gypi View 1 2 3 4 3 chunks +53 lines, -2 lines 0 comments Download
M components/safe_browsing_db/BUILD.gn View 1 2 3 4 5 6 7 8 9 4 chunks +85 lines, -1 line 0 comments Download
M components/safe_browsing_db/DEPS View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/safe_browsing_db/hit_report.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
A + components/safe_browsing_db/metadata.proto View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/safe_browsing_db/remote_database_manager.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
A + components/safe_browsing_db/remote_database_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +7 lines, -6 lines 0 comments Download
A + components/safe_browsing_db/remote_database_manager_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
A + components/safe_browsing_db/safe_browsing_api_handler.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + components/safe_browsing_db/safe_browsing_api_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
A + components/safe_browsing_db/safe_browsing_api_handler_unittest.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -3 lines 0 comments Download
A + components/safe_browsing_db/safe_browsing_api_handler_util.h View 1 2 chunks +4 lines, -4 lines 0 comments Download
A + components/safe_browsing_db/safe_browsing_api_handler_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +5 lines, -8 lines 0 comments Download

Messages

Total messages: 34 (9 generated)
vakh (use Gerrit instead)
Moving metadata.proto and safe_browsing_api_handler_ into safe_browsing_db
4 years, 11 months ago (2016-01-13 00:35:17 UTC) #1
vakh (use Gerrit instead)
//chrome/browser/chromeos:chromeos needs //chrome/browser/safe_browsing:metadata_proto
4 years, 11 months ago (2016-01-13 00:46:50 UTC) #2
vakh (use Gerrit instead)
Add dependency on :safe_browsing_metadata_proto and remove dependency on files moved from browser/safe_browsing/
4 years, 11 months ago (2016-01-14 22:15:22 UTC) #3
vakh (use Gerrit instead)
Correct the #include path in chrome_main_delegate_android.cc
4 years, 11 months ago (2016-01-14 23:02:06 UTC) #4
vakh (use Gerrit instead)
git rebase
4 years, 11 months ago (2016-01-14 23:36:23 UTC) #5
vakh (use Gerrit instead)
Change the location of unit test files in gyp and gn files
4 years, 11 months ago (2016-01-15 01:20:49 UTC) #6
vakh (use Gerrit instead)
unit_tests_mobile depend on :safe_browsing_api_handler
4 years, 11 months ago (2016-01-15 01:27:52 UTC) #7
vakh (use Gerrit instead)
unit_tests_mobile depend on //components/variations
4 years, 11 months ago (2016-01-15 01:43:24 UTC) #8
vakh (use Gerrit instead)
git fetch && git rebase
4 years, 11 months ago (2016-01-15 18:54:01 UTC) #9
vakh (use Gerrit instead)
Remove reference to chrome_unit_tests_mobile_safe_browsing_sources
4 years, 11 months ago (2016-01-15 18:59:00 UTC) #10
vakh (use Gerrit instead)
chrome_android depends on safe_browsing_db_mobile
4 years, 11 months ago (2016-01-15 20:53:34 UTC) #11
vakh (use Gerrit instead)
chrome_android depends on safe_browsing_db_mobile (gn)
4 years, 11 months ago (2016-01-15 21:27:31 UTC) #12
vakh (use Gerrit instead)
Add a gn dep on safe_browsing_db_mobile
4 years, 11 months ago (2016-01-15 22:34:37 UTC) #13
Nathan Parker
lgtm https://codereview.chromium.org/1579403002/diff/260001/chrome/app/DEPS File chrome/app/DEPS (right): https://codereview.chromium.org/1579403002/diff/260001/chrome/app/DEPS#newcode23 chrome/app/DEPS:23: "+components/safe_browsing_db/safe_browsing_api_handler.h", Do you know what chrome/app/ is? I'm ...
4 years, 11 months ago (2016-01-20 23:26:54 UTC) #16
vakh (use Gerrit instead)
https://codereview.chromium.org/1579403002/diff/260001/chrome/app/DEPS File chrome/app/DEPS (right): https://codereview.chromium.org/1579403002/diff/260001/chrome/app/DEPS#newcode23 chrome/app/DEPS:23: "+components/safe_browsing_db/safe_browsing_api_handler.h", On 2016/01/20 23:26:54, nparker wrote: > Do you ...
4 years, 11 months ago (2016-01-21 01:36:46 UTC) #17
vakh (use Gerrit instead)
Thanks nparker! blundell@chromium.org: Please review changes in components/... thestig@chromium.org: Please review changes in chrome/...
4 years, 11 months ago (2016-01-21 01:42:05 UTC) #19
blundell
top-level //components lgtm with nit https://codereview.chromium.org/1579403002/diff/260001/components/components_tests.gyp File components/components_tests.gyp (right): https://codereview.chromium.org/1579403002/diff/260001/components/components_tests.gyp#newcode1268 components/components_tests.gyp:1268: 'safe_browsing_db/remote_database_manager_unittest.cc', On 2016/01/21 01:36:46, ...
4 years, 11 months ago (2016-01-21 08:51:27 UTC) #20
vakh (use Gerrit instead)
git fetch && git rebase && git cl format
4 years, 11 months ago (2016-01-21 18:15:39 UTC) #21
vakh (use Gerrit instead)
Define a variable for safe_browsing_db_mobile_unittest_sources
4 years, 11 months ago (2016-01-21 18:34:41 UTC) #22
vakh (use Gerrit instead)
Thanks blundell@ jochen@chromium.org: Please review changes in chrome/... https://codereview.chromium.org/1579403002/diff/260001/components/components_tests.gyp File components/components_tests.gyp (right): https://codereview.chromium.org/1579403002/diff/260001/components/components_tests.gyp#newcode1268 components/components_tests.gyp:1268: 'safe_browsing_db/remote_database_manager_unittest.cc', ...
4 years, 11 months ago (2016-01-21 18:48:46 UTC) #25
jochen (gone - plz use gerrit)
lgtm
4 years, 11 months ago (2016-01-22 14:22:14 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1579403002/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1579403002/300001
4 years, 11 months ago (2016-01-22 19:11:18 UTC) #29
commit-bot: I haz the power
Committed patchset #17 (id:300001)
4 years, 11 months ago (2016-01-22 21:01:42 UTC) #31
commit-bot: I haz the power
Patchset 17 (id:??) landed as https://crrev.com/bdd302affda19c5b2051d1e868c7045f5614c955 Cr-Commit-Position: refs/heads/master@{#371034}
4 years, 11 months ago (2016-01-22 21:02:53 UTC) #33
Scott Hess - ex-Googler
4 years, 11 months ago (2016-01-22 21:47:04 UTC) #34
Message was sent while issue was closed.
A revert of this CL (patchset #17 id:300001) has been created in
https://codereview.chromium.org/1620813005/ by shess@chromium.org.

The reason for reverting is: "buildbot failure in Chromium on Win"

components\safe_browsing_db\safe_browsing_api_handler_util.cc(138) : error
C2220: warning treated as error - no 'object' file generated
components\safe_browsing_db\safe_browsing_api_handler_util.cc(138) : warning
C4701: potentially uninitialized local variable 'matches' used
components\safe_browsing_db\safe_browsing_api_handler_util.cc(138) : warning
C4703: potentially uninitialized local pointer variable 'matches' used
.

Powered by Google App Engine
This is Rietveld 408576698