| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> 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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
BUG=
Review URL: https://codereview.chromium.org/45313007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234212 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> 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 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
implementation.
Review URL: https://codereview.chromium.org/61833002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233871 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> 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
|