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

Issue 10387218: Make GlobalDescriptors::MaybeGet return -1 when the key is not found. (Closed)

Created:
8 years, 7 months ago by Jay Civelli
Modified:
8 years, 5 months ago
CC:
chromium-reviews, erikwright (departed), brettw-cc_chromium.org
Visibility:
Public.

Description

Make GlobalDescriptors::MaybeGet return -1 when the key is not found. BUG=None TEST=Unit tests should still pass. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=144350

Patch Set 1 #

Patch Set 2 : Attempt at fixing IPC tests. #

Patch Set 3 : Updated missing Mac test. #

Patch Set 4 : Synced #

Patch Set 5 : Modifying the MULTIPROCESS_TEST_MAIN macro so it can be passed a setup method. #

Total comments: 8

Patch Set 6 : Applied Jeremy's suggestions + sync. #

Total comments: 12

Patch Set 7 : Addressed Jeremy's comments #

Patch Set 8 : Minor clean-up. #

Total comments: 4

Patch Set 9 : Synced #

Patch Set 10 : Fixing NaCl tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -27 lines) Patch
M base/global_descriptors_posix.cc View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/importer/firefox_importer_unittest_utils_mac.cc View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc View 1 2 3 4 5 6 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/nacl/nacl_helper_linux.cc View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -2 lines 0 comments Download
M ipc/ipc.gyp View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M ipc/ipc_fuzzing_tests.cc View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
A ipc/ipc_multiprocess_test.h View 1 2 3 4 5 6 7 8 1 chunk +23 lines, -0 lines 0 comments Download
A ipc/ipc_multiprocess_test.cc View 1 2 3 4 5 6 1 chunk +19 lines, -0 lines 0 comments Download
M ipc/ipc_send_fds_test.cc View 1 2 3 4 5 6 3 chunks +3 lines, -2 lines 0 comments Download
M ipc/ipc_tests.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -2 lines 0 comments Download
M ipc/sync_socket_unittest.cc View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M testing/multiprocess_func_list.h View 1 2 3 4 5 6 7 8 2 chunks +16 lines, -3 lines 0 comments Download
M testing/multiprocess_func_list.cc View 1 2 3 4 5 6 7 1 chunk +24 lines, -10 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
jcivelli
8 years, 7 months ago (2012-05-21 18:17:47 UTC) #1
agl
LGTM if the tests pass.
8 years, 7 months ago (2012-05-21 18:18:34 UTC) #2
Jay Civelli
Sorry I had not realized it would be the ipc_tests that would fail, not the ...
8 years, 7 months ago (2012-05-24 05:15:40 UTC) #3
agl
Ok, I was surprised that the tests just passed :) This updated patch LGTM.
8 years, 7 months ago (2012-05-24 16:30:31 UTC) #4
jeremy
http://codereview.chromium.org/10387218/diff/19001/ipc/ipc_channel_posix_unittest.cc File ipc/ipc_channel_posix_unittest.cc (right): http://codereview.chromium.org/10387218/diff/19001/ipc/ipc_channel_posix_unittest.cc#newcode409 ipc/ipc_channel_posix_unittest.cc:409: MULTIPROCESS_TEST_MAIN(IPCChannelPosixFailConnectionProc, Can you define a version of this Macro ...
8 years, 6 months ago (2012-06-13 19:25:55 UTC) #5
Jay Civelli
http://codereview.chromium.org/10387218/diff/19001/ipc/ipc_channel_posix_unittest.cc File ipc/ipc_channel_posix_unittest.cc (right): http://codereview.chromium.org/10387218/diff/19001/ipc/ipc_channel_posix_unittest.cc#newcode409 ipc/ipc_channel_posix_unittest.cc:409: MULTIPROCESS_TEST_MAIN(IPCChannelPosixFailConnectionProc, On 2012/06/13 19:25:55, jeremy wrote: > Can you ...
8 years, 6 months ago (2012-06-13 20:40:49 UTC) #6
jeremy
http://codereview.chromium.org/10387218/diff/20019/ipc/ipc_tests.h File ipc/ipc_tests.h (right): http://codereview.chromium.org/10387218/diff/20019/ipc/ipc_tests.h#newcode12 ipc/ipc_tests.h:12: #define MULTIPROCESS_IPC_TEST_MAIN(test_main) \ Can you add a comment that ...
8 years, 6 months ago (2012-06-13 20:46:28 UTC) #7
Jay Civelli
Jeremy, Sorry for the delay, I got sidetracked last week. I had to factor out ...
8 years, 6 months ago (2012-06-22 23:28:29 UTC) #8
jeremy
LGTM with nits. https://chromiumcodereview.appspot.com/10387218/diff/30013/ipc/ipc_multiprocess_test.h File ipc/ipc_multiprocess_test.h (right): https://chromiumcodereview.appspot.com/10387218/diff/30013/ipc/ipc_multiprocess_test.h#newcode19 ipc/ipc_multiprocess_test.h:19: // is needed on Posix as ...
8 years, 6 months ago (2012-06-24 13:49:37 UTC) #9
Jay Civelli
Hi Miranda, Could you take a look at: chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc I need an owner's approval. Thanks! ...
8 years, 6 months ago (2012-06-25 17:49:55 UTC) #10
Miranda Callahan
Hi Jay, I hope you mean "importer/*", because I haven't a clue about cloud_print. :-) ...
8 years, 6 months ago (2012-06-25 18:57:08 UTC) #11
Jay Civelli
Brad, Could you look at the chrome/nacl/nacl_helper_linux.cc change? Thanks. Jay
8 years, 5 months ago (2012-06-26 22:33:55 UTC) #12
Brad Chen
LGTM for nacl_helper_linux.cc I'm not confident I know the descriptor handling code well enough to ...
8 years, 5 months ago (2012-06-26 22:45:13 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jcivelli@chromium.org/10387218/40001
8 years, 5 months ago (2012-06-26 22:48:10 UTC) #14
commit-bot: I haz the power
Presubmit check for 10387218-40001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 5 months ago (2012-06-26 22:48:18 UTC) #15
Jay Civelli
Brett, I need an owner approval for base/. Could you take a look? (I already ...
8 years, 5 months ago (2012-06-26 22:53:11 UTC) #16
Scott Byer
CloudPrint LGTM. On 2012/06/26 22:53:11, Jay Civelli wrote: > Brett, > I need an owner ...
8 years, 5 months ago (2012-06-26 22:56:08 UTC) #17
brettw
base lgtm rubberstamp
8 years, 5 months ago (2012-06-26 23:47:51 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jcivelli@chromium.org/10387218/40001
8 years, 5 months ago (2012-06-26 23:48:14 UTC) #19
commit-bot: I haz the power
8 years, 5 months ago (2012-06-27 01:12:26 UTC) #20
Change committed as 144350

Powered by Google App Engine
This is Rietveld 408576698