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

Issue 8341052: share all the needed linux code with OpenBSD in chrome and content (Closed)

Created:
9 years, 1 month ago by Robert Nagy
Modified:
9 years, 1 month ago
CC:
chromium-reviews, hclam+watch_chromium.org, cbentzel+watch_chromium.org, creis+watch_chromium.org, acolwell+watch_chromium.org, fischman+watch_chromium.org, jam, brettw-cc_chromium.org, kkania, Avi (use Gerrit), apatrick_chromium, dpranke-watch+content_chromium.org, joi+watch-content_chromium.org, annacc+watch_chromium.org, robertshield, vrk (LEFT CHROMIUM), Paweł Hajdan Jr., ajwong+watch_chromium.org, darin-cc_chromium.org, scherkus (not reviewing), ddorwin+watch_chromium.org, ihf+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

share all the needed linux code with OpenBSD in chrome and content disabled code for OpenBSD: - AdjustRendererOOMScore() - SECCOMP_SANDBOX BUG= TEST=compile Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109679

Patch Set 1 #

Total comments: 14

Patch Set 2 : remove MULTI_PROCESS_LOCK_NAME_MAX_LEN #

Patch Set 3 : remove unused header #

Total comments: 4

Patch Set 4 : fixes for previous and use BOOTSTRAP_MAX_NAME_LEN on Mac #

Patch Set 5 : rebase #

Patch Set 6 : rebase again #

Patch Set 7 : rebased due to LOG macro changes #

Total comments: 1

Patch Set 8 : re-enable policy support #

Patch Set 9 : fix unit tests for LongName and include the missing header on Mac #

Patch Set 10 : wrap long lines #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -73 lines) Patch
M chrome/browser/browser_about_handler.cc View 1 2 3 4 6 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 5 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/net/connection_tester.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/process_singleton.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/child_process_logging.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/chrome_paths.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/multi_process_lock.h View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/common/multi_process_lock_linux.cc View 1 2 3 4 5 6 1 chunk +10 lines, -13 lines 0 comments Download
M chrome/common/multi_process_lock_mac.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/common/multi_process_lock_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +19 lines, -5 lines 0 comments Download
M chrome/common/multi_process_lock_win.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/url_constants.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/url_constants.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/chrome_ppb_pdf_impl.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/renderer/nacl_desc_wrapper_chrome.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/automation/proxy_launcher.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/ui/ui_layout_test.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M content/app/content_main.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/browser/browser_main_loop.cc View 1 2 3 4 5 6 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/gpu/gpu_blacklist.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/gpu/gpu_blacklist_unittest.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/plugin_service.h View 1 2 3 4 5 6 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/plugin_service.cc View 1 2 3 4 5 6 4 chunks +4 lines, -4 lines 0 comments Download
M content/browser/tab_contents/tab_contents.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/browser/zygote_host_linux.cc View 1 3 chunks +4 lines, -0 lines 0 comments Download
M content/browser/zygote_main_linux.cc View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/common/seccomp_sandbox.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/common/set_process_title.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/media/webrtc_audio_device_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/pepper_plugin_delegate_impl.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_process_impl.cc View 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 38 (0 generated)
Robert Nagy
Please review the following the diff.
9 years, 1 month ago (2011-10-26 11:15:18 UTC) #1
Robert Nagy
Adding Mark in case he wants to have a look.
9 years, 1 month ago (2011-10-26 19:29:24 UTC) #2
jam
content lgtm
9 years, 1 month ago (2011-10-26 21:53:52 UTC) #3
Mark Mentovai
http://codereview.chromium.org/8341052/diff/1/chrome/common/multi_process_lock.h File chrome/common/multi_process_lock.h (right): http://codereview.chromium.org/8341052/diff/1/chrome/common/multi_process_lock.h#newcode20 chrome/common/multi_process_lock.h:20: // The length of a multi-process lock name is ...
9 years, 1 month ago (2011-10-26 23:24:28 UTC) #4
stevenjb
http://codereview.chromium.org/8341052/diff/1/content/browser/zygote_host_linux.cc File content/browser/zygote_host_linux.cc (right): http://codereview.chromium.org/8341052/diff/1/content/browser/zygote_host_linux.cc#newcode309 content/browser/zygote_host_linux.cc:309: #if defined(OS_LINUX) On 2011/10/26 23:24:28, Mark Mentovai wrote: > ...
9 years, 1 month ago (2011-10-27 16:01:54 UTC) #5
Robert Nagy
On 2011/10/27 16:01:54, Steven Bennetts wrote: > http://codereview.chromium.org/8341052/diff/1/content/browser/zygote_host_linux.cc > File content/browser/zygote_host_linux.cc (right): > > http://codereview.chromium.org/8341052/diff/1/content/browser/zygote_host_linux.cc#newcode309 ...
9 years, 1 month ago (2011-10-27 16:14:37 UTC) #6
Robert Nagy
On 2011/10/27 16:14:37, Robert Nagy wrote: > On 2011/10/27 16:01:54, Steven Bennetts wrote: > > ...
9 years, 1 month ago (2011-10-27 16:17:41 UTC) #7
cpu_(ooo_6.6-7.5)
Robert, is there anything in particular I should be looking at? I defer any posix ...
9 years, 1 month ago (2011-10-28 03:02:47 UTC) #8
Robert Nagy
http://codereview.chromium.org/8341052/diff/1/chrome/common/multi_process_lock.h File chrome/common/multi_process_lock.h (right): http://codereview.chromium.org/8341052/diff/1/chrome/common/multi_process_lock.h#newcode20 chrome/common/multi_process_lock.h:20: // The length of a multi-process lock name is ...
9 years, 1 month ago (2011-10-31 15:38:38 UTC) #9
Mark Mentovai
http://codereview.chromium.org/8341052/diff/1/chrome/common/multi_process_lock.h File chrome/common/multi_process_lock.h (right): http://codereview.chromium.org/8341052/diff/1/chrome/common/multi_process_lock.h#newcode20 chrome/common/multi_process_lock.h:20: // The length of a multi-process lock name is ...
9 years, 1 month ago (2011-10-31 15:47:40 UTC) #10
cpu_(ooo_6.6-7.5)
http://codereview.chromium.org/8341052/diff/10002/chrome/common/multi_process_lock_win.cc File chrome/common/multi_process_lock_win.cc (right): http://codereview.chromium.org/8341052/diff/10002/chrome/common/multi_process_lock_win.cc#newcode32 chrome/common/multi_process_lock_win.cc:32: I hope this change does not mean that we ...
9 years, 1 month ago (2011-10-31 19:26:08 UTC) #11
Robert Nagy
http://codereview.chromium.org/8341052/diff/10002/chrome/common/multi_process_lock_win.cc File chrome/common/multi_process_lock_win.cc (right): http://codereview.chromium.org/8341052/diff/10002/chrome/common/multi_process_lock_win.cc#newcode27 chrome/common/multi_process_lock_win.cc:27: if (name_.length() > MAX_PATH) { On 2011/10/31 15:47:40, Mark ...
9 years, 1 month ago (2011-11-07 19:23:13 UTC) #12
Mark Mentovai
LGTM
9 years, 1 month ago (2011-11-07 20:00:05 UTC) #13
cpu_(ooo_6.6-7.5)
lgtm
9 years, 1 month ago (2011-11-08 02:16:09 UTC) #14
Robert Nagy
On 2011/11/08 02:16:09, cpu wrote: > lgtm Do we need other lgtms for this? These ...
9 years, 1 month ago (2011-11-09 20:03:26 UTC) #15
Mark Mentovai
You’re probably fine on LGTMs now. I’ll feed it to the CQ.
9 years, 1 month ago (2011-11-09 20:32:18 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robert.nagy@gmail.com/8341052/18033
9 years, 1 month ago (2011-11-09 20:32:38 UTC) #17
commit-bot: I haz the power
Can't apply patch for file chrome/common/multi_process_lock_linux.cc. While running patch -p1 --forward --force; patching file chrome/common/multi_process_lock_linux.cc ...
9 years, 1 month ago (2011-11-09 20:32:46 UTC) #18
Robert Nagy
On 2011/11/09 20:32:46, I haz the power (commit-bot) wrote: > Can't apply patch for file ...
9 years, 1 month ago (2011-11-09 20:45:27 UTC) #19
Mark Mentovai
LGTM
9 years, 1 month ago (2011-11-09 20:49:14 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robert.nagy@gmail.com/8341052/26001
9 years, 1 month ago (2011-11-09 20:49:34 UTC) #21
commit-bot: I haz the power
Presubmit check for 8341052-26001 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 1 month ago (2011-11-09 20:49:52 UTC) #22
Robert Nagy
willchan, Mattias, please review the remaining two files. Thank you
9 years, 1 month ago (2011-11-09 20:58:19 UTC) #23
willchan no longer on Chromium
lgtm
9 years, 1 month ago (2011-11-09 21:22:09 UTC) #24
Mattias Nissler (ping if slow)
http://codereview.chromium.org/8341052/diff/26001/chrome/browser/policy/browser_policy_connector.cc File chrome/browser/policy/browser_policy_connector.cc (right): http://codereview.chromium.org/8341052/diff/26001/chrome/browser/policy/browser_policy_connector.cc#newcode447 chrome/browser/policy/browser_policy_connector.cc:447: #elif defined(OS_POSIX) && !defined(OS_OPENBSD) So no policy support for ...
9 years, 1 month ago (2011-11-10 00:17:53 UTC) #25
Robert Nagy
On 2011/11/10 00:17:53, Mattias Nissler wrote: > http://codereview.chromium.org/8341052/diff/26001/chrome/browser/policy/browser_policy_connector.cc > File chrome/browser/policy/browser_policy_connector.cc (right): > > http://codereview.chromium.org/8341052/diff/26001/chrome/browser/policy/browser_policy_connector.cc#newcode447 ...
9 years, 1 month ago (2011-11-10 09:35:22 UTC) #26
Mattias Nissler (ping if slow)
On 2011/11/10 09:35:22, Robert Nagy wrote: > On 2011/11/10 00:17:53, Mattias Nissler wrote: > > ...
9 years, 1 month ago (2011-11-10 09:38:37 UTC) #27
Robert Nagy
On 2011/11/10 09:38:37, Mattias Nissler wrote: > On 2011/11/10 09:35:22, Robert Nagy wrote: > > ...
9 years, 1 month ago (2011-11-10 09:39:27 UTC) #28
Mattias Nissler (ping if slow)
On Thu, Nov 10, 2011 at 10:39 AM, <robert.nagy@gmail.com> wrote: > On 2011/11/10 09:38:37, Mattias ...
9 years, 1 month ago (2011-11-10 09:43:31 UTC) #29
Robert Nagy
On 2011/11/10 09:43:31, Mattias Nissler wrote: > On Thu, Nov 10, 2011 at 10:39 AM, ...
9 years, 1 month ago (2011-11-10 09:47:37 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robert.nagy@gmail.com/8341052/24003
9 years, 1 month ago (2011-11-10 14:37:55 UTC) #31
commit-bot: I haz the power
Try job failure for 8341052-24003 (retry) on mac_rel for step "compile" (clobber build). It's a ...
9 years, 1 month ago (2011-11-10 15:36:26 UTC) #32
Robert Nagy
On 2011/11/10 15:36:26, I haz the power (commit-bot) wrote: > Try job failure for 8341052-24003 ...
9 years, 1 month ago (2011-11-10 16:59:15 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robert.nagy@gmail.com/8341052/36001
9 years, 1 month ago (2011-11-11 17:43:42 UTC) #34
commit-bot: I haz the power
Presubmit check for 8341052-36001 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 1 month ago (2011-11-11 17:44:01 UTC) #35
Mark Mentovai
LGTM and CQ
9 years, 1 month ago (2011-11-11 17:49:16 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robert.nagy@gmail.com/8341052/42003
9 years, 1 month ago (2011-11-11 17:50:39 UTC) #37
commit-bot: I haz the power
9 years, 1 month ago (2011-11-11 19:56:38 UTC) #38
Change committed as 109679

Powered by Google App Engine
This is Rietveld 408576698