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

Issue 10918021: Remove old flags from about:flags and add new ones instead. (Closed)

Created:
8 years, 3 months ago by halyavin
Modified:
8 years, 3 months ago
Reviewers:
Mark Seaborn, sky
CC:
chromium-reviews, native-client-reviews_googlegroups.com, pam+watch_chromium.org
Visibility:
Public.

Description

Remove old flags from about:flags and add new ones instead. We are moving from nacl64-gdb to debugger via debug stub. In order to reduce user confusion, we need to leave only new flag. BUG= none TEST= bots, launch chrome and open about:flags page. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=157006

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -21 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +4 lines, -10 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 1 chunk +4 lines, -11 lines 0 comments Download
M chrome/browser/nacl_host/nacl_process_host.cc View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/tools/chromeactions.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
halyavin
8 years, 3 months ago (2012-08-31 14:54:40 UTC) #1
sky
LGTM
8 years, 3 months ago (2012-08-31 15:59:58 UTC) #2
Mark Seaborn
Hmm, I'm not sure we're ready to put '--enable-nacl-debug' in about:flags (and this overrides the ...
8 years, 3 months ago (2012-08-31 20:10:18 UTC) #3
halyavin
This is needed for ChromeOS debugging. You can't pass command line flags there but you ...
8 years, 3 months ago (2012-08-31 20:32:46 UTC) #4
halyavin
https://chromiumcodereview.appspot.com/10918021/diff/1/chrome/tools/chromeactions.txt File chrome/tools/chromeactions.txt (right): https://chromiumcodereview.appspot.com/10918021/diff/1/chrome/tools/chromeactions.txt#newcode13 chrome/tools/chromeactions.txt:13: 0x088990bbea59a185 AboutFlags_disable-website-settings On 2012/08/31 20:10:18, Mark Seaborn wrote: > ...
8 years, 3 months ago (2012-08-31 20:37:15 UTC) #5
Mark Seaborn
On 31 August 2012 13:32, <[email protected]> wrote: > This is needed for ChromeOS debugging. You ...
8 years, 3 months ago (2012-08-31 20:59:46 UTC) #6
Mark Seaborn
On 31 August 2012 13:32, <[email protected]> wrote: > This is needed for ChromeOS debugging. You ...
8 years, 3 months ago (2012-08-31 20:59:47 UTC) #7
halyavin
http://codereview.chromium.org/10918021/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/10918021/diff/1/chrome/app/generated_resources.grd#newcode5309 chrome/app/generated_resources.grd:5309: + <message name="IDS_FLAGS_ENABLE_NACL_DEBUG_NAME" desc="Name of the 'NaCl debug stub' ...
8 years, 3 months ago (2012-09-03 12:04:39 UTC) #8
halyavin
8 years, 3 months ago (2012-09-04 12:10:30 UTC) #9
http://codereview.chromium.org/10918021/diff/1/chrome/app/generated_resources...
File chrome/app/generated_resources.grd (right):

http://codereview.chromium.org/10918021/diff/1/chrome/app/generated_resources...
chrome/app/generated_resources.grd:5313: +        Enable debug stub that stops
Native Client applications at startup and waits for nacl-gdb debugger from NaCl
SDK.
On 2012/08/31 20:10:18, Mark Seaborn wrote:
> Also, currently '--enable-nacl-debug' also requires '--no-sandbox', so
enabling 
> it via about:flags alone is not very useful.  While we could make
> nacl_process_host.cc add kNoSandbox automatically, that is a little scary. 
> Maybe we can put effort into making the debug stub work without --no-sandbox
> rather than adding --no-sandbox implicitly?

I investigated the issue and talked with people from ChromeOS team. They
explained that adding --no-sandbox is not possible without switching to dev mode
and changing OS image (and sandbox can't be disabled for NaCl without disabling
it for all processes). If, on the other hand, we could make debug stub work
without --no-sandbox, one can debug NaCl applications in ChromeOS even without
switching to dev mode.

Powered by Google App Engine
This is Rietveld 408576698