summaryrefslogtreecommitdiffstats
path: root/base/base_switches.h
Commit message (Collapse)AuthorAgeFilesLines
* Expose a low-end device mode override flags for non-android OSs as wellc.shu@samsung.com2014-06-261-5/+1
| | | | | | | | BUG=324824 Review URL: https://codereview.chromium.org/258663002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280024 0039d316-1c4b-4281-b951-d872f2087c98
* Remove --debug-on-start and --debug-children.pkasting@chromium.org2014-04-171-1/+0
| | | | | | | | | | | | | | | | | debug_on_start_win.cc also had some code to support --wait-for-debugger, but I don't think it's important to preserve it. This would only have any effect in modules which included debug_on_start.h, which was basically just test code; and it also wouldn't have any effect when the component build is enabled, which I suspect is true for most developers trying to run tests. I didn't remove any of the other pieces of --wait-for-debugger elsewhere. BUG=359822 TEST=none R=darin@chromium.org Review URL: https://codereview.chromium.org/227723008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264671 0039d316-1c4b-4281-b951-d872f2087c98
* Let DCHECK in non-official-release build be opt-in with dcheck_always_on=1 onlywangxianzhu@chromium.org2014-03-101-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | - Remove DCHECK in non-official-release build by default - Gyp variable dcheck_always_on=1 (existing) forces to enable DCHECK in release build - Remove flag --enable-dcheck Other effects/notes: - Now allow "buildtype=Official dcheck_always_on=1" (which will enable DCHECK in official build) combination. - Gyp variable logging_like_official_build no longer has an effect - Leave DCHECK_IS_ON() unchanged. May deal with it in a later change if needed. This won't affect bots which use dcheck_always_on=1. BUG=350462 TEST=LoggingTest.Dcheck R=thakis@chromium.org TBR=darin,sehr (command line changes in components/nacl and mojo) Review URL: https://codereview.chromium.org/189603007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255987 0039d316-1c4b-4281-b951-d872f2087c98
* Disable timing from chrome://profiler on Android.qsr@chromium.org2013-12-111-1/+3
| | | | | | | | | | | | | | | | | On Android, on a arm CPU, TimeTicks::Now() is taking 900ns (20 times what it takes on a desktop x86 CPU). The bigger user of TimeTicks::Now() is tracked_objects::TrackedTime, and this impacts the overall performance of Chrome on this platform. This CL adds compile line flags that allows to disable tracked_objects::TrackedTime. It also disable tracked_objects::TrackedTime by default on Android. BUG=315070 Review URL: https://codereview.chromium.org/99343002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240092 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Add a low-end device mode override flagjdduke@chromium.org2013-11-271-0/+5
| | | | | | | | | | | | | The current low-end device optimizations are restricted to devices that meet certain memory and OS version criteria. Add a flag that overrides this detection, simplifying testing and allowing power users to take advantage of the optimizations. BUG=320747 Review URL: https://codereview.chromium.org/62833002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237584 0039d316-1c4b-4281-b951-d872f2087c98
* Move init of breakpad in the browser process as early as possiblejochen@chromium.org2013-11-071-0/+4
| | | | | | | | | | | | | | | | | | | On Linux and Android, we delayed initialization until the browser process was already up. That way, certain crash keys did not get registered correctly. Instead, use a similar logic than on mac and windows to determine whether we can run breakpad. In particular, this relies on the fact that the GetCollectStatsConsent() setting reflects the policy enforced value. R=mark@chromium.org, pastarmovj@chromium.org, rsesek@chromium.org BUG=311877 Review URL: https://codereview.chromium.org/61923002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233553 0039d316-1c4b-4281-b951-d872f2087c98
* Define the --enable-crash-reporting flag on all platforms.jochen@chromium.org2013-10-221-4/+1
| | | | | | | | | BUG=none R=thakis@chromium.org Review URL: https://codereview.chromium.org/28423003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230209 0039d316-1c4b-4281-b951-d872f2087c98
* Remove dependency from breakpad files on chrome switches.jochen@chromium.org2013-07-181-0/+6
| | | | | | | | | BUG=247431 R=mark@chromium.org Review URL: https://codereview.chromium.org/19556005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212276 0039d316-1c4b-4281-b951-d872f2087c98
* Allow tracing to console everywhere.vollick@chromium.org2013-07-111-0/+1
| | | | | | | | | | | | This patch gets rid of the cc-only trace-to-vlog stuff and replaces it with a general trace-to-console approach that can be used everywhere, even the browser. BUG=None Review URL: https://chromiumcodereview.appspot.com/18174006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211245 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the rest of #pragma once in one big CL.ajwong@chromium.org2012-07-111-1/+0
| | | | | | | | | For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98
* ui/base: Move message_box_win.{h,cc} to ui/base/win.tfarina@chromium.org2012-03-121-2/+1
| | | | | | | | | R=sky@chromium.org TBR=brettw@chromium.org Review URL: https://chromiumcodereview.appspot.com/9669028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126144 0039d316-1c4b-4281-b951-d872f2087c98
* Move kLocalePak into ui/base/ from base/. Fixes component build of ↵sadrul@chromium.org2011-07-061-1/+0
| | | | | | | | | | | views_desktop. BUG=none TEST=none Review URL: http://codereview.chromium.org/7312010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91621 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 86899 - Base: cleanup for base.dll. Move base_switches back to thervargas@google.com2011-05-261-13/+11
| | | | | | | | | | | | | main project. BUG=76996 TEST=none Review URL: http://codereview.chromium.org/7053033 TBR=rvargas@google.com Review URL: http://codereview.chromium.org/7076026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86901 0039d316-1c4b-4281-b951-d872f2087c98
* Base: cleanup for base.dll. Move base_switches back to thervargas@google.com2011-05-261-11/+13
| | | | | | | | | | main project. BUG=76996 TEST=none Review URL: http://codereview.chromium.org/7053033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86899 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 86486 - Base: cleanup for base.dll. Move base_switches back to thevandebo@chromium.org2011-05-241-13/+11
| | | | | | | | | | | | | main project. BUG=76996 TEST=none Review URL: http://codereview.chromium.org/7055016 TBR=rvargas@google.com Review URL: http://codereview.chromium.org/7064042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86508 0039d316-1c4b-4281-b951-d872f2087c98
* Base: cleanup for base.dll. Move base_switches back to thervargas@google.com2011-05-241-11/+13
| | | | | | | | | | main project. BUG=76996 TEST=none Review URL: http://codereview.chromium.org/7055016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86486 0039d316-1c4b-4281-b951-d872f2087c98
* Adding support for loading custom locale resources using a command line flag.ofri@google.com2011-05-241-1/+2
| | | | | | | | | | | | | | Loading pseudo-locale will now be done by passing --lang=myLocale --locale_res_path=path/to/pseudo-locale.pak This patch doesn't work on Windows. BUG=73052 TEST=NONE Review URL: http://codereview.chromium.org/7033022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86426 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented VLOG() et al.akalin@chromium.org2010-09-291-0/+2
| | | | | | | | | | | | | | Implemented VLOG(), VLOG_IF(), VLOG_IS_ON(). Added --v and --vmodule switches. Changed some spammy sync-related logs to use VLOG. BUG=56965 TEST=New unittests Review URL: http://codereview.chromium.org/3448028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60976 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land part of r55416, minus actually moving the test_suite.h contents to a ↵brettw@chromium.org2010-08-171-4/+4
| | | | | | | | | | | | | | | | | | | | | | | .cc file. Cleanup in base. This moves the implementation (and a bunch of header file dependencies) from the multiprocess test and the test_suite headers to .cc files. Moves multiprocess_test to the test directory, and all of this stuff to the existing base_test_support project. I also used the base namespace. Previously other projects included this functionality just by #include because it was all inline, so I had to add dependencies on base_test_support in a few places. Moves and renames the command line switch this was using to base_switches. Move the base switch for process type to chrome switches. TEST=none BUG=none Review URL: http://codereview.chromium.org/3026055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56399 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 55400 - Cleanup in base. This moves the implementation (and a bunch ↵nsylvain@chromium.org2010-08-091-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | of header file dependencies) from the multiprocess test and the test_suite headers to .cc files. Moves multiprocess_test to the test directory, and all of this stuff to the existing base_test_support project. I also used the base namespace. Previously other projects included this functionality just by #include because it was all inline, so I had to add dependencies on base_test_support in a few places. Moves and renames the command line switch this was using to base_switches. Move the base switch for process type to chrome switches. TEST=none BUG=none Review URL: http://codereview.chromium.org/3026055 TBR=brettw@chromium.org Review URL: http://codereview.chromium.org/3035062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55416 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup in base. This moves the implementation (and a bunch of header filebrettw@chromium.org2010-08-091-4/+4
| | | | | | | | | | | | | | | | | | | dependencies) from the multiprocess test and the test_suite headers to .cc files. Moves multiprocess_test to the test directory, and all of this stuff to the existing base_test_support project. I also used the base namespace. Previously other projects included this functionality just by #include because it was all inline, so I had to add dependencies on base_test_support in a few places. Moves and renames the command line switch this was using to base_switches. Move the base switch for process type to chrome switches. TEST=none BUG=none Review URL: http://codereview.chromium.org/3026055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55400 0039d316-1c4b-4281-b951-d872f2087c98
* `#pragma once` for app, base, chrome, gfx, ipc, net, skia, viewsthakis@chromium.org2010-07-261-0/+1
| | | | | | | | | BUG=50273 TEST=everything still builds, build is 10% faster on windows, same speed on mac/linux TBR: erg git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53716 0039d316-1c4b-4281-b951-d872f2087c98
* Use ASCII strings for switch names.evan@chromium.org2009-10-131-8/+8
| | | | | | Review URL: http://codereview.chromium.org/270062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28779 0039d316-1c4b-4281-b951-d872f2087c98
* Strict transport security: come out from behind the flag.agl@chromium.org2009-09-101-1/+0
| | | | | | | | | | With this change, Strict Transport Security is active by default and doesn't need the --force-https flag any more. http://codereview.chromium.org/193067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25888 0039d316-1c4b-4281-b951-d872f2087c98
* Add a command line argument to disable message boxes. This is useful toabarth@chromium.org2009-07-171-0/+1
| | | | | | | | | | | | | extension developers who want to package extensions as part of a build script and aren't there to click the message box. R=aa,jackson BUG=14732 TEST=Pack an extension with the --no-message-box flag and notice that there is no message box. Review URL: http://codereview.chromium.org/149795 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20937 0039d316-1c4b-4281-b951-d872f2087c98
* Enable isolated worlds for content scripts.abarth@chromium.org2009-07-161-1/+0
| | | | | | | | | | R=aa TEST=LayoutTests/http/tests/security/isolatedWorld/ (will be landing soon after this patch) BUG=12218 Review URL: http://codereview.chromium.org/155626 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20883 0039d316-1c4b-4281-b951-d872f2087c98
* Run content scripts in their own isolated world. Hidden behind the ↵abarth@chromium.org2009-06-251-0/+1
| | | | | | | | --isolated-world command line argument to let us iterate on this feature.R=aaBUG=12218TEST=None :( (I have a testing plan we can put in place once the upstream half of this CL lands.) Review URL: http://codereview.chromium.org/118188 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19225 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Move IPC code to ipc/"agl@chromium.org2009-04-031-1/+0
| | | | | | | This reverts commit r13062 which, unsurprisingly, broke the build. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13063 0039d316-1c4b-4281-b951-d872f2087c98
* Move IPC code to ipc/agl@chromium.org2009-04-031-0/+1
| | | | | | | (No review URL: Rietvelt couldn't cope) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13062 0039d316-1c4b-4281-b951-d872f2087c98
* Fix incorrect guards in base/.deanm@chromium.org2009-03-171-3/+3
| | | | | | | | | This doesn't change _H_ vs _H__, it just fixes guards that didn't properly match the filename. Adds a guard to clipboard_util.h which was previously guardless. Review URL: http://codereview.chromium.org/42278 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11856 0039d316-1c4b-4281-b951-d872f2087c98
* NO CODE CHANGEdeanm@chromium.org2009-03-101-1/+0
| | | | | | | | | Normalize end of file newlines in base/. All files end in a single newline. Review URL: http://codereview.chromium.org/42011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11329 0039d316-1c4b-4281-b951-d872f2087c98
* Command line switch for the ultra security concious: --force-https!abarth@chromium.org2008-12-151-0/+1
| | | | | | | | | | If you set this switch, the browser refuses to talk HTTP and refuses to permit certificate errors. For best results, use with a dedicated profile. R=jar Review URL: http://codereview.chromium.org/14421 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6979 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some header guards that are named incorrectly.darin@chromium.org2008-09-261-3/+3
| | | | | | | | R=tony Review URL: http://codereview.chromium.org/4306 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2639 0039d316-1c4b-4281-b951-d872f2087c98
* Use a more compact license header in source files.license.bot2008-08-241-28/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1287 0039d316-1c4b-4281-b951-d872f2087c98
* Add base to the repository.initial.commit2008-07-261-0/+47
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8 0039d316-1c4b-4281-b951-d872f2087c98