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

Issue 2042103002: Clean up some nits in base::NativeLibrary. (Closed)

Created:
4 years, 6 months ago by Lei Zhang
Modified:
4 years, 6 months ago
Reviewers:
Mark Mentovai, xhwang
CC:
chromium-reviews, xhwang
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clean up some nits in base::NativeLibrary. - Use StringPiece in more places. - Don't bother with base:: in namespace base. - Remove dead 32-bit Mac code. - Add test for GetNativeLibraryName(). Committed: https://crrev.com/e38fbd6442ba3bd87a14f1a663d42a75df664adf Cr-Commit-Position: refs/heads/master@{#399285}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : restore comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -43 lines) Patch
M base/native_library.h View 1 4 chunks +6 lines, -6 lines 0 comments Download
M base/native_library_ios.mm View 1 1 chunk +3 lines, -3 lines 0 comments Download
M base/native_library_mac.mm View 1 2 3 5 chunks +10 lines, -17 lines 0 comments Download
M base/native_library_posix.cc View 1 2 chunks +5 lines, -5 lines 0 comments Download
M base/native_library_unittest.cc View 1 2 2 chunks +18 lines, -6 lines 0 comments Download
M base/native_library_win.cc View 1 2 chunks +5 lines, -6 lines 0 comments Download

Messages

Total messages: 21 (8 generated)
Lei Zhang
Please review the entire CL and native_library_mac.mm in particular.
4 years, 6 months ago (2016-06-07 01:24:40 UTC) #3
Lei Zhang
https://codereview.chromium.org/2042103002/diff/40001/base/native_library_mac.mm File base/native_library_mac.mm (left): https://codereview.chromium.org/2042103002/diff/40001/base/native_library_mac.mm#oldcode26 base/native_library_mac.mm:26: // See if the the image contains an "ObjC ...
4 years, 6 months ago (2016-06-07 01:25:40 UTC) #4
Lei Zhang
+xhwang FYI https://codereview.chromium.org/2042103002/diff/40001/base/native_library_mac.mm File base/native_library_mac.mm (right): https://codereview.chromium.org/2042103002/diff/40001/base/native_library_mac.mm#newcode117 base/native_library_mac.mm:117: return name.as_string() + ASCIIToUTF16(".dylib"); BTW, I suspect ...
4 years, 6 months ago (2016-06-07 01:39:52 UTC) #5
xhwang
https://codereview.chromium.org/2042103002/diff/40001/base/native_library_mac.mm File base/native_library_mac.mm (right): https://codereview.chromium.org/2042103002/diff/40001/base/native_library_mac.mm#newcode117 base/native_library_mac.mm:117: return name.as_string() + ASCIIToUTF16(".dylib"); On 2016/06/07 01:39:52, Lei Zhang ...
4 years, 6 months ago (2016-06-07 16:39:27 UTC) #7
TVL
Is any of this time critical or can it wait for mark to get back? ...
4 years, 6 months ago (2016-06-07 18:02:57 UTC) #8
Lei Zhang
On 2016/06/07 18:02:57, TVL wrote: > Is any of this time critical or can it ...
4 years, 6 months ago (2016-06-08 00:05:58 UTC) #9
Lei Zhang
Resending now that mark is back.
4 years, 6 months ago (2016-06-10 19:12:57 UTC) #11
Mark Mentovai
LGTM https://codereview.chromium.org/2042103002/diff/40001/base/native_library_mac.mm File base/native_library_mac.mm (right): https://codereview.chromium.org/2042103002/diff/40001/base/native_library_mac.mm#newcode117 base/native_library_mac.mm:117: return name.as_string() + ASCIIToUTF16(".dylib"); Lei Zhang wrote: > ...
4 years, 6 months ago (2016-06-10 20:06:18 UTC) #12
Lei Zhang
On 2016/06/10 20:06:18, Mark Mentovai wrote: > LGTM > > https://codereview.chromium.org/2042103002/diff/40001/base/native_library_mac.mm > File base/native_library_mac.mm (right): ...
4 years, 6 months ago (2016-06-10 20:16:08 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2042103002/60001
4 years, 6 months ago (2016-06-10 20:16:51 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-10 21:54:55 UTC) #18
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-10 21:55:03 UTC) #19
commit-bot: I haz the power
4 years, 6 months ago (2016-06-10 21:57:22 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e38fbd6442ba3bd87a14f1a663d42a75df664adf
Cr-Commit-Position: refs/heads/master@{#399285}

Powered by Google App Engine
This is Rietveld 408576698