summaryrefslogtreecommitdiffstats
path: root/base
Commit message (Collapse)AuthorAgeFilesLines
* Remove linux coverage scripts.thakis@chromium.org2013-11-141-20/+0
| | | | | | | | | BUG=318423 TBR=owners Review URL: https://codereview.chromium.org/68193002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235208 0039d316-1c4b-4281-b951-d872f2087c98
* Add a switch to emit browser histograms.grt@chromium.org2013-11-143-3/+102
| | | | | | | | BUG=None Review URL: https://codereview.chromium.org/61983003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235191 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Fix cc_unittests ignoring gtest_filter with new test launcher.phajdan.jr@chromium.org2013-11-141-0/+2
| | | | | | | | | BUG=299200, 236893 R=danakj@chromium.org, jamesr@chromium.org Review URL: https://codereview.chromium.org/70943002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235184 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Unmap unpinned ashmem regions."pliard@chromium.org2013-11-141-26/+4
| | | | | | | | | | | | | This reverts r232081 since it was a temporary workaround that was needed until Telemetry supports unpinned ashmem purging before doing memory measurements (which was added by r235115). BUG=311633,317626 TBR=willchan Review URL: https://codereview.chromium.org/64743006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235143 0039d316-1c4b-4281-b951-d872f2087c98
* Android: Fix IsLowEndDevice typo.epenner@chromium.org2013-11-141-1/+1
| | | | | | | | | | We were previously comparing bytes to megabytes. BUG=309926 Review URL: https://codereview.chromium.org/69873002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235070 0039d316-1c4b-4281-b951-d872f2087c98
* ios: Enable -Wunused-functions.thakis@chromium.org2013-11-141-0/+4
| | | | | | | | | BUG=315884 TBR=net,sql owners Review URL: https://codereview.chromium.org/64273005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235014 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Make the test launcher's retry limit configurable.phajdan.jr@chromium.org2013-11-143-1/+18
| | | | | | | | | BUG=236893 R=sky@chromium.org Review URL: https://codereview.chromium.org/70973003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234998 0039d316-1c4b-4281-b951-d872f2087c98
* Update compatibility methods in ApiCompatibilityUtils.java.newt@chromium.org2013-11-141-12/+13
| | | | | | | | | | | | | This adds a method for RemoteViews.setContentDescription(), and removes buildNotification(): android.support.v4.app.NotificationCompat can be used instead. BUG=316522 R=yfriedman@chromium.org Review URL: https://codereview.chromium.org/58923006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234974 0039d316-1c4b-4281-b951-d872f2087c98
* Remove 1 static initializer with gcc.thakis@chromium.org2013-11-131-16/+22
| | | | | | | | | | | gcc apparently always creates static initializers for non-POD globals. BUG=94925 R=erg@chromium.org, willchan@chromium.org Review URL: https://codereview.chromium.org/62203015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234960 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Pass --test-launcher-bot-mode in .isolate filesphajdan.jr@chromium.org2013-11-131-0/+2
| | | | | | | | | | | | This change is a pre-requisite to flipping the developer defaults of the new test launcher. BUG=236893 R=maruel@chromium.org Review URL: https://codereview.chromium.org/65303010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234887 0039d316-1c4b-4281-b951-d872f2087c98
* Include <unistd.h> in base/process/internal_linux.h.earthdok@chromium.org2013-11-131-0/+2
| | | | | | | | | | | | When building with libc++, this causes a build error due to missing definition for pid_t. BUG=318770 R=thakis@chromium.org Review URL: https://codereview.chromium.org/69763003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234872 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 234738 "base: Disable the scoped handle verifier."rvargas@google.com2013-11-131-1/+1
| | | | | | | | | | | | | | | | | | > base: Disable the scoped handle verifier. > > Intended for M32 branch > > BUG=318496 > TEST=none > TBR=cpu@chromium.org > > Review URL: https://codereview.chromium.org/68113012 TBR=rvargas@google.com Review URL: https://codereview.chromium.org/62833007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234742 0039d316-1c4b-4281-b951-d872f2087c98
* base: Disable the scoped handle verifier.rvargas@google.com2013-11-131-1/+1
| | | | | | | | | | | | Intended for M32 branch BUG=318496 TEST=none TBR=cpu@chromium.org Review URL: https://codereview.chromium.org/68113012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234738 0039d316-1c4b-4281-b951-d872f2087c98
* base: Avoid purging more discardable memory than necessary.reveman@chromium.org2013-11-123-17/+22
| | | | | | | | | | | | | | | | | In situations when discardable memory usage is above the limit, instead of purging the amount of memory that we would try to reclaim under moderate memory pressure, purge only what is necessary to stay below the limit. This simplifies the code and makes it easier to understand how memory is purged as a result of reaching the memory limit. BUG=237681 TEST=base_unittests --gtest_filter=DiscardableMemoryProviderPermutationTests/DiscardableMemoryProviderPermutationTest.LRUDiscardedAmount/* Review URL: https://codereview.chromium.org/59083011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234652 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 234367 "Base: Make RegistryOverrideManager support sharde..."tommycli@chromium.org2013-11-124-234/+53
| | | | | | | | | | | | | | | > Base: Make RegistryOverrideManager support sharded/parallel tests. > > BUG=314800 > TBR=ajwong@chromium.org > > Review URL: https://codereview.chromium.org/57423008 TBR=tommycli@chromium.org Review URL: https://codereview.chromium.org/69793004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234627 0039d316-1c4b-4281-b951-d872f2087c98
* Implementation of MessagePump for Mojo.sky@chromium.org2013-11-126-1083/+1288
| | | | | | | | | | | | | | | | I've refactored a bunch of the common MessagePump code into message_pump_test. This allows us to share tests for custom messagePumps and should allow moving MessagePumpForUI out later on. Sadly it results in a ginormous macro. On the positive side it's easy to use. BUG=none TEST=none R=darin@chromium.org Review URL: https://codereview.chromium.org/66193007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234540 0039d316-1c4b-4281-b951-d872f2087c98
* Enable Time::ThreadNow() on Androidfmeawad@chromium.org2013-11-122-2/+3
| | | | | | | | | | | | | The current posix implementation supports getting the thread time but it was not enabled. This change enables it for Android. It was tested on N4, N7 2012 and 2013. BUG=317828 Review URL: https://codereview.chromium.org/69393002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234431 0039d316-1c4b-4281-b951-d872f2087c98
* [Base] Fix ReadPlatformFileAtCurrentPos behavior on Windowstzik@chromium.org2013-11-122-4/+48
| | | | | | | | | TEST=base_unittests:PlatformFile.* BUG=145873 Review URL: https://codereview.chromium.org/60363005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234387 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes for -Wunused-function on Linux, Android and ChromeOShans@chromium.org2013-11-123-68/+4
| | | | | | | | | BUG=315884, 78045 TBR=owners Review URL: https://codereview.chromium.org/67923002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234373 0039d316-1c4b-4281-b951-d872f2087c98
* Base: Make RegistryOverrideManager support sharded/parallel tests.tommycli@chromium.org2013-11-124-53/+234
| | | | | | | | | BUG=314800 TBR=ajwong@chromium.org Review URL: https://codereview.chromium.org/57423008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234367 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Test launcher - correctly handle non-zero exit code with all tests passingphajdan.jr@chromium.org2013-11-124-24/+80
| | | | | | | | | BUG=317752 R=earthdok@chromium.org Review URL: https://codereview.chromium.org/66293006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234338 0039d316-1c4b-4281-b951-d872f2087c98
* Android: Allow duplicate calls to InitApplicationContext.torne@chromium.org2013-11-112-2/+7
| | | | | | | | | | | | | | | Allow InitApplicationContext to be called more than once as long as the same context is passed each time. This will make it possible for AwCookieManager to make use of certain JNI functions before Chromium has been initialised without needing to keep track of whether it's already passed the application context to native or not. BUG=304813 NOTRY=true Review URL: https://codereview.chromium.org/54923002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234271 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 234207 "Set the default ASan options for executables buil..."mpearson@chromium.org2013-11-112-72/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Seems to cause two Chrome Memory bots to fail consistently with the error "Failed cbuildbot failed buildpackages failed report" See these links: http://build.chromium.org/p/chromium.memory/builders/Chromium%20OS%20(x86)%20ASAN http://build.chromium.org/p/chromium.memory/builders/Chromium%20OS%20(amd64)%20ASAN If those links break, mpearson@ has a copy of the failure output (too long to paste here). > Set the default ASan options for executables built with ASan on Linux. > > This CL introduces a module, base/debug/sanitizer_options.cc, which will override > the defaults for various dynamic tools (only ASan at this moment). For every executable > built with a dynamic tool this module will be linked into that executable, providing > weak functions to be called by the tool. > > The existing declaration of __asan_default_options() in chrome/app/chrome_exe_main_gtk.cc > has been moved into sanitizer_options.cc (now every binary built with GOOGLE_CHROME_BUILD=1 > will have the same options as google-chrome-asan. > The existing declaration of __asan_default_options() in chrome/nacl/nacl_helper_linux.cc > has been kept as is, but we had to remove -Wl,-u_sanitizer_options_link_helper to avoid picking sanitizer_options.cc. > > GYP changes for OSX and iOS will be committed separately. > > BUG=302040 > R=thakis@chromium.org > > Review URL: https://codereview.chromium.org/25687005 TBR=glider@chromium.org Review URL: https://codereview.chromium.org/68843003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234232 0039d316-1c4b-4281-b951-d872f2087c98
* Android: moves base/ to use long for JNI.bulach@chromium.org2013-11-113-5/+6
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/45313007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234212 0039d316-1c4b-4281-b951-d872f2087c98
* Set the default ASan options for executables built with ASan on Linux.glider@chromium.org2013-11-112-0/+72
| | | | | | | | | | | | | | | | | | | | | | This CL introduces a module, base/debug/sanitizer_options.cc, which will override the defaults for various dynamic tools (only ASan at this moment). For every executable built with a dynamic tool this module will be linked into that executable, providing weak functions to be called by the tool. The existing declaration of __asan_default_options() in chrome/app/chrome_exe_main_gtk.cc has been moved into sanitizer_options.cc (now every binary built with GOOGLE_CHROME_BUILD=1 will have the same options as google-chrome-asan. The existing declaration of __asan_default_options() in chrome/nacl/nacl_helper_linux.cc has been kept as is, but we had to remove -Wl,-u_sanitizer_options_link_helper to avoid picking sanitizer_options.cc. GYP changes for OSX and iOS will be committed separately. BUG=302040 R=thakis@chromium.org Review URL: https://codereview.chromium.org/25687005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234207 0039d316-1c4b-4281-b951-d872f2087c98
* Try to fix build more after r234081 / r234112.thakis@chromium.org2013-11-091-5/+4
| | | | | | | | | | | | | It looks like logging.h _always_ defines LOGGING_IS_OFFICIAL_BUILD, it's just defined to 0 or 1. So check for the value of LOGGING_IS_OFFICIAL_BUILD instead of its definedness. BUG=315884 TBR=akalin@chromium.org Review URL: https://codereview.chromium.org/66213008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234115 0039d316-1c4b-4281-b951-d872f2087c98
* Try to fix official mac bot after r234081.thakis@chromium.org2013-11-091-0/+2
| | | | | | | | BUG=315884 Review URL: https://codereview.chromium.org/66513005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234112 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 232825 "Adds the concept of a 'safe mode' hotkey start"zturner@chromium.org2013-11-082-15/+1
| | | | | | | | | | | | | | | | | | | | | | > Adds the concept of a 'safe mode' hotkey start > > The issue is that with Aura if something goes horribly wrong with the GPU, the user can get a 'black window' with no UI. > > So for ConOps it is nice to have a way to start chrome with a set of flags that we know should get you a working chrome that they can troubleshoot. > > To do this we add a hotkey combo to the start menu shortcut, in this case ctrl-shift-f10 which is not taken by windows. This shortcut can start chrome in this safe mode. > > BUG=271719 > TEST=see bug > R=robertshield@chromium.org > > Review URL: https://codereview.chromium.org/57173002 TBR=cpu@chromium.org Review URL: https://codereview.chromium.org/58853008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234023 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 233963 "Revert 233960 "GTTF: Make test launcher unset GTE..."jam@chromium.org2013-11-081-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | > Revert 233960 "GTTF: Make test launcher unset GTEST_ env variabl..." > > > GTTF: Make test launcher unset GTEST_ env variables since it handles all of sharding. > > > > This is a relanding of https://codereview.chromium.org/60983004/ which checks > > for variable existence before unsetting to avoid failing on Windows XP. > > > > BUG=236893 > > R=kbr@chromium.org > > > > Review URL: https://codereview.chromium.org/67183003 > > TBR=phajdan.jr@chromium.org > > Review URL: https://codereview.chromium.org/66603005 TBR=jam@chromium.org Review URL: https://codereview.chromium.org/64623004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233964 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 233960 "GTTF: Make test launcher unset GTEST_ env variabl..."jam@chromium.org2013-11-081-17/+0
| | | | | | | | | | | | | | | | | | > GTTF: Make test launcher unset GTEST_ env variables since it handles all of sharding. > > This is a relanding of https://codereview.chromium.org/60983004/ which checks > for variable existence before unsetting to avoid failing on Windows XP. > > BUG=236893 > R=kbr@chromium.org > > Review URL: https://codereview.chromium.org/67183003 TBR=phajdan.jr@chromium.org Review URL: https://codereview.chromium.org/66603005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233963 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Make test launcher unset GTEST_ env variables since it handles all of ↵phajdan.jr@chromium.org2013-11-081-0/+17
| | | | | | | | | | | | | | sharding. This is a relanding of https://codereview.chromium.org/60983004/ which checks for variable existence before unsetting to avoid failing on Windows XP. BUG=236893 R=kbr@chromium.org Review URL: https://codereview.chromium.org/67183003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233960 0039d316-1c4b-4281-b951-d872f2087c98
* Android: remove ContentViewCore from the renderer crash codepath.ppi@chromium.org2013-11-081-0/+7
| | | | | | | | | | | | | | | | | This patch employs base::TerminationStatus to communicate the state of the oom bindings when a child process dies and exposes renderProcessGone() in WebContentsObserverAndroid, removing the need for ContentViewCore to be involved in the renderer crash codepath. This allows to drop tracking the pid of the renderer process in ContentViewCore and eliminates the need for the |tab_crashed_| flag in native ContentViewCoreImpl. BUG=314583 Review URL: https://codereview.chromium.org/58203002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233905 0039d316-1c4b-4281-b951-d872f2087c98
* Use COMPILE_ASSERT in bit_cast() instead of ad-hoc compile assertion ↵dongseong.hwang@intel.com2013-11-081-3/+1
| | | | | | | | implementation. Review URL: https://codereview.chromium.org/61833002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233871 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up uses of use_glib that are not related to glib dependenciesspang@chromium.org2013-11-082-11/+31
| | | | | | | | | | | | | | | | | | | | We're frequently using the use_glib gyp variable as a shorthand for: OS!="win" and OS!="mac" and OS!="ios" and OS!="android" This should be equivalent to: desktop_linux == 1 or chromeos == 1 Embedded builds want to remove as many dependencies as possible. This cleans up uses of the use_glib variable so we can turn it off on linux without breaking the build. BUG=316226 Review URL: https://codereview.chromium.org/61923004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233804 0039d316-1c4b-4281-b951-d872f2087c98
* Adds the ability for MessageLoop to take a MessagePumpsky@chromium.org2013-11-084-15/+76
| | | | | | | | | | | | | | Using default args is against style guide, but there are a ton of places (mostly tests) that define a MessageLoop as a member. I'll see about a cleanup pass that removes the default args. BUG=none TEST=NONE R=darin@chromium.org Review URL: https://codereview.chromium.org/61643006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233800 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 233725 "GTTF: Make test launcher unset GTEST_ env variabl..."kbr@chromium.org2013-11-081-6/+0
| | | | | | | | | | | | | | | | | Broke all of the Windows XP bots > GTTF: Make test launcher unset GTEST_ env variables since it handles all of sharding. > > BUG=236893 > R=sky@chromium.org > > Review URL: https://codereview.chromium.org/60983004 TBR=phajdan.jr@chromium.org Review URL: https://codereview.chromium.org/66043005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233762 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup allocator_shim.cc from ENABLE_DYNAMIC_ALLOCATOR_SWITCHINGb.kelemen@samsung.com2013-11-081-39/+15
| | | | | | | | | | Whether to use this feature is decided in the gyp files. The flag is defined unconditionally so it does not makes sense to check it in #ifdef conditions. Review URL: https://codereview.chromium.org/47873005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233756 0039d316-1c4b-4281-b951-d872f2087c98
* android: Make org.chromium.base.SysUtils.isLowEndDevice() work without ↵digit@chromium.org2013-11-085-22/+120
| | | | | | | | | | | | | | | | | | | native code. This patch modifies the implementation if SysUtils.isLowEndDevice() to not rely on any native code, which is required to run it before the native libraries are actually loaded (e.g. when running certain tests). + Simplify the content linker that doesn't need a specific native method anymore to replicate the yet-unloaded native SysUtils::IsLowEndDevice(). BUG=309926 R=dtrainor@chromium.org,tedchoc@chromium.org,frankf@chromium.org,bulach@chromium.org TEST=build/android/test_runner.py linker Review URL: https://codereview.chromium.org/59033008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233739 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Prepare most test code for -Wunused-functions too.thakis@chromium.org2013-11-082-20/+0
| | | | | | | | | | BUG=315884 R=akalin@chromium.org, isherman@chromium.org, thestig@chromium.org, yzshen@chromium.org TBR=piman, sergeyu Review URL: https://codereview.chromium.org/65813002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233737 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Make test launcher unset GTEST_ env variables since it handles all of ↵phajdan.jr@chromium.org2013-11-081-0/+6
| | | | | | | | | | | sharding. BUG=236893 R=sky@chromium.org Review URL: https://codereview.chromium.org/60983004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233725 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Add test launcher developer mode for local debugging.phajdan.jr@chromium.org2013-11-073-28/+56
| | | | | | | | | BUG=236893, 312984 R=sky@chromium.org Review URL: https://codereview.chromium.org/61363002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233667 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Prepare for -Wunused-functions.thakis@chromium.org2013-11-071-1/+1
| | | | | | | | | | | | Mostly involves deleting hundreds of lines of unused code. BUG=315884 R=akalin@chromium.org, brettw@chromium.org, fischman@chromium.org, jamesr@chromium.org, sky@chromium.org, thestig@chromium.org TBR=piman, youngki Review URL: https://codereview.chromium.org/63153003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233646 0039d316-1c4b-4281-b951-d872f2087c98
* Mojo: First stab at making MessagePipes work across OS pipes.viettrungluu@chromium.org2013-11-071-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | Given a running RawChannel, one can set up MessagePipes that have one endpoint available locally (in the usual way) and the other endpoint proxied to the other side of the OS-level "pipe" (which presumably has a symmetrical setup -- i.e., another RawChannel, etc.). Currently, this has only been tested in-process, but apart from possible synchronization/bootstrapping issues there's no reason it shouldn't work across processes. (Whatever launches the process will have to begin the bootstrapping by getting an OS pipe between processes and making sure things are appropriately synchronized.) Still to do: - Properly handle errors (e.g., due to the pipe/process dying). - Figure out how to start processes and bootstrap in that situation (and test this). R=darin@chromium.org, darin Review URL: https://codereview.chromium.org/60103005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233638 0039d316-1c4b-4281-b951-d872f2087c98
* base: Remove call to g_get_home_dir() from GetHomeDir() for Chrome OSsatorux@chromium.org2013-11-071-3/+3
| | | | | | | | | | | | | | This is in preparation for removing a dependency to GLib. On a Chrome device, home directory is always set to /home/chronos/user as hard-coded in GetHomeDir(). On a linux workstation for testing, referencing $HOME is sufficient. BUG=240617 Review URL: https://codereview.chromium.org/60083009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233576 0039d316-1c4b-4281-b951-d872f2087c98
* Move init of breakpad in the browser process as early as possiblejochen@chromium.org2013-11-072-0/+11
| | | | | | | | | | | | | | | | | | | 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
* x11: Move XInput2 availability information out of the message pump.sadrul@chromium.org2013-11-072-14/+1
| | | | | | | | | | | BUG=302696 R=darin@chromium.org, derat@chromium.org Previously committed in r233414, but reverted in r233416 because it collided with r233347. Review URL: https://codereview.chromium.org/52823002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233528 0039d316-1c4b-4281-b951-d872f2087c98
* Test ShareToProcess within the same process.jyasskin@chromium.org2013-11-071-0/+18
| | | | | | | | BUG=302724 Review URL: https://codereview.chromium.org/61213003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233520 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Fix incomplete snippet for failing/crashing tests.phajdan.jr@chromium.org2013-11-071-1/+4
| | | | | | | | | BUG=236893, 313053 R=kbr@chromium.org Review URL: https://codereview.chromium.org/61743008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233477 0039d316-1c4b-4281-b951-d872f2087c98
* Implement thread-specific CPU time on Mac OS Xfmeawad@chromium.org2013-11-073-4/+38
| | | | | | | | | | This is different from https://code.google.com/p/chromium/codesearch#chromium/src/base/process/process_metrics_mac.cc&l=216 as it gets the per-thread CPU time while process metrics gets all-thread CPU usage. BUG=280744 Review URL: https://codereview.chromium.org/56973012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233450 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 233414 "x11: Move XInput2 availability information out of..."dgrogan@chromium.org2013-11-062-1/+14
| | | | | | | | | | | | | | | > x11: Move XInput2 availability information out of the message pump. > > BUG=302696 > R=darin@chromium.org, derat@chromium.org > > Review URL: https://codereview.chromium.org/52823002 TBR=sadrul@chromium.org Review URL: https://codereview.chromium.org/63443002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233416 0039d316-1c4b-4281-b951-d872f2087c98