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

Issue 1813833002: Add report URL to safe search API functionality. (Closed)

Created:
4 years, 9 months ago by atanasova
Modified:
4 years, 8 months ago
CC:
chromium-reviews, pam+watch_chromium.org, asvitkine+watch_chromium.org, Nico
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add report URL to safe search API functionality. Add apiary request creator that gets the appropriate auth token and sends a request ot the SafeSearch API. Currently this is attached to supervised user services and a child will be able to issue such request. I have added feature flags that disable the apiary creator from being added to the supervised user services and this disables the whole feature. BUG=595748 Committed: https://crrev.com/ac676033b595286702fd2c56183b87c85ce7574a Cr-Commit-Position: refs/heads/master@{#385190}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Refactor code #

Total comments: 36

Patch Set 3 : Addressing comments #

Total comments: 4

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Total comments: 4

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+325 lines, -46 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/supervised_user/child_accounts/child_account_service.cc View 1 2 3 3 chunks +7 lines, -0 lines 0 comments Download
A chrome/browser/supervised_user/experimental/safe_search_url_reporter.h View 1 2 3 4 5 1 chunk +69 lines, -0 lines 0 comments Download
A chrome/browser/supervised_user/experimental/safe_search_url_reporter.cc View 1 2 3 1 chunk +183 lines, -0 lines 0 comments Download
A + chrome/browser/supervised_user/experimental/safe_search_url_reporter_unittest.cc View 1 2 3 4 5 6 5 chunks +22 lines, -46 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_service.h View 1 2 3 4 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_service.cc View 1 2 3 3 chunks +14 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_features.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_features.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (11 generated)
atanasova
4 years, 9 months ago (2016-03-17 17:21:40 UTC) #3
Marc Treib
https://codereview.chromium.org/1813833002/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1813833002/diff/1/chrome/app/generated_resources.grd#newcode4977 chrome/app/generated_resources.grd:4977: + Enable report URL to SafeSearch API Somehow I ...
4 years, 9 months ago (2016-03-18 11:28:54 UTC) #4
atanasova
Did a refactor on how the code works overall and renamed the files and classes. ...
4 years, 9 months ago (2016-03-21 10:42:25 UTC) #5
Marc Treib
https://codereview.chromium.org/1813833002/diff/20001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/1813833002/diff/20001/chrome/browser/about_flags.cc#newcode1697 chrome/browser/about_flags.cc:1697: {"enable-safe-search-url-reporting", nit: I'd remove the "enable-" prefix, since it ...
4 years, 9 months ago (2016-03-21 12:32:21 UTC) #6
atanasova
https://codereview.chromium.org/1813833002/diff/20001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/1813833002/diff/20001/chrome/browser/about_flags.cc#newcode1697 chrome/browser/about_flags.cc:1697: {"enable-safe-search-url-reporting", On 2016/03/21 12:32:21, Marc Treib wrote: > nit: ...
4 years, 9 months ago (2016-03-22 15:45:41 UTC) #7
Marc Treib
https://codereview.chromium.org/1813833002/diff/20001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/1813833002/diff/20001/chrome/browser/about_flags.cc#newcode1697 chrome/browser/about_flags.cc:1697: {"enable-safe-search-url-reporting", On 2016/03/22 15:45:41, atanasova wrote: > On 2016/03/21 ...
4 years, 9 months ago (2016-03-22 16:06:50 UTC) #8
atanasova
https://codereview.chromium.org/1813833002/diff/20001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/1813833002/diff/20001/chrome/browser/about_flags.cc#newcode1697 chrome/browser/about_flags.cc:1697: {"enable-safe-search-url-reporting", On 2016/03/22 16:06:49, Marc Treib wrote: > On ...
4 years, 9 months ago (2016-03-23 10:45:01 UTC) #9
Marc Treib
LGTM, thanks for putting up with all my naming nits! :) https://codereview.chromium.org/1813833002/diff/60001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): ...
4 years, 9 months ago (2016-03-23 10:48:42 UTC) #10
atanasova
https://codereview.chromium.org/1813833002/diff/60001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1813833002/diff/60001/chrome/app/generated_resources.grd#newcode4974 chrome/app/generated_resources.grd:4974: + Enable SafeSearch URLs reporting. On 2016/03/23 10:48:42, Marc ...
4 years, 9 months ago (2016-03-23 10:50:58 UTC) #11
Pam (message me for reviews)
LGTM, with a couple of nits described below. https://codereview.chromium.org/1813833002/diff/80001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1813833002/diff/80001/chrome/app/generated_resources.grd#newcode4973 chrome/app/generated_resources.grd:4973: + ...
4 years, 9 months ago (2016-03-23 18:31:48 UTC) #13
atanasova
Adding @thakis for owners approval on changes in the chrome_features files. For context - I ...
4 years, 9 months ago (2016-03-23 18:45:02 UTC) #14
atanasova
4 years, 9 months ago (2016-03-23 18:45:26 UTC) #16
atanasova
Friendly ping
4 years, 8 months ago (2016-03-30 16:25:57 UTC) #17
Nico
lgtm
4 years, 8 months ago (2016-04-05 14:41:18 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1813833002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1813833002/100001
4 years, 8 months ago (2016-04-05 14:42:21 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_rel/builds/45754) android_compile_dbg on tryserver.chromium.android (JOB_FAILED, ...
4 years, 8 months ago (2016-04-05 14:55:23 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1813833002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1813833002/120001
4 years, 8 months ago (2016-04-05 15:26:57 UTC) #26
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 8 months ago (2016-04-05 16:31:26 UTC) #28
commit-bot: I haz the power
4 years, 8 months ago (2016-04-05 16:32:48 UTC) #30
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/ac676033b595286702fd2c56183b87c85ce7574a
Cr-Commit-Position: refs/heads/master@{#385190}

Powered by Google App Engine
This is Rietveld 408576698