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

Issue 523138: Make the error_string parameter a reference instead of a pointer to enforce (Closed)

Created:
10 years, 11 months ago by jochen (gone - plz use gerrit)
Modified:
9 years, 7 months ago
Reviewers:
Paweł Hajdan Jr.
CC:
chromium-reviews_googlegroups.com, Aaron Boodman, Erik does not do reviews, pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Make the error_string parameter a reference instead of a pointer to enforce that there is actually an object being passed. BUG=none TEST=Covered by unit tests

Patch Set 1 #

Patch Set 2 : use DCHECK instead. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M chrome/browser/privacy_blacklist/blacklist_io.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
jochen (gone - plz use gerrit)
This patch makes the interfae a bit more robust.
10 years, 11 months ago (2010-01-08 10:52:11 UTC) #1
Paweł Hajdan Jr.
Please drop this CL. It's against the style guide, see <http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Reference_Arguments#Reference_Arguments>
10 years, 11 months ago (2010-01-08 11:01:55 UTC) #2
jochen (gone - plz use gerrit)
On 2010/01/08 11:01:55, Paweł Hajdan Jr. wrote: > Please drop this CL. It's against the ...
10 years, 11 months ago (2010-01-08 11:22:06 UTC) #3
Paweł Hajdan Jr.
On 2010/01/08 11:22:06, Jochen Eisinger wrote: > On 2010/01/08 11:01:55, Paweł Hajdan Jr. wrote: > ...
10 years, 11 months ago (2010-01-08 11:36:55 UTC) #4
jochen (gone - plz use gerrit)
On 2010/01/08 11:36:55, Paweł Hajdan Jr. wrote: > Sounds good. please review.
10 years, 11 months ago (2010-01-08 12:36:28 UTC) #5
Paweł Hajdan Jr.
10 years, 11 months ago (2010-01-08 12:47:52 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698