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

Issue 266053003: Remove page IDs from three WebContentsObserver APIs that don't need it. (Closed)

Created:
6 years, 7 months ago by Charlie Reis
Modified:
6 years, 7 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, jam, vsevik, sadrul, kalyank, tfarina, nasko+codewatch_chromium.org, browser-components-watch_chromium.org, yurys, jochen+watch_chromium.org, paulirish+reviews_chromium.org, darin-cc_chromium.org, ben+ash_chromium.org, creis+watch_chromium.org, devtools-reviews_chromium.org, chromium-apps-reviews_chromium.org, markusheintz_, aandrey+blink_chromium.org, pfeldman, miu+watch_chromium.org, site-isolation-reviews_chromium.org
Visibility:
Public.

Description

Remove page IDs from three WebContentsObserver APIs that don't need it. Page IDs are not safe to use on their own, without knowing which SiteInstance they correspond to. BUG=369661 TEST=Dead code, no behavior change. TBR=jam TBR=mkosiba Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268312

Patch Set 1 #

Total comments: 1

Patch Set 2 : Update Android files #

Patch Set 3 : More Android fixes. #

Patch Set 4 : Update metro_pin_tab_helper_win.cc #

Patch Set 5 : Merge with Avi's change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -89 lines) Patch
M android_webview/browser/icon_helper.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M android_webview/browser/icon_helper.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M apps/app_window.h View 1 chunk +1 line, -1 line 0 comments Download
M apps/app_window.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/devtools/devtools_ui_bindings.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/favicon_downloader.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/extensions/favicon_downloader.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/extensions/favicon_downloader_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/favicon/favicon_handler.h View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/favicon/favicon_handler.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/favicon/favicon_handler_unittest.cc View 9 chunks +9 lines, -9 lines 0 comments Download
M chrome/browser/favicon/favicon_tab_helper.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/favicon/favicon_tab_helper.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_favicon_loader.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_favicon_loader_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/metro_pin_tab_helper_win.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/metro_pin_tab_helper_win.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/website_settings/permission_bubble_manager.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/website_settings/permission_bubble_manager.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/website_settings/permission_bubble_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/android/web_contents_observer_android.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/android/web_contents_observer_android.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_delegate.h View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_unittest.cc View 4 chunks +3 lines, -4 lines 0 comments Download
M content/browser/web_contents/aura/overscroll_navigation_overlay.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/web_contents/aura/overscroll_navigation_overlay.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 2 chunks +4 lines, -5 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 3 chunks +6 lines, -8 lines 0 comments Download
M content/common/frame_messages.h View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 1 chunk +2 lines, -4 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/WebContentsObserverAndroid.java View 1 1 chunk +1 line, -2 lines 0 comments Download
M content/public/browser/notification_types.h View 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/web_contents_observer.h View 3 chunks +3 lines, -4 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 1 chunk +2 lines, -4 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M content/shell/browser/shell_devtools_frontend.h View 1 chunk +1 line, -1 line 0 comments Download
M content/shell/browser/shell_devtools_frontend.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
Charlie Reis
John, can you take a look? I'll fill in other owners as needed after that. ...
6 years, 7 months ago (2014-05-02 22:33:21 UTC) #1
Charlie Reis
I'll go ahead and add owners now, since this is just dead code removal: mkosiba: ...
6 years, 7 months ago (2014-05-03 00:48:49 UTC) #2
jabdelmalek
lgtm
6 years, 7 months ago (2014-05-03 00:51:20 UTC) #3
benwells
lgtm
6 years, 7 months ago (2014-05-05 01:08:01 UTC) #4
nasko
IPC LGTM
6 years, 7 months ago (2014-05-05 14:00:07 UTC) #5
Charlie Reis
Thanks! I think I've fixed compile on all platforms at this point, and I had ...
6 years, 7 months ago (2014-05-05 18:38:05 UTC) #6
nasko
LGTM
6 years, 7 months ago (2014-05-05 20:27:26 UTC) #7
Charlie Reis
I'll go ahead with this as TBR for jam/mkosiba, since John has already seen the ...
6 years, 7 months ago (2014-05-05 21:07:40 UTC) #8
Charlie Reis
The CQ bit was checked by creis@chromium.org
6 years, 7 months ago (2014-05-05 21:07:47 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/creis@chromium.org/266053003/80001
6 years, 7 months ago (2014-05-05 21:08:57 UTC) #10
commit-bot: I haz the power
Change committed as 268312
6 years, 7 months ago (2014-05-05 23:24:36 UTC) #11
mkosiba (inactive)
6 years, 7 months ago (2014-05-06 09:35:09 UTC) #12
Message was sent while issue was closed.
android bits LGTM. Sorry for the late reply, we had a day off here in the UK.

Powered by Google App Engine
This is Rietveld 408576698