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

Issue 2964693003: Added experiments section and exported the list of SafeBrowsing features in WebUI (Closed)

Created:
3 years, 5 months ago by hkamila
Modified:
3 years, 5 months ago
CC:
chromium-reviews, vakh+watch_chromium.org, droger+watchlist_chromium.org, grt+watch_chromium.org, sdefresne+watchlist_chromium.org, timvolodine, oshima+watch_chromium.org, blundell+watchlist_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

-Added the experimental features section as part of the chrome://safe-browsing. For the experiments not running at 100%. -Exported the list of SafeBrowsing features (base::Feature) to have them in the future in a central location. -Fixed the message dialogue for the WebUI. -Added some extra css. Note: Tags for the experiments are not added in this issue. Review-Url: https://codereview.chromium.org/2964693003 Cr-Commit-Position: refs/heads/master@{#485380} Committed: https://chromium.googlesource.com/chromium/src/+/fdacb19a2600b6ca47c7d58752a97bc075fd89f5 BUG=740955, 734667 Review-Url: https://codereview.chromium.org/2964693003 Cr-Commit-Position: refs/heads/master@{#485821} Committed: https://chromium.googlesource.com/chromium/src/+/422a878152e9cbada622e6e7f6cfc98d60af96b0

Patch Set 1 #

Patch Set 2 : Fixed the rebasing issues #

Patch Set 3 : Removed the not needed files and headers #

Patch Set 4 : Fixed formatting #

Patch Set 5 : Fixed tests #

Patch Set 6 : Fixed tests 2 #

Patch Set 7 : Fixed the header files #

Patch Set 8 : Changed the location of features.cc/.h #

Total comments: 53

Patch Set 9 : Added the safe_browsing namespace and added newlines #

Patch Set 10 : Added namespaces, changed function names and descriptions etc #

Patch Set 11 : Fixed the copy-paste issue #

Patch Set 12 : changed references for pointers #

Total comments: 3

Patch Set 13 : Returning the vector from a getter function (Fixing Revert Patch) #

Patch Set 14 : Fixed the variable names according to the standard #

Patch Set 15 : Fixed the variable names according to the standard 01 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+248 lines, -34 lines) Patch
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/safe_browsing/DEPS View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/safe_browsing/threat_dom_details_browsertest.cc View 1 2 3 4 5 6 7 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M components/resources/safe_browsing_resources.grdp View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/safe_browsing/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +12 lines, -0 lines 0 comments Download
A components/safe_browsing/features.h View 1 2 3 4 5 6 7 8 9 1 chunk +29 lines, -0 lines 0 comments Download
A components/safe_browsing/features.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +77 lines, -0 lines 0 comments Download
M components/safe_browsing/renderer/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M components/safe_browsing/renderer/DEPS View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M components/safe_browsing/renderer/threat_dom_details.h View 1 chunk +0 lines, -1 line 0 comments Download
M components/safe_browsing/renderer/threat_dom_details.cc View 1 2 3 4 5 6 7 2 chunks +1 line, -9 lines 0 comments Download
M components/safe_browsing/web_ui/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M components/safe_browsing/web_ui/resources/safe_browsing.css View 1 2 3 4 5 6 7 8 9 10 1 chunk +22 lines, -1 line 0 comments Download
M components/safe_browsing/web_ui/resources/safe_browsing.html View 1 1 chunk +8 lines, -1 line 0 comments Download
A components/safe_browsing/web_ui/resources/safe_browsing.js View 1 chunk +29 lines, -0 lines 0 comments Download
M components/safe_browsing/web_ui/safe_browsing_ui.h View 1 2 3 4 5 6 7 8 2 chunks +24 lines, -4 lines 0 comments Download
M components/safe_browsing/web_ui/safe_browsing_ui.cc View 1 2 3 4 5 6 7 8 9 2 chunks +32 lines, -3 lines 0 comments Download
M components/safe_browsing_db/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M components/safe_browsing_db/DEPS View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M components/safe_browsing_db/v4_feature_list.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -12 lines 0 comments Download

Messages

Total messages: 100 (65 generated)
hkamila
Fixed the rebasing issues
3 years, 5 months ago (2017-06-30 22:59:00 UTC) #1
hkamila
Removed the not needed files and headers
3 years, 5 months ago (2017-06-30 23:17:06 UTC) #2
hkamila
Fixed formatting
3 years, 5 months ago (2017-07-05 19:42:25 UTC) #11
hkamila
Fixed tests
3 years, 5 months ago (2017-07-05 20:38:37 UTC) #16
hkamila
Fixed tests 2
3 years, 5 months ago (2017-07-05 20:59:23 UTC) #21
hkamila
blundell@chromium.org: Please review changes in components/resources/safe_browsing_resources.grdp
3 years, 5 months ago (2017-07-05 21:23:35 UTC) #27
blundell
lgtm
3 years, 5 months ago (2017-07-06 06:54:18 UTC) #34
Jialiu Lin
High level comments: It feels a little bit counter-intuitive to put feature definition in the ...
3 years, 5 months ago (2017-07-06 16:52:39 UTC) #35
hkamila
On 2017/07/06 16:52:39, Jialiu Lin wrote: > High level comments: > It feels a little ...
3 years, 5 months ago (2017-07-06 17:13:37 UTC) #36
hkamila
Changed the location of features.cc/.h
3 years, 5 months ago (2017-07-06 23:23:38 UTC) #37
hkamila
On 2017/07/06 17:13:37, hkamila wrote: > On 2017/07/06 16:52:39, Jialiu Lin wrote: > > High ...
3 years, 5 months ago (2017-07-06 23:27:45 UTC) #40
Jialiu Lin
Looking good! https://codereview.chromium.org/2964693003/diff/140001/components/safe_browsing/features.cc File components/safe_browsing/features.cc (right): https://codereview.chromium.org/2964693003/diff/140001/components/safe_browsing/features.cc#newcode4 components/safe_browsing/features.cc:4: #include "components/safe_browsing/features.h" nit: empty line https://codereview.chromium.org/2964693003/diff/140001/components/safe_browsing/features.cc#newcode9 components/safe_browsing/features.cc:9: ...
3 years, 5 months ago (2017-07-06 23:58:28 UTC) #43
hkamila
Added the safe_browsing namespace and added newlines
3 years, 5 months ago (2017-07-07 00:17:37 UTC) #44
vakh (use Gerrit instead)
Looks nice overall. Happy to see JS<->C++ working :) https://codereview.chromium.org/2964693003/diff/140001/components/safe_browsing/common/safe_browsing_prefs.cc File components/safe_browsing/common/safe_browsing_prefs.cc (right): https://codereview.chromium.org/2964693003/diff/140001/components/safe_browsing/common/safe_browsing_prefs.cc#newcode461 components/safe_browsing/common/safe_browsing_prefs.cc:461: ...
3 years, 5 months ago (2017-07-07 00:23:41 UTC) #47
hkamila
Added namespaces, changed function names and descriptions etc
3 years, 5 months ago (2017-07-07 01:26:41 UTC) #50
hkamila
All the Acknowledged comments have been changed to match the review. https://codereview.chromium.org/2964693003/diff/140001/components/safe_browsing/common/safe_browsing_prefs.cc File components/safe_browsing/common/safe_browsing_prefs.cc (right): ...
3 years, 5 months ago (2017-07-07 01:29:50 UTC) #53
hkamila
Fixed the copy-paste issue
3 years, 5 months ago (2017-07-07 17:02:43 UTC) #58
hkamila
On 2017/07/07 17:02:43, hkamila wrote: > Fixed the copy-paste issue @ xiyuan@chromium.org Please review changes ...
3 years, 5 months ago (2017-07-07 17:12:17 UTC) #62
hkamila
changed references for pointers
3 years, 5 months ago (2017-07-07 17:26:05 UTC) #63
hkamila
On 2017/07/07 17:26:05, hkamila wrote: > changed references for pointers @Jialiu Lin, @vakh I reviewed ...
3 years, 5 months ago (2017-07-07 17:34:17 UTC) #66
Jialiu Lin
LGTM
3 years, 5 months ago (2017-07-07 18:10:54 UTC) #69
vakh (use Gerrit instead)
lgtm https://codereview.chromium.org/2964693003/diff/220001/components/safe_browsing/features.cc File components/safe_browsing/features.cc (right): https://codereview.chromium.org/2964693003/diff/220001/components/safe_browsing/features.cc#newcode61 components/safe_browsing/features.cc:61: if ((*it).second) { Would it->second and it->first work? ...
3 years, 5 months ago (2017-07-07 18:42:09 UTC) #74
vakh (use Gerrit instead)
tommycli: Please review the minor change in chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc Thanks!
3 years, 5 months ago (2017-07-07 18:45:47 UTC) #76
hkamila
pkasting@chromium.org: Please review minor changes in chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc Thanks!
3 years, 5 months ago (2017-07-10 18:02:06 UTC) #78
Peter Kasting
LGTM You are welcome (encouraged, even) to TBR OWNERS on trivial mechanical changes.
3 years, 5 months ago (2017-07-10 18:27:52 UTC) #79
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/2964693003/220001
3 years, 5 months ago (2017-07-10 18:51:45 UTC) #82
commit-bot: I haz the power
Committed patchset #12 (id:220001) as https://chromium.googlesource.com/chromium/src/+/fdacb19a2600b6ca47c7d58752a97bc075fd89f5
3 years, 5 months ago (2017-07-10 21:01:11 UTC) #85
Peter Wen
A revert of this CL (patchset #12 id:220001) has been created in https://codereview.chromium.org/2974243002/ by wnwen@chromium.org. ...
3 years, 5 months ago (2017-07-11 16:39:46 UTC) #86
hkamila
Returning the vector from a getter function (Fixing Revert Patch)
3 years, 5 months ago (2017-07-11 18:45:55 UTC) #87
hkamila
On 2017/07/11 18:45:55, hkamila wrote: > Returning the vector from a getter function (Fixing Revert ...
3 years, 5 months ago (2017-07-11 20:02:25 UTC) #88
vakh (use Gerrit instead)
lgtm One thing that I just noticed is that this CL is violating the style ...
3 years, 5 months ago (2017-07-11 20:25:30 UTC) #90
hkamila
Fixed the variable names according to the standard
3 years, 5 months ago (2017-07-11 21:59:56 UTC) #91
hkamila
Fixed the variable names according to the standard 01
3 years, 5 months ago (2017-07-11 22:04:14 UTC) #92
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/2964693003/280001
3 years, 5 months ago (2017-07-11 22:09:42 UTC) #96
commit-bot: I haz the power
3 years, 5 months ago (2017-07-12 02:51:31 UTC) #100
Message was sent while issue was closed.
Committed patchset #15 (id:280001) as
https://chromium.googlesource.com/chromium/src/+/422a878152e9cbada622e6e7f6cf...

Powered by Google App Engine
This is Rietveld 408576698