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

Issue 2724433002: Remove the retargeting notification (Closed)

Created:
3 years, 9 months ago by Patrick Noland
Modified:
3 years, 9 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, creis+watch_chromium.org, grt+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, chromium-apps-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove the retargeting notification Replace the retargeting notification with an additional call site for WebContentsObserver::DidOpenRequestedURL. Adjust the two consumers of the retargeting notification to record the information using DidOpenRequestedURL instead. R=nasko@chromium.org, creis@chromium.org BUG=696787 Review-Url: https://codereview.chromium.org/2724433002 Cr-Commit-Position: refs/heads/master@{#454953} Committed: https://chromium.googlesource.com/chromium/src/+/aae574ee52af5df55c8b7175ff096481a5bfb703

Patch Set 1 : Remove the retargeting notification #

Total comments: 16

Patch Set 2 : Remove the retargeting notification #

Total comments: 4

Patch Set 3 : Remove comments in safe browsing tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -168 lines) Patch
M chrome/browser/chrome_notification_types.h View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/web_navigation/web_navigation_api.h View 1 6 chunks +15 lines, -8 lines 0 comments Download
M chrome/browser/extensions/api/web_navigation/web_navigation_api.cc View 1 6 chunks +28 lines, -34 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_navigation_observer.h View 1 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_navigation_observer.cc View 1 2 2 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_navigation_observer_browsertest.cc View 1 2 5 chunks +5 lines, -11 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_navigation_observer_manager.h View 1 5 chunks +11 lines, -18 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_navigation_observer_manager.cc View 1 4 chunks +17 lines, -34 lines 0 comments Download
D chrome/browser/tab_contents/retargeting_details.h View 1 chunk +0 lines, -39 lines 0 comments Download
M chrome/browser/ui/browser.cc View 2 chunks +0 lines, -14 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 2 chunks +14 lines, -1 line 0 comments Download
M content/public/browser/web_contents_observer.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/test/web_contents_observer_sanity_checker.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/test/web_contents_observer_sanity_checker.cc View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 53 (36 generated)
Patrick Noland
Nasko, Charlie, PTAL. (I think the android trybot failures are unrelated to this change; the ...
3 years, 9 months ago (2017-02-28 22:52:42 UTC) #22
nasko
This is awesome! Few small comments and it should be good to go. Thanks! https://codereview.chromium.org/2724433002/diff/60001/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc ...
3 years, 9 months ago (2017-03-01 00:48:38 UTC) #23
Patrick Noland
https://codereview.chromium.org/2724433002/diff/60001/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc File chrome/browser/extensions/api/web_navigation/web_navigation_api.cc (right): https://codereview.chromium.org/2724433002/diff/60001/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc#newcode137 chrome/browser/extensions/api/web_navigation/web_navigation_api.cc:137: int64_t source_render_frame_id, On 2017/03/01 00:48:37, nasko (slow) wrote: > ...
3 years, 9 months ago (2017-03-01 00:57:09 UTC) #24
nasko
Adding Devlin, to look at the couple of comments in web_navigation_api code. https://codereview.chromium.org/2724433002/diff/60001/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc File chrome/browser/extensions/api/web_navigation/web_navigation_api.cc ...
3 years, 9 months ago (2017-03-01 18:36:31 UTC) #26
Patrick Noland
https://codereview.chromium.org/2724433002/diff/60001/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc File chrome/browser/extensions/api/web_navigation/web_navigation_api.cc (right): https://codereview.chromium.org/2724433002/diff/60001/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc#newcode137 chrome/browser/extensions/api/web_navigation/web_navigation_api.cc:137: int64_t source_render_frame_id, On 2017/03/01 00:48:37, nasko (slow) wrote: > ...
3 years, 9 months ago (2017-03-01 23:58:59 UTC) #29
Patrick Noland
Adding jialiul for safe browsing
3 years, 9 months ago (2017-03-02 00:00:12 UTC) #31
Jialiu Lin
This is awesome! Thanks! LGTM safe_browsing_navigation_observer related code is currently gated by finch experiment. In ...
3 years, 9 months ago (2017-03-02 00:36:52 UTC) #34
Devlin
https://codereview.chromium.org/2724433002/diff/60001/chrome/browser/extensions/api/web_navigation/web_navigation_api.h File chrome/browser/extensions/api/web_navigation/web_navigation_api.h (right): https://codereview.chromium.org/2724433002/diff/60001/chrome/browser/extensions/api/web_navigation/web_navigation_api.h#newcode225 chrome/browser/extensions/api/web_navigation/web_navigation_api.h:225: static const bool kServiceRedirectedInIncognito = true; On 2017/03/01 18:36:31, ...
3 years, 9 months ago (2017-03-02 01:33:36 UTC) #35
Patrick Noland
https://codereview.chromium.org/2724433002/diff/60001/chrome/browser/extensions/api/web_navigation/web_navigation_api.h File chrome/browser/extensions/api/web_navigation/web_navigation_api.h (right): https://codereview.chromium.org/2724433002/diff/60001/chrome/browser/extensions/api/web_navigation/web_navigation_api.h#newcode225 chrome/browser/extensions/api/web_navigation/web_navigation_api.h:225: static const bool kServiceRedirectedInIncognito = true; On 2017/03/02 01:33:36, ...
3 years, 9 months ago (2017-03-02 22:15:21 UTC) #36
nasko
On 2017/03/02 22:15:21, Patrick Noland wrote: > https://codereview.chromium.org/2724433002/diff/60001/chrome/browser/extensions/api/web_navigation/web_navigation_api.h > File chrome/browser/extensions/api/web_navigation/web_navigation_api.h (right): > > https://codereview.chromium.org/2724433002/diff/60001/chrome/browser/extensions/api/web_navigation/web_navigation_api.h#newcode225 ...
3 years, 9 months ago (2017-03-03 18:30:37 UTC) #37
Devlin
(I don't think you need my stamp with Nasko's, and all this seems reasonable - ...
3 years, 9 months ago (2017-03-03 19:03:34 UTC) #38
Patrick Noland
+sky@ for chrome/browser and chrome/browser/ui files https://codereview.chromium.org/2724433002/diff/80001/chrome/browser/safe_browsing/safe_browsing_navigation_observer_browsertest.cc File chrome/browser/safe_browsing/safe_browsing_navigation_observer_browsertest.cc (right): https://codereview.chromium.org/2724433002/diff/80001/chrome/browser/safe_browsing/safe_browsing_navigation_observer_browsertest.cc#newcode586 chrome/browser/safe_browsing/safe_browsing_navigation_observer_browsertest.cc:586: // The next ...
3 years, 9 months ago (2017-03-03 20:14:00 UTC) #40
sky
This looks reasonable to me, but do you have an extensions owner reviewing the extensions ...
3 years, 9 months ago (2017-03-06 18:00:16 UTC) #45
Devlin
On 2017/03/06 18:00:16, sky wrote: > This looks reasonable to me, but do you have ...
3 years, 9 months ago (2017-03-06 18:02:02 UTC) #46
sky
Ok, or random c/b files not owned by other reviewers LGTM
3 years, 9 months ago (2017-03-06 18:52:55 UTC) #47
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/2724433002/100001
3 years, 9 months ago (2017-03-06 19:34:23 UTC) #50
commit-bot: I haz the power
3 years, 9 months ago (2017-03-06 21:05:11 UTC) #53
Message was sent while issue was closed.
Committed patchset #3 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/aae574ee52af5df55c8b7175ff09...

Powered by Google App Engine
This is Rietveld 408576698