Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(296)

Issue 6864020: linux: don't always print dlopen errors from LoadNativeLibrary (Closed)

Created:
9 years, 8 months ago by Evan Martin
Modified:
9 years, 7 months ago
Reviewers:
agl, brettw, jam, awong
CC:
chromium-reviews
Visibility:
Public.

Description

linux: don't always print dlopen errors from LoadNativeLibrary Instead, return them to the caller and let the caller decide whether the error is worth notifying the user about. BUG=79068 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=82008

Patch Set 1 #

Total comments: 5

Patch Set 2 : owners #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -73 lines) Patch
M app/win/shell.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/memory/scoped_native_library.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/native_library.h View 1 chunk +5 lines, -2 lines 0 comments Download
M base/native_library_linux.cc View 1 3 chunks +5 lines, -12 lines 0 comments Download
M base/native_library_mac.mm View 1 2 chunks +3 lines, -2 lines 0 comments Download
M base/native_library_win.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/common/pepper_plugin_registry.cc View 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/nacl/nacl_main_platform_delegate_mac.mm View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/nacl/nacl_main_platform_delegate_win.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/plugin/plugin_thread.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/ppapi_plugin/ppapi_thread.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M crypto/nss_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_auth_gssapi_posix.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M ui/gfx/gl/gl_implementation_linux.cc View 4 chunks +20 lines, -22 lines 0 comments Download
M ui/gfx/gl/gl_implementation_mac.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/gfx/gl/gl_implementation_win.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M webkit/plugins/npapi/plugin_lib.cc View 1 3 chunks +10 lines, -7 lines 0 comments Download
M webkit/plugins/npapi/plugin_lib_posix.cc View 1 3 chunks +8 lines, -5 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Evan Martin
9 years, 8 months ago (2011-04-15 18:19:57 UTC) #1
awong
adding more yaks... http://codereview.chromium.org/6864020/diff/1/base/native_library_mac.mm File base/native_library_mac.mm (right): http://codereview.chromium.org/6864020/diff/1/base/native_library_mac.mm#newcode25 base/native_library_mac.mm:25: if (!dylib) Shouldn't this also grab ...
9 years, 8 months ago (2011-04-15 18:57:01 UTC) #2
Evan Martin
http://codereview.chromium.org/6864020/diff/1/base/native_library_mac.mm File base/native_library_mac.mm (right): http://codereview.chromium.org/6864020/diff/1/base/native_library_mac.mm#newcode25 base/native_library_mac.mm:25: if (!dylib) On 2011/04/15 18:57:01, awong wrote: > Shouldn't ...
9 years, 8 months ago (2011-04-15 19:00:04 UTC) #3
awong
LGTM since we're preserving behavior. http://codereview.chromium.org/6864020/diff/1/base/native_library_win.cc File base/native_library_win.cc (right): http://codereview.chromium.org/6864020/diff/1/base/native_library_win.cc#newcode44 base/native_library_win.cc:44: return LoadNativeLibraryHelper(library_path, LoadLibraryW); On ...
9 years, 8 months ago (2011-04-15 19:03:56 UTC) #4
Evan Martin
I need owners approval from *both* jam and agl
9 years, 8 months ago (2011-04-18 16:35:23 UTC) #5
agl
LGTM
9 years, 8 months ago (2011-04-18 16:46:34 UTC) #6
Evan Martin
timing out jam, trying brett for owners approval
9 years, 8 months ago (2011-04-18 19:05:27 UTC) #7
brettw
LGTM
9 years, 8 months ago (2011-04-18 19:52:00 UTC) #8
jam
9 years, 8 months ago (2011-04-18 21:27:23 UTC) #9
On 2011/04/18 19:52:00, brettw wrote:
> LGTM

sorry just saw this, feel free to IM me next time

Powered by Google App Engine
This is Rietveld 408576698