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

Issue 2940963002: Added the chrome://safe-browsing/ page as part of the chrome://about (Closed)

Created:
3 years, 6 months ago by hkamila
Modified:
3 years, 5 months ago
CC:
chromium-reviews, arv+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Added the chrome://safe-browsing/ page as part of the chrome://about Created the chrome://safe-browsing/ WebUI interface, and added it as part of the list, in the chrome://about page. Reference: I followed the steps in https://www.chromium.org/developers/webui to create the interface. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2940963002 Cr-Commit-Position: refs/heads/master@{#483104} Committed: https://chromium.googlesource.com/chromium/src/+/8c024eea933703d60dc129ad2feecd5765a2417c

Patch Set 1 #

Total comments: 9

Patch Set 2 : "Added the copyright for the .js and the .css files" #

Patch Set 3 : "Moved files to components\... and removed the username for the incognito case" #

Total comments: 8

Patch Set 4 : Changed the overall location of several files to base them on components/ #

Total comments: 4

Patch Set 5 : Deleted the .js file that was remaning in the wrong folder. #

Total comments: 2

Patch Set 6 : Added the header file in DEPS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -0 lines) Patch
M chrome/browser/ui/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/common/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/DEPS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/url_constants.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M components/components_strings.grd View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M components/resources/components_resources.grd View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A components/resources/safe_browsing_resources.grdp View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
A components/safe_browsing/web_ui/BUILD.gn View 1 2 3 1 chunk +28 lines, -0 lines 0 comments Download
A components/safe_browsing/web_ui/DEPS View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
A components/safe_browsing/web_ui/constants.h View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
A components/safe_browsing/web_ui/constants.cc View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download
A components/safe_browsing/web_ui/resources/safe_browsing.css View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
A components/safe_browsing/web_ui/resources/safe_browsing.html View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
A components/safe_browsing/web_ui/safe_browsing_ui.h View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
A components/safe_browsing/web_ui/safe_browsing_ui.cc View 1 2 3 1 chunk +33 lines, -0 lines 0 comments Download
A components/safe_browsing_strings.grdp View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 45 (25 generated)
hkamila
3 years, 6 months ago (2017-06-15 22:28:03 UTC) #10
vakh (use Gerrit instead)
How do you feel about calling it chrome://safebrowsing i.e. drop the '-'? https://codereview.chromium.org/2940963002/diff/1/chrome/browser/browser_resources.grd File chrome/browser/browser_resources.grd ...
3 years, 6 months ago (2017-06-15 22:51:14 UTC) #11
Jialiu Lin
https://codereview.chromium.org/2940963002/diff/1/chrome/browser/resources/safe_browsing/safe_browsing.css File chrome/browser/resources/safe_browsing/safe_browsing.css (right): https://codereview.chromium.org/2940963002/diff/1/chrome/browser/resources/safe_browsing/safe_browsing.css#newcode1 chrome/browser/resources/safe_browsing/safe_browsing.css:1: p { Please add copyright statement at the top. ...
3 years, 6 months ago (2017-06-15 22:52:43 UTC) #12
hkamila
On 2017/06/15 22:51:14, vakh (Varun Khaneja) wrote: > How do you feel about calling it ...
3 years, 6 months ago (2017-06-16 16:01:45 UTC) #14
vakh (use Gerrit instead)
chrome://safe-browsing is fine too. https://codereview.chromium.org/2940963002/diff/1/chrome/browser/browser_resources.grd File chrome/browser/browser_resources.grd (right): https://codereview.chromium.org/2940963002/diff/1/chrome/browser/browser_resources.grd#newcode453 chrome/browser/browser_resources.grd:453: <include name="IDR_SAFE_BROWSING_HTML" file="resources\safe_browsing\safe_browsing.html" type="BINDATA" /> ...
3 years, 6 months ago (2017-06-16 16:08:55 UTC) #15
hkamila
https://codereview.chromium.org/2940963002/diff/1/chrome/browser/browser_resources.grd File chrome/browser/browser_resources.grd (right): https://codereview.chromium.org/2940963002/diff/1/chrome/browser/browser_resources.grd#newcode453 chrome/browser/browser_resources.grd:453: <include name="IDR_SAFE_BROWSING_HTML" file="resources\safe_browsing\safe_browsing.html" type="BINDATA" /> On 2017/06/15 22:51:14, vakh ...
3 years, 6 months ago (2017-06-16 20:53:25 UTC) #16
hkamila
tsergeant@chromium.org: Please review changes in chrome/browser/browser_resources.grd ---- pkasting@chromium.org: Please review changes in chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc chrome/browser/ui/webui/safe_browsing_ui.h chrome/browser/ui/webui/safe_browsing_ui.cc
3 years, 6 months ago (2017-06-19 16:30:56 UTC) #18
vakh (use Gerrit instead)
https://codereview.chromium.org/2940963002/diff/40001/chrome/browser/ui/BUILD.gn File chrome/browser/ui/BUILD.gn (right): https://codereview.chromium.org/2940963002/diff/40001/chrome/browser/ui/BUILD.gn#newcode406 chrome/browser/ui/BUILD.gn:406: "webui/safe_browsing_ui.cc", Let's move these also into the components/safe_browsing/webui/ directory. ...
3 years, 6 months ago (2017-06-19 17:02:13 UTC) #19
Peter Kasting
LGTM https://codereview.chromium.org/2940963002/diff/40001/chrome/browser/ui/webui/safe_browsing_ui.cc File chrome/browser/ui/webui/safe_browsing_ui.cc (right): https://codereview.chromium.org/2940963002/diff/40001/chrome/browser/ui/webui/safe_browsing_ui.cc#newcode24 chrome/browser/ui/webui/safe_browsing_ui.cc:24: Profile* profile = Profile::FromWebUI(web_ui); Nit: Optional: Inline into ...
3 years, 6 months ago (2017-06-19 21:06:47 UTC) #20
tsergeant
lgtm https://codereview.chromium.org/2940963002/diff/40001/chrome/browser/browser_resources.grd File chrome/browser/browser_resources.grd (right): https://codereview.chromium.org/2940963002/diff/40001/chrome/browser/browser_resources.grd#newcode453 chrome/browser/browser_resources.grd:453: <include name="IDR_SAFE_BROWSING_HTML" file="..\..\components\safe_browsing\resources\safe_browsing.html" type="BINDATA" /> Nit: Sort these ...
3 years, 6 months ago (2017-06-19 23:08:46 UTC) #21
hkamila
I changed the location of several files, and created new Build, .grdp etc. files, in ...
3 years, 6 months ago (2017-06-23 18:29:37 UTC) #24
vakh (use Gerrit instead)
lgtm Good work. https://codereview.chromium.org/2940963002/diff/60001/chrome/browser/resources/safe_browsing/safe_browsing.js File chrome/browser/resources/safe_browsing/safe_browsing.js (right): https://codereview.chromium.org/2940963002/diff/60001/chrome/browser/resources/safe_browsing/safe_browsing.js#newcode1 chrome/browser/resources/safe_browsing/safe_browsing.js:1: /* Copyright 2017 The Chromium Authors. ...
3 years, 6 months ago (2017-06-23 18:52:03 UTC) #25
hkamila
thestig@chromium.org: Please review changes in chrome/common/DEPS blundell@chromium.org: Please review changes in components/safe_browsing_strings.grdp components/components_strings.grd components/resources/components_resources.grd components/resources/safe_browsing_resources.grdp
3 years, 6 months ago (2017-06-23 21:02:21 UTC) #27
Lei Zhang
I reformatted the CL description with a couple small tweaks. https://codereview.chromium.org/2940963002/diff/80001/chrome/common/DEPS File chrome/common/DEPS (right): https://codereview.chromium.org/2940963002/diff/80001/chrome/common/DEPS#newcode28 ...
3 years, 6 months ago (2017-06-23 23:21:02 UTC) #33
blundell
lgtm
3 years, 5 months ago (2017-06-26 13:04:57 UTC) #34
Jialiu Lin
LGTM Great work!
3 years, 5 months ago (2017-06-26 21:11:12 UTC) #35
hkamila
https://codereview.chromium.org/2940963002/diff/80001/chrome/common/DEPS File chrome/common/DEPS (right): https://codereview.chromium.org/2940963002/diff/80001/chrome/common/DEPS#newc... chrome/common/DEPS:28: "+components/safe_browsing/web_ui", On 2017/06/23 23:21:02, Lei Zhang wrote: > In ...
3 years, 5 months ago (2017-06-28 01:24:24 UTC) #38
Lei Zhang
lgtm
3 years, 5 months ago (2017-06-28 18:10:53 UTC) #39
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/2940963002/100001
3 years, 5 months ago (2017-06-28 18:20:22 UTC) #42
commit-bot: I haz the power
3 years, 5 months ago (2017-06-28 19:47:19 UTC) #45
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/8c024eea933703d60dc129ad2fee...

Powered by Google App Engine
This is Rietveld 408576698