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

Issue 273058: Fix some warnings on Mac that are treated as errors:... (Closed)

Created:
11 years, 2 months ago by Munjal (Google)
Modified:
9 years ago
CC:
chromium-reviews_googlegroups.com, ben+cc_chromium.org, ncarter (slow), Paweł Hajdan Jr., idana
Visibility:
Public.

Description

Fix some warnings on Mac that are treated as errors: The warnings indicate that a public/protected method of a class visible outside of a .cc file returns a type that's declared in the anonymous namespace in that file (and hence not visible outside the file). BUG=23073 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=29075

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -28 lines) Patch
M chrome/browser/sync/engine/auth_watcher_unittest.cc View 1 2 5 chunks +7 lines, -11 lines 0 comments Download
M chrome/browser/sync/engine/net/gaia_authenticator_unittest.cc View 2 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/sync/engine/syncer_unittest.cc View 1 2 3 4 chunks +0 lines, -8 lines 2 comments Download
M chrome/browser/sync/syncable/syncable.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/sync/syncable/syncable_unittest.cc View 1 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Munjal (Google)
I am not sure if putting everything in browser_sync namespace will result in other issues. ...
11 years, 2 months ago (2009-10-14 21:20:42 UTC) #1
tim (not reviewing)
I think this subtly won't work? It will actually compile and "work" but some tests ...
11 years, 2 months ago (2009-10-14 21:24:42 UTC) #2
akalin (wrong akalin)
Yes, I ran into the same problem. I solved it by just putting an extra ...
11 years, 2 months ago (2009-10-14 21:48:37 UTC) #3
Munjal (Google)
Yep, I just talked to Nick in person. I thought of another way, to make ...
11 years, 2 months ago (2009-10-14 21:51:02 UTC) #4
Munjal (Google)
It doesn't work to use the base class pointer in the getter since new methods ...
11 years, 2 months ago (2009-10-14 23:15:31 UTC) #5
Munjal (Google)
Uploaded a new patch set with a small cosmetic change: Renmaed GaiaAuthMockLocal/GaiaAuthMock in auth_watcher_unittest.cc and ...
11 years, 2 months ago (2009-10-14 23:32:12 UTC) #6
Fred
http://codereview.chromium.org/273058/diff/5/1005 File chrome/browser/sync/engine/syncer_unittest.cc (left): http://codereview.chromium.org/273058/diff/5/1005#oldcode87 Line 87: namespace { These can remain in the anonymous ...
11 years, 2 months ago (2009-10-14 23:37:51 UTC) #7
Munjal (Google)
http://codereview.chromium.org/273058/diff/5/1005 File chrome/browser/sync/engine/syncer_unittest.cc (left): http://codereview.chromium.org/273058/diff/5/1005#oldcode87 Line 87: namespace { On 2009/10/14 23:37:51, Fred wrote: > ...
11 years, 2 months ago (2009-10-14 23:53:35 UTC) #8
Fred
LGTM, after you fix the comment. http://codereview.chromium.org/273058/diff/4008/4010 File chrome/browser/sync/engine/syncer_unittest.cc (left): http://codereview.chromium.org/273058/diff/4008/4010#oldcode4347 Line 4347: namespace { ...
11 years, 2 months ago (2009-10-15 00:21:03 UTC) #9
Munjal (Google)
http://codereview.chromium.org/273058/diff/4008/4010 File chrome/browser/sync/engine/syncer_unittest.cc (left): http://codereview.chromium.org/273058/diff/4008/4010#oldcode4347 Line 4347: namespace { On 2009/10/15 00:21:05, Fred wrote: > ...
11 years, 2 months ago (2009-10-15 00:32:50 UTC) #10
Fred
Okay, sounds fair. LGTM. On Wed, Oct 14, 2009 at 2:32 PM, <munjal@chromium.org> wrote: > ...
11 years, 2 months ago (2009-10-15 00:37:29 UTC) #11
ncarter (slow)
11 years, 2 months ago (2009-10-15 00:38:40 UTC) #12
LGTM

Powered by Google App Engine
This is Rietveld 408576698