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

Issue 12256029: Use scoped_ptr to document ownership in InstantUnloadHandler. (Closed)

Created:
7 years, 10 months ago by sreeram
Modified:
7 years, 10 months ago
Reviewers:
sky, Jered
CC:
chromium-reviews, melevin, sreeram, gideonwald, dominich, David Black, samarth+watch_chromium.org, Jered
Visibility:
Public.

Description

Use scoped_ptr to document ownership in InstantUnloadHandler. And some cosmetic changes in other Instant files. BUG=none R=jered@chromium.org,sky@chromium.org TEST=none; no change in functionality. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182397

Patch Set 1 #

Total comments: 6

Patch Set 2 : More scoped_ptr usage #

Patch Set 3 : More correct ownership semantics #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -72 lines) Patch
M chrome/browser/instant/instant_commit_type.h View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/instant/instant_service.h View 2 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/instant/instant_service.cc View 1 chunk +1 line, -5 lines 0 comments Download
M chrome/browser/instant/instant_service_factory.h View 3 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/instant/instant_service_factory.cc View 2 chunks +1 line, -6 lines 0 comments Download
M chrome/browser/instant/instant_unload_handler.h View 2 chunks +22 lines, -11 lines 0 comments Download
M chrome/browser/instant/instant_unload_handler.cc View 3 chunks +27 lines, -28 lines 0 comments Download
M chrome/browser/ui/browser_instant_controller.cc View 1 2 1 chunk +4 lines, -9 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
sreeram
jered for review sky for OWNERS
7 years, 10 months ago (2013-02-13 22:56:44 UTC) #1
Jered
https://codereview.chromium.org/12256029/diff/1/chrome/browser/instant/instant_unload_handler.cc File chrome/browser/instant/instant_unload_handler.cc (left): https://codereview.chromium.org/12256029/diff/1/chrome/browser/instant/instant_unload_handler.cc#oldcode81 chrome/browser/instant/instant_unload_handler.cc:81: contents->GetRenderViewHost()->FirePageBeforeUnload(false); What does this now? https://codereview.chromium.org/12256029/diff/1/chrome/browser/ui/browser_instant_controller.cc File chrome/browser/ui/browser_instant_controller.cc (right): ...
7 years, 10 months ago (2013-02-13 23:25:48 UTC) #2
sreeram
https://codereview.chromium.org/12256029/diff/1/chrome/browser/instant/instant_unload_handler.cc File chrome/browser/instant/instant_unload_handler.cc (left): https://codereview.chromium.org/12256029/diff/1/chrome/browser/instant/instant_unload_handler.cc#oldcode81 chrome/browser/instant/instant_unload_handler.cc:81: contents->GetRenderViewHost()->FirePageBeforeUnload(false); On 2013/02/13 23:25:48, Jered wrote: > What does ...
7 years, 10 months ago (2013-02-13 23:41:27 UTC) #3
sreeram
https://codereview.chromium.org/12256029/diff/1/chrome/browser/ui/browser_instant_controller.cc File chrome/browser/ui/browser_instant_controller.cc (right): https://codereview.chromium.org/12256029/diff/1/chrome/browser/ui/browser_instant_controller.cc#newcode174 chrome/browser/ui/browser_instant_controller.cc:174: content::WebContents* old_contents = On 2013/02/13 23:41:27, sreeram wrote: > ...
7 years, 10 months ago (2013-02-13 23:53:11 UTC) #4
Jered
lgtm https://codereview.chromium.org/12256029/diff/1/chrome/browser/instant/instant_unload_handler.cc File chrome/browser/instant/instant_unload_handler.cc (left): https://codereview.chromium.org/12256029/diff/1/chrome/browser/instant/instant_unload_handler.cc#oldcode81 chrome/browser/instant/instant_unload_handler.cc:81: contents->GetRenderViewHost()->FirePageBeforeUnload(false); On 2013/02/13 23:41:27, sreeram wrote: > On ...
7 years, 10 months ago (2013-02-13 23:56:10 UTC) #5
sreeram
+sky for OWNERS
7 years, 10 months ago (2013-02-14 00:27:35 UTC) #6
sky
LGTM
7 years, 10 months ago (2013-02-14 01:26:10 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sreeram@chromium.org/12256029/8001
7 years, 10 months ago (2013-02-14 01:29:52 UTC) #8
commit-bot: I haz the power
Retried try job too often on linux_clang for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_clang&number=83843
7 years, 10 months ago (2013-02-14 01:51:24 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sreeram@chromium.org/12256029/8001
7 years, 10 months ago (2013-02-14 01:58:05 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) aura_unittests, base_unittests, browser_tests, cacheinvalidation_unittests, check_deps, chromeos_unittests, ...
7 years, 10 months ago (2013-02-14 02:18:57 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sreeram@chromium.org/12256029/8001
7 years, 10 months ago (2013-02-14 02:54:25 UTC) #12
commit-bot: I haz the power
7 years, 10 months ago (2013-02-14 06:14:22 UTC) #13
Message was sent while issue was closed.
Change committed as 182397

Powered by Google App Engine
This is Rietveld 408576698