InstantExtended: update tests for InstantExtended (part 1).

Update tests that assume that the NTP is a WebUI, since this is no longer
true with Instant Extended. Note that this is split off from
http://crrev.com/24733003.

BUG=297915

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235001 0039d316-1c4b-4281-b951-d872f2087c98
Change QuicConnection to use server_max_packet_size, only for servers.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235002 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 235001
telemetry: Report all renderer process events in timeline metric.

Timeline metric only reported events on the renderer main thread. This patch
makes it report the events of all threads in the renderer process.

Reporting events from the browser process will be added in a separate patch.

The patch also adds error checking for problems with console.time to
ChromeBrowserBackend.StopTracing.


R=nduca@chromium.org,tonyg@chromium.org
BUG=310389

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235003 0039d316-1c4b-4281-b951-d872f2087c98
[Telemetry] Attempt to fix a flake observed on mac.

This was:
  File "src/tools/perf/../telemetry/telemetry/core/browser.py", line 293, in Close
    self._browser_backend.Close()
  File "src/tools/perf/../telemetry/telemetry/core/backends/chrome/desktop_browser_backend.py", line 223, in Close
    self._proc.terminate()
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1532, in terminate
    self.send_signal(signal.SIGTERM)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1527, in send_signal
    os.kill(self.pid, sig)
OSError: [Errno 3] No such process

It seems like we should avoid trying to terminate the process if it is closed.

BUG=

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

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