Fix GetLastUsedProfile to return off the record profile in cros guest mode

BUG=343837
TEST=see bug

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252406 0039d316-1c4b-4281-b951-d872f2087c98
Move NullDraw GL bindings and allow them to be disabled temporarily.

This moves the NullDraw GL bindings out of generate_bindings.py to
ui/gl/gl_gl_api_implementation.cc since there are only a few methods
and this makes them easier to read, understand, and change. Add to
these methods a way to disable them causing drawing to occur. This
is needed so that one test in a test suite can disable null draw
if it wants pixel output.

TBR=piman@chromium.org
BUG=270918

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252407 0039d316-1c4b-4281-b951-d872f2087c98
Adding talk_base::PacketOptions to P2P IPC Send message.

Libjingle added a structure which will carry additional
meta information about the packet in Send API. This includes
DSCP code for the packet and packet authentication information.
This information must be used before the packet is sent over
the network. This requires options must be sent to the browser process.

R=sergeyu@chromium.org
TBR=cevans@chromium.org,avi@chromium.org

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252408 0039d316-1c4b-4281-b951-d872f2087c98
Make Linux GN build's cflags match GYP's

This is for the base shared library target on desktop Linux.

The remaining difference on Linux is that GYP's base build specifies -Wno-write-strings on Linux. This dates back to the first GYP file. I don't know why we would specify this for only base, and it seems not to trigger any warning without this flag, so I didn't add it.

This changes the pkg-config invocation from --libs to --libs-only-L and --libs-only-l. The output seems slightly different (--libs was producing an extra --export-dynamic for gmodule-2.0 that aren't present when invoking the other way, which is what the GYP build does).

R=thakis@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252409 0039d316-1c4b-4281-b951-d872f2087c98
Store the XDisplay as a member on NativeViewGLSurfaceOSMesa.

If this is stored as a global variable, it can get closed by one test
and have that affect later tests which is bad. Prevent this by keeping
the XDisplay as a member variable.

TBR=piman@chromium.org
BUG=270918

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252410 0039d316-1c4b-4281-b951-d872f2087c98
Remove -Wno-write-strings from base

This is exceedingly old (from initial GYP file checkin) and seems to be unnecessary.

R=thakis@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252411 0039d316-1c4b-4281-b951-d872f2087c98
Add flag to disable demo mode.

R=dpolukhin@chromium.org
BUG=343727

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252412 0039d316-1c4b-4281-b951-d872f2087c98
Rename VIEW_TYPE_APP_SHELL -> VIEW_TYPE_APP_WINDOW

An underlying string constant (kViewTypeAppShell == "SHELL") has also been
changed to kViewTypeAppWindow == "APP_WINDOW".

BUG=344067
TBR=scheib@chromium.org,phajdan.jr@chromium.org,tommi@chromium.org,avi@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252413 0039d316-1c4b-4281-b951-d872f2087c98
Enable a bunch of webgl conformance tests on Linux NVIDIA GPU bots

empty_main.vert.html
gl_position_unset.vert.html
uniform-location.html

BUG=325884
TEST=Linux NVIDIA bots
TBR=kbr@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252414 0039d316-1c4b-4281-b951-d872f2087c98
Move XInitThreads() from Compositor test suite to GLSurface init.

Any unit tests that use OSMesa GL need to call XInitThreads() first.
Currently that is just the compositor unittests, but when we move all
unit tests to use a real compositor with real GL contexts and stubbed
out drawing commands, this becomes all unit tests that use the
compositor. So move this call to GLSurface::InitializeOneOffForTests.

TBR=piman@chromium.org
BUG=270918

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252415 0039d316-1c4b-4281-b951-d872f2087c98
[MIPS] Support for MIPS PNaCl in PPAPI

Add necessary definitions and build blocks for MIPS.

BUG= https://code.google.com/p/nativeclient/issues/detail?id=2275
TEST= Build Chromium for MIPS

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252416 0039d316-1c4b-4281-b951-d872f2087c98
Create DeviceMediaID for screen w/ correct 'id' value

When per-screen capture supported was added to WebRTC, the
MediaCaptureDevicesDispatcher was incorrectly set to request "screen:0"
rather than "screen" to capture the entire desktop, in effect.

BUG=343926

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252417 0039d316-1c4b-4281-b951-d872f2087c98
Allow default handling in WM_NCHITTEST to go through in the LegacyRenderWidgetHostHWND class
if the parent does not handle the message.

BUG=344775
TBR=cpu

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252418 0039d316-1c4b-4281-b951-d872f2087c98
Remove a LOG(INFO) call from AsyncPixelTransferManagerAndroid.

LOG(INFO) calls are disallowed in production code, and this call is blocking
other changes to this file from being uploaded to codereview or committed
(either via the commit queue, or via dcommit) without bypassing hooks.

R=skyostil, sievers
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252419 0039d316-1c4b-4281-b951-d872f2087c98
Fix APK dependency on remoting resources

This ensures that Ant regenerates the R.java resource file if the
remoting/resources/remoting_strings.grd file is changed. This had the
potential to cause incremental build failures if a new Android string
were added to this grd file (and a .java file tried to access the new
resource).

TEST=Build remoting_apk, touch the remoting grd file and rebuild the target - verify that the R.java/R.txt step runs.
R=jamiewalch@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252420 0039d316-1c4b-4281-b951-d872f2087c98
net: don't always add TLS padding.

In order to flush out any problems with padding, Chrome has always been
adding it, even when the ClientHello was small enough not to need it.

Since that change is in Chrome 33 (and the Chrome 34 branch), it's time
to remove it.

BUG=315828

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252421 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll 167498:167535

http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=167499:167535&mode=html
TBR=
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252422 0039d316-1c4b-4281-b951-d872f2087c98
Add additional statistics for rasterize_and_record_micro

These are necessary for testing layer squashing. See the attached bug for details.

BUG=344689

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252423 0039d316-1c4b-4281-b951-d872f2087c98
Update .DEPS.git

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252424 0039d316-1c4b-4281-b951-d872f2087c98
Keep track or all server revoke requests.  This way they can be deleted
before the token service is shutdown and won't outlive the profile.

BUG=335498

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252425 0039d316-1c4b-4281-b951-d872f2087c98