Target iOS 6.1 in a test script.

This CL updates the iOS version used during tests launched with testing/gtest_ios/run-unittest.sh.

BUG=none

Review URL: https://chromiumcodereview.appspot.com/22569004

git-svn-id: https://src.chromium.org/chrome/trunk/src/testing@216205 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Android: removes obsolete comment.

Following crrev.com/144038, RunTests is executed in the main thread,
so the comment is obsolete.

BUG=

Review URL: https://chromiumcodereview.appspot.com/22890005

git-svn-id: https://src.chromium.org/chrome/trunk/src/testing@218032 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Move ReadFileToString to the base namespace.

BUG=

Review URL: https://codereview.chromium.org/19579005

git-svn-id: https://src.chromium.org/chrome/trunk/src/testing@220612 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Factor out a perf test result printer method.

This is to allow cc_perftests to share this code without depending on chrome/.

BUG=

Review URL: https://chromiumcodereview.appspot.com/23509002

git-svn-id: https://src.chromium.org/chrome/trunk/src/testing@220803 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Add support in iossim for recognizing sandboxed system logs.

BUG=None

Review URL: https://chromiumcodereview.appspot.com/23460032

git-svn-id: https://src.chromium.org/chrome/trunk/src/testing@222918 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Change method of activity tracking done in ActivityStatus.

Use the ability to track activity changes by registering a listener on
the application.

Also, this will manage the state of various activities on the java side.

BUG=286071

Review URL: https://chromiumcodereview.appspot.com/23522032

git-svn-id: https://src.chromium.org/chrome/trunk/src/testing@223437 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Build with API level 18 on Android.

BUG=294699

Review URL: https://codereview.chromium.org/23604064

git-svn-id: https://src.chromium.org/chrome/trunk/src/testing@226343 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
[Android] Add settings link on EME infobar.

BUG=298445

Review URL: https://codereview.chromium.org/25370002

git-svn-id: https://src.chromium.org/chrome/trunk/src/testing@227089 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
[Android] Consolidate and upgrade OWNERS for test files
Part of a bigger change that can be seen here for context
https://codereview.chromium.org/27311005/

BUG=308421

Review URL: https://codereview.chromium.org/26880007

git-svn-id: https://src.chromium.org/chrome/trunk/src/testing@230400 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Migrate to Openbox from IceWM (In chrome scripts)

BUG=125106
R=maruel@chromium.org

Review URL: https://codereview.chromium.org/55083004

git-svn-id: https://src.chromium.org/chrome/trunk/src/testing@233071 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Revert 233071 "Migrate to Openbox from IceWM (In chrome scripts)"

Looks like openbox wasn't installed on everything.

> Migrate to Openbox from IceWM (In chrome scripts)
> 
> BUG=125106
> R=maruel@chromium.org
> 
> Review URL: https://codereview.chromium.org/55083004

BUG=125106, 308335
TBR=erg@chromium.org

Review URL: https://codereview.chromium.org/60343005

git-svn-id: https://src.chromium.org/chrome/trunk/src/testing@233116 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Revert 233116 "Revert 233071 "Migrate to Openbox from IceWM (In ..."

openbox should theoretically be installed everywhere now.

> Revert 233071 "Migrate to Openbox from IceWM (In chrome scripts)"
> 
> Looks like openbox wasn't installed on everything.
> 
> > Migrate to Openbox from IceWM (In chrome scripts)
> > 
> > BUG=125106
> > R=maruel@chromium.org
> > 
> > Review URL: https://codereview.chromium.org/55083004
> 
> BUG=125106, 308335
> TBR=erg@chromium.org
> 
> Review URL: https://codereview.chromium.org/60343005

TBR=erg@chromium.org

Review URL: https://codereview.chromium.org/61643009

git-svn-id: https://src.chromium.org/chrome/trunk/src/testing@233702 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
cc: Only report calc_draw_props_time.

The perf dashboard is configured to monitor every trace output by the
cc_perftests. Here, we were outputting two traces that represent the exact
same thing. This only causes more work for the perf sheriffs. So I'm cutting it
down to one.

Incidentally, this eliminates a bug where the dashboard thought that a higher
count was a regression.

This also improves the precision by supporting decimals.

BUG=313537

Review URL: https://codereview.chromium.org/56573002

git-svn-id: https://src.chromium.org/chrome/trunk/src/testing@233775 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Android: Allow duplicate calls to InitApplicationContext.

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: https://src.chromium.org/chrome/trunk/src/testing@234271 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Android: moves native_test to use long for JNI

BUG=317523

Review URL: https://codereview.chromium.org/70123002

git-svn-id: https://src.chromium.org/chrome/trunk/src/testing@234513 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Increase targetSdkVersion to 19.

BUG=317754
NOTRY=true
TBR=abarth@chromium.org

Review URL: https://codereview.chromium.org/68203025

git-svn-id: https://src.chromium.org/chrome/trunk/src/testing@236540 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Check library version and handle library load errors

This CL modifies the build to incorporate the expected C++ library version
in the Java code. This is then checked when the library is loaded, to
make sure that the C++ and Java builds match.

This CL also implements error handling when library loads fail or the
loaded version doesn't match the expected version.

BUG=311644

Review URL: https://codereview.chromium.org/59533009

git-svn-id: https://src.chromium.org/chrome/trunk/src/testing@237779 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Move EmptyString, kWhitespace and the BOM to base.

This moves EmptyString*, kWhitespace*, and the UTF 8 Byte Order Marker to the base:: namespace.

Many of them just got changed to a default-constructed string when a reference was not required.

I qualified some string16s with base:: when I was changing adjacent code. I need to do another pass to finish these up.

BUG=
TBR=sky@chromium.org

Review URL: https://codereview.chromium.org/89243003

git-svn-id: https://src.chromium.org/chrome/trunk/src/testing@238032 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Move RemoveChars, ReplaceChars, TrimString, and TruncateUTF8ToByteSize to base namespace.

BUG=
R=viettrungluu@chromium.org

Review URL: https://codereview.chromium.org/102843002

git-svn-id: https://src.chromium.org/chrome/trunk/src/testing@238465 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Make gtest always use simple internal regex engine.

In order to allow regex matches in gtest to be shared between Windows and other
systems, we tell gtest to always use it's internal engine.

The syntax supported by the internal engine initially looks like a subset of
POSIX regexs. However character class shortcuts are not valid POSIX.

Even more confusingly the system POSIX regex function often defines extra
features not actually part of the standard allowing regex that work on Linux
fail on Mac OS X.

A search through the code base did not reveal any locations where features not
supported by the internal regex engine where used.

See bug https://code.google.com/p/chromium/issues/detail?id=317224 for more detailed description.

BUG=317224

Review URL: https://codereview.chromium.org/55983002

git-svn-id: https://src.chromium.org/chrome/trunk/src/testing@238913 4ff67af0-8c30-449e-8e8b-ad334ec8d88c