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

Issue 274068: Make all NSPR symbols "private extern" (Closed)

Created:
11 years, 2 months ago by Mark Mentovai
Modified:
9 years, 7 months ago
Reviewers:
wtc
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org
Visibility:
Public.

Description

Make all NSPR symbols "private extern". BUG=24911 TEST=mac$ nm C.app/Contents/Versions/*/C F.framework/C F | grep " [A-TV-Z] " should not show any NSPR symbols. The following NSPR symbols were formerly exported: __Z14PR_ImplodeTimePK14PRExplodedTime __Z16PR_GMTParametersPK14PRExplodedTime __Z16PR_NormalizeTimeP14PRExplodedTimePF16PRTimeParametersPKS_E __Z18PR_ParseTimeStringPKciPx These symbols should no longer be exported on any platform. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=29182

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -1 line) Patch
M base/third_party/nspr/prtypes.h View 1 1 chunk +25 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
Mark Mentovai
11 years, 2 months ago (2009-10-15 20:27:41 UTC) #1
Mark Mentovai
I meant to send this out for review earlier but the tree exploded.
11 years, 2 months ago (2009-10-15 20:27:55 UTC) #2
wtc
LGTM. Thanks a lot! http://codereview.chromium.org/274068/diff/1/2 File base/third_party/nspr/prtypes.h (right): http://codereview.chromium.org/274068/diff/1/2#newcode101 Line 101: #define PR_EXPORT(__type) extern __type ...
11 years, 2 months ago (2009-10-15 20:48:31 UTC) #3
wtc
http://codereview.chromium.org/274068/diff/1/2 File base/third_party/nspr/prtypes.h (right): http://codereview.chromium.org/274068/diff/1/2#newcode94 Line 94: ** Chrome-local change: the portions of NSPR used ...
11 years, 2 months ago (2009-10-15 20:49:15 UTC) #4
Mark Mentovai
http://dev.chromium.org/developers/coding-style says: "Chromium" is the name of the project, not the product, and should never ...
11 years, 2 months ago (2009-10-15 20:52:12 UTC) #5
wtc
On 2009/10/15 20:52:12, Mark Mentovai wrote: > http://dev.chromium.org/developers/coding-style says: > > "Chromium" is the name ...
11 years, 2 months ago (2009-10-16 18:34:57 UTC) #6
wtc
11 years, 2 months ago (2009-10-16 18:38:31 UTC) #7
I found out why...

I or someone else must have removed __declspec(dllexport)
from the definition of PR_IMPLEMENT for WIN32 before.

Powered by Google App Engine
This is Rietveld 408576698