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

Issue 160283002: chrome/installer: Make InitializeCrashReporting() return a scoped_ptr. (Closed)

Created:
6 years, 10 months ago by tfarina
Modified:
6 years, 10 months ago
Reviewers:
grt (UTC plus 2)
CC:
chromium-reviews, grt+watch_chromium.org
Visibility:
Public.

Description

chrome/installer: Make InitializeCrashReporting() return a scoped_ptr. The idea came first while I found this code was using google_breakpad's scoped_ptr version rather than base's version. Then I saw in win8/ that this function could return a scoped_ptr to make it clear the ownership to caller, i.e., this function passes the ownership of ExceptionHandler to the caller, so it should own the pointer to release it when it is done. BUG=None TEST=None R=grt@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=250957

Patch Set 1 #

Patch Set 2 : fix win? #

Patch Set 3 : the real fix #

Patch Set 4 : include scoped_ptr.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -8 lines) Patch
M chrome/installer/setup/setup_main.cc View 1 2 3 4 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
tfarina
Hi Greg, could you review this to me? Thanks.
6 years, 10 months ago (2014-02-12 03:13:32 UTC) #1
grt (UTC plus 2)
looks like this file is missing #include "base/memory/scoped_ptr.h" lgtm if you add that before committing.
6 years, 10 months ago (2014-02-12 15:07:58 UTC) #2
tfarina
The CQ bit was checked by tfarina@chromium.org
6 years, 10 months ago (2014-02-13 00:06:55 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/160283002/200001
6 years, 10 months ago (2014-02-13 00:08:13 UTC) #4
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-13 00:29:35 UTC) #5
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) app_list_unittests, ash_unittests, aura_unittests, cacheinvalidation_unittests, cc_unittests, check_deps, ...
6 years, 10 months ago (2014-02-13 00:29:36 UTC) #6
tfarina
The CQ bit was unchecked by tfarina@chromium.org
6 years, 10 months ago (2014-02-13 01:32:06 UTC) #7
tfarina
The CQ bit was checked by tfarina@chromium.org
6 years, 10 months ago (2014-02-13 01:32:06 UTC) #8
tfarina
The CQ bit was unchecked by tfarina@chromium.org
6 years, 10 months ago (2014-02-13 01:32:06 UTC) #9
tfarina
The CQ bit was checked by tfarina@chromium.org
6 years, 10 months ago (2014-02-13 01:32:07 UTC) #10
tfarina
The CQ bit was unchecked by tfarina@chromium.org
6 years, 10 months ago (2014-02-13 01:32:07 UTC) #11
tfarina
The CQ bit was checked by tfarina@chromium.org
6 years, 10 months ago (2014-02-13 01:32:07 UTC) #12
tfarina
The CQ bit was checked by tfarina@chromium.org
6 years, 10 months ago (2014-02-13 01:32:08 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/160283002/200001
6 years, 10 months ago (2014-02-13 01:37:05 UTC) #14
commit-bot: I haz the power
6 years, 10 months ago (2014-02-13 05:16:18 UTC) #15
Message was sent while issue was closed.
Change committed as 250957

Powered by Google App Engine
This is Rietveld 408576698