Fixed a crash by not depending on manager's metrics logger.


BUG=229256


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193275 0039d316-1c4b-4281-b951-d872f2087c98
Merge trace_event_internal.h back into trace_event.h.

This is a revert of the previous split of the headers.


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193276 0039d316-1c4b-4281-b951-d872f2087c98
Revert 191890
> Windows: Do not initialize COM in the GPU process.
> 
> The GPU process does not need COM so do not initialize it. Also, the initialization of COM was bogus. Look how the ScopedCOMInitializer is scoped.
> 
> Initializing COM seems to be triggering a crash in the third party DLL cmsetac.dll
> 
> BUG=225012
> Review URL: https://codereview.chromium.org/13350010

BUG=229715
TBR=apatrick@chromium.org
Review URL: https://codereview.chromium.org/13886004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193277 0039d316-1c4b-4281-b951-d872f2087c98
Add description for driver bug entry.
Review URL: https://codereview.chromium.org/13801011

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

BUG=None
Test=WebViewTest.Geolocation* still passes.


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193279 0039d316-1c4b-4281-b951-d872f2087c98
Fix AVD configuration and defaults based on dogfooder input.

I have worked with a couple developers to dogfood the installation and running
of AVD's using the build/android scripts. The following suggestions have been
taken are are implemented by this change:
 - Use configuration of AVD for Galaxy Nexus by Google as default config
   - allows developers to use software keyboard
   - uses the Galaxy Nexus skin with Back/Home/Apps buttons at bottom
 - Defaults (one x86 AVD) are printed on the help page
 - Does not require virtualization support for ARM emulator (only x86)

BUG=164911


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193281 0039d316-1c4b-4281-b951-d872f2087c98
rAc: don't clobber user input when accepting autofill popup suggestion

BUG=226347


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193282 0039d316-1c4b-4281-b951-d872f2087c98
Set maxFramesPending to 1 for --composite-to-mailbox

Otherwise, the default value of 2 allows the renderer to push out
2 frames (default) at any given time, which combined with the frame that
the browser already holds, results in up to 3 textures being allocated.

Without --composite-to-mailbox, allowing the renderer to queue GL
commands for 2 frames is fine, because swaps are indirected through
the GPU thread, from where they are sent to the browser *one* at a time.

BUG=181640


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193283 0039d316-1c4b-4281-b951-d872f2087c98
drive: Port TestKeyboardCopy and TestKeyboardDelete to Drive

BUG=224534
TEST=none


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193284 0039d316-1c4b-4281-b951-d872f2087c98
Revert back to listening for focus in context menu, but do not use capture.

Not using capture prevents bug 162190 from recurring, as the focus event was causing the menu to be hidden before the click event was created, and thus the click event was being targeted to whatever was below the menu at the point where the mouse click occurred.

BUG=224549


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193286 0039d316-1c4b-4281-b951-d872f2087c98
Fix SecurityOriginHasAPIPermission to work if the extension is not found

If an app is disabled while it's running, but the user opts not to quit,
it's possible for the browser process to still receive permission checks
for the extension even though it's already gone from the extension info
map. In this case, simply deny all permission checks.

BUG=170382


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193287 0039d316-1c4b-4281-b951-d872f2087c98
Added stub PpapiPluginMsg_PDF_GetResourceImageReply for Chrome for TV.

Chrome for TV, using limited set of ppapi, needs stub PpapiPluginMsg_PDF_GetResourceImageReply
not to break the build.

BUG=


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193288 0039d316-1c4b-4281-b951-d872f2087c98
Crash on non-primary full screen exit


BUG=226132


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193289 0039d316-1c4b-4281-b951-d872f2087c98
gpu: Fix mock setup for [Bind|Release]TexImage2DCHROMIUM unit tests


BUG=


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193292 0039d316-1c4b-4281-b951-d872f2087c98
Implement upload progress reporting in GDataWAPI and DriveAPI operations.

BUG=128079


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193293 0039d316-1c4b-4281-b951-d872f2087c98
Remove deprecated TestURLReqest constructor interface.

The old three argument constructor uses have been removed, so this is going away too.  The new interface was added here:

https://chromiumcodereview.appspot.com/12328072

BUG=146587

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193294 0039d316-1c4b-4281-b951-d872f2087c98
Implement missing SysInfo methods on OpenBSD

Adds AmountOfAvailablePhysicalMemory (based on Linux's implementation)
and CPUModelName() (based on OS X's implementation).

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193295 0039d316-1c4b-4281-b951-d872f2087c98
Reland r193176: Add libpeerconnection.so to the list of files to be packaged with the Official Chrome.

Previously reverted CL: https://chromiumcodereview.appspot.com/13820015/

R=thestig@chromium.org,glider@chromium.org,tommi@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193296 0039d316-1c4b-4281-b951-d872f2087c98
Fix crash when user switches account from a passphrase account.

NotifyPassphraseAccepted can be called even before backend is
initialized. Android tries to check if cryptographer is ready when
passphrase is accepted. This can lead to a crash when backend is not
initialized. Fix is to check cryptographer only when backend is
ready.

BUG=223312, 196518


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193297 0039d316-1c4b-4281-b951-d872f2087c98
Change the histogram in SpdySession::GetPeerAddress to look at the actual value return by the GetPeerAddress.

BUG=224701


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

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