Suppress a leak that valgrind claims is in RuleSet::ensurePendingRules.

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248943 0039d316-1c4b-4281-b951-d872f2087c98
Made AppRTC and Firefox interop test verify video as well.

Also, Chrome will now run with fake devices in all AppRTC tests. It
seemed to acquire the camera now, which would make the firefox test
fail. Presumably it looks at the fake device flag at a later stage now
(or we have just been lucky so far), so set the flag earlier to ensure
Firefox can reliably acquire the cam on the system. Running with fake
devices in this test is fine anyway, its primary purpose is not to
check that the capture path works.

Context: https://code.google.com/p/webrtc/issues/detail?id=2858.

BUG=272077
NOTRY=True

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248944 0039d316-1c4b-4281-b951-d872f2087c98
Update PEM file to write a key with 64 characters per line

Update generated private key file (PEM file) for packaged apps to have 64 characters per line, in accordance with RFC 1421.

BUG=331791

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248945 0039d316-1c4b-4281-b951-d872f2087c98
Allow BITS downloads of components only in certain cases.

agl@, I need an owner review for the crlset change.

BITS download is broken when the download is hosted by certain serving backends. Until the range support is improved, BITS can be used only in some cases.

For full downloads, everything uses BITS but CRLSet.
For diff downloads, nothing uses BITS

BUG=340450

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248946 0039d316-1c4b-4281-b951-d872f2087c98
Remove the ExtensionAction::Appearance enum since only the visible and invisible states are used anymore.

BUG=302083

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248947 0039d316-1c4b-4281-b951-d872f2087c98
Files.app: Remove unused ctrl key flag.

The flag is no longer used.
The CL removs the flag and the lines to updated it.

BUG=none
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248948 0039d316-1c4b-4281-b951-d872f2087c98
Avoid conditional check for resource_collection_ in RenderWidgetHostViewAura::SendReturnedDelegatedResources.

The function RenderWidgetHostViewAura::SendReturnedDelegatedResources() is called only when
there is a valid resource_collection_ object. This seems a redundant check as the call site
already checks for it hence replacing the condition with a DCHECK(resource_collection_).

R=danakj, sievers, aelias

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248949 0039d316-1c4b-4281-b951-d872f2087c98
NaCl: Update revision in DEPS, r12687 -> r12694

This pulls in the following Native Client changes:

r12688: (jfb) Update TOOL_REVISIONS for PNaCl r12646->r12686
r12689: (jfb) PNaCl toolchain build: tell configure to ignore bindings.
r12690: (mseaborn) Enable testing nacl-gdb on ARM via gdb_tests
r12691: (dschuff) toolchain_build_pnacl: Build unsandboxed IRT for linux x86-32
r12692: (sbc) Add NACL_ABI_S_ISLNK() and others to stat.h
r12693: (sbc) Add missing isatty.c stub to nacl.scons and nacl.gyp
r12694: (kschimpf) PNaCl: Update LLVM revision in pnacl/COMPONENT_REVISIONS

Also, update locally-patch sys/signal.h in
native_client_sdk to match latest changes in newlib
(unfortunately its still needed until all the toolchains
contain the latest newlib headers).

BUG=none
TEST=browser_tests and nacl_integration

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248950 0039d316-1c4b-4281-b951-d872f2087c98
Follow-up for https://codereview.chromium.org/104233002/: s/Unbuffered/LineBuffered

BUG=323556
TBR=maruel@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248952 0039d316-1c4b-4281-b951-d872f2087c98
[content_shell] Fixed double title bar on Linux.

Remove the native title bar (content_shell already has a blue custom
title bar).

Had to inline the body of Widget::CreateWindowWithBounds.

BUG=340093

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248953 0039d316-1c4b-4281-b951-d872f2087c98
Prepare to enable icu_use_data_file_flag on CrOS

1. Enabling icu_use_data_file_flag led to a crash because GetStringUTF8 (that relies on ICU to determine whether the current UI language is RTL) is called before InitializeICU is called. Instead of using GetStringUTF8, get the string directly from the resource bundle because there's no need to adjust the string for the RTL locale in this particular case. 

2. update chromite to a revision that copies icudtl.dat when icu_use_data_file_flag is on. 

The switch (icu_use_data_file) will be flipped in a follow-up CL (either in build/common.gypi or chromeos-chrome ebuild file or both as necessary). 

BUG=72633
TEST=cros_{amd,x86,amd64} pass all the tests. No actual change with this CL.


Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=248325

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248955 0039d316-1c4b-4281-b951-d872f2087c98
MediaStream API: Patch #2 of implementing navigator.getMediaDevices
This patch just adds basic mock support so that getMediaDevices can
be exercised in blink layout tests.

BUG=338511

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248956 0039d316-1c4b-4281-b951-d872f2087c98
Filter untrusted policy values coming from GPO.

For now this only handles force-installed extensions that are not coming
from the Chrome Web Store directly.

BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248957 0039d316-1c4b-4281-b951-d872f2087c98
Move kDisablePasswordAutofillPublicSuffixDomainMatching to components

The purpose is to drop the dependency of psl_matching_helper.* on chrome.

BUG=334662
R=blundell@chromium.org, gcasto@chromium.org
TBR=joi@chromium.org, zea@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248958 0039d316-1c4b-4281-b951-d872f2087c98
Test that glDiscardFramebufferEXT binds to the correct function

MockGLInterface::GetGLProcAddress used to return the same mock function
for different versions of a GL function. This prevented any detailed
testing of the GL bindings in the GPU unit tests.

This patch changes the logic so that MockGLInterface::GetGLProcAddress
returns a different mock function for each different valid function name,
so that the function pointer can be checked to ensure that the bindings
were done correctly. However, the different mock versions of the same GL
function still redirect to the same MockGLInterface member function. This
preserves hiding the intricacies of the GL bindings from unit tests that
are not interested in them.

Initially, this is used to make sure that glInvalidateFramebuffer is
bound on GLES3, and glDiscardFramebufferEXT is bound on GLES2 when the
extension is present.

BUG=322489
TEST=gpu_unittests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248959 0039d316-1c4b-4281-b951-d872f2087c98
Fix TabCaptureApiTest.GrantForChromePages flakey failures

In this test we base::Bind DidCopyFromBackingStore into callbacks to be
executed OnSnapshot. If we WebContentsCaptureMachine::Stop before these
callbacks come in, then render_thread_ will be set to NULL, and if
these callbacks end up being executed after this point, but before the
WebContentsCaptureMachine is destroyed, access to to a NULL
render_thread_ will result.

BUG=340475

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248961 0039d316-1c4b-4281-b951-d872f2087c98
Fix old_inbox_app in key_silk_pages.

We should swipe on the 'content' element rather than the 'nav-drawer' element.
The latter one spans the entire page, rather than just the drawer. This causes
problems on tablets, e.g. N7, where the drawer only covers about half the page
and the swipe often doesn't actually close it.

BUG=332439

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248962 0039d316-1c4b-4281-b951-d872f2087c98
Files.app: Add multiprofile events to fileBrowserPrivate API.

This CL adds onProfileAdded and onWindowVisited events to fileBrowserPrivate
API.

To add the onWindowVisited event, the CL adds observer to MultiUserWindowManager
and lets MultiUserNotificationBlockerChromeOS to use it.

BUG=338603, 339958
TEST=manually

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

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