|
Refactor safe-browsing build-config definitions.
Centralize the configuration and break things down into individual sub-systems to enable, rather than referring to feature bundles.
I will in a later CL add safe_browsing==3 for enabling XLB on Android, which will define SAFE_BROWSING_DB_REMOTE. When launched, this will replace mode 2.
SAFE_BROWSING_SERVICE - enable the browser to talk to the server.
SAFE_BROWSING_DB_LOCAL - maintain local database(s) synced from the server.
SAFE_BROWSING_DB_REMOTE - talk via API to an external DB (i.e. XLB).
SAFE_BROWSING_CSD - client-side phishing detection support.
This is nearly a copy of shess@'s 8-month-old
https://codereview.chromium.org/397853002/ which was LGTMed. Diffs: Mostly merge conflicts, a rename, and few files added
BUG= 394379, 474608
Committed: https://crrev.com/333f169bf09e1c455ea821520010ec8cc9658990
Cr-Commit-Position: refs/heads/master@{#325775}
Total comments: 3
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+97 lines, -116 lines) |
Patch |
|
M |
build/common.gypi
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
|
M |
build/config/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/apps/ephemeral_app_launcher_browsertest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/browser_process_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/browsing_data/browsing_data_remover.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/browsing_data/browsing_data_remover_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/BUILD.gn
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/blacklist.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extension_service_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/off_the_record_profile_io_data.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/profile_impl_io_data.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/renderer_host/safe_browsing_resource_throttle_factory.h
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/renderer_host/safe_browsing_resource_throttle_factory.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+13 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/safe_browsing/safe_browsing_service.cc
|
View
|
1
2
3
4
5
|
6 chunks |
+12 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/safe_browsing/safe_browsing_tab_observer.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/safe_browsing/safe_browsing_tab_observer.cc
|
View
|
|
4 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_browser_extensions.gypi
|
View
|
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_browser_ui.gypi
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_common.gypi
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_renderer.gypi
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/chrome_utility.gypi
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/common/BUILD.gn
|
View
|
1
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/common/common_message_generator.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/common/safe_browsing/safebrowsing_messages.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/renderer/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+12 lines, -18 lines |
0 comments
|
Download
|
|
M |
chrome/test/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/utility/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
tools/ipc_fuzzer/message_tools/message_tools.gyp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
Total messages: 51 (21 generated)
|