During virtual context switches only restore texture units
that have changed from the previous context.

The most CPU consuming operations on the GPU thread for
Android are virtual context switches. We attempt to reduce the CPU usage by
context switches with this patch.

BUG=244701

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245109 0039d316-1c4b-4281-b951-d872f2087c98
Send multiple queries when DiscoverNewServices is called on a service watcher

Send multiple queries to the network in short intervals to account for potential
packet loss on noisy networks.

BUG=332629

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245110 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 245110
Pepper: Reduce includes in generated thunks.

There are some unnecessary includes in generated thunks. We should remove these
for clarity, and (hopefully) to reduce build time. A small test showed that
ppb_view_thunk.cc built 18% faster after the change, but that's well within the
noise on my local system.

BUG=334727

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245111 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 245111