[uber page] Uber URL cleanups.

- Prefer 'short' urls for simplicity, forward compatibility.
- Prefer url_constants over hard-coded strings.

BUG=121195
Review URL: https://chromiumcodereview.appspot.com/9836136

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130016 0039d316-1c4b-4281-b951-d872f2087c98
Revert 130005 - Committing:
Changes to add duration into history database. This completes Issue 9605037 which can compute suggestion sites based on time slicing as well as visit duration. A new database table was added for those new fields we may need to experiment on.
Original cl: https://chromiumcodereview.appspot.com/9789001/
comment: HistoryProfileTest.TypicalProfileVersion fails because of the trybots inability to patch the History file - it runs fine locally.
Created by Wei Li weili@chromium.org
BUG=none
TEST=unit-tests
TBR=brettw

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

TBR=georgey@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9956046

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130017 0039d316-1c4b-4281-b951-d872f2087c98
Make all the things use cert_test_util.h.

BUG=none
TEST=trybots

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130018 0039d316-1c4b-4281-b951-d872f2087c98
Enable the webrtc audio tests on the build bots that have audio hardware.

BUG=none
TEST=This enables the audio tests in content_unittests on bots with audio hardware.

Review URL: http://codereview.chromium.org/9921035

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

This pulls in the following Native Client changes:

r8119: (bradnelson) Explicitly set public-read ACL when uploading coverage data via gsutil_cp_dir.py Clone of:
r8120: (dschuff) Add tests which cannot be run in pexe mode to a new suite, nonpexe_tests
r8121: (mseaborn) mmap: Simplify the handling of PROT_NONE page filling
r8122: (pasko) validator_ragel: remove all mentions of gettext and locale
r8123: (olonho) GYP build for ARM untrusted runtime.
r8124: (kschimpf) Add framework to enumerate ARM instructions and see if we properly decode
r8125: (jvoung) Use toolchain/pnacl_translator/ for packing up the pnacl
r8126: (bradnelson) Build ragel validator and test its current state.
r8127: (bradnelson) Build and test mseaborn's validator from a pinned pair of revisions.
r8128: (sehr) Get latest pnacl toolchains.
r8130: (kschimpf) Modify enuminsts to be able to communicate matched instructions accross
r8131: (olonho) Fix sysroot for standalone GYP build on ARM.
r8132: (olonho) pnacl linker indeed doesn't understand -nostartfiles switch.
r8133: (pasko) validator_ragel: eliminate blah-flags.cc that was included twice
r8134: (pasko) validator_ragel: x86-32: allow INC, DEC, LEAVE

BUG=none
TEST=nacl_integration

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130021 0039d316-1c4b-4281-b951-d872f2087c98
[Coverity] Fix uninitialized member

CID=103696

R=isherman@chromium.org
BUG=
TEST=


Review URL: http://codereview.chromium.org/9963040

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130022 0039d316-1c4b-4281-b951-d872f2087c98
[Chromoting] Add plumbing to carry clipboard events from the host to the client.

BUG=117473


Review URL: http://codereview.chromium.org/9921034

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130023 0039d316-1c4b-4281-b951-d872f2087c98
Revert 130019 - Enable the webrtc audio tests on the build bots that have audio hardware.

BUG=none
TEST=This enables the audio tests in content_unittests on bots with audio hardware.

Review URL: http://codereview.chromium.org/9921035

TBR=tommi@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9963042

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130024 0039d316-1c4b-4281-b951-d872f2087c98
Honor the "clear on exit" setting even if "continue where I left off" is selected.

This also cancels the session restore UI changes except renaming the "reopen last pages" to "continue where I left off".

BUG=121072
TEST=Manual


Review URL: http://codereview.chromium.org/9965012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130025 0039d316-1c4b-4281-b951-d872f2087c98
Remove suppression for leak from SelectFileDialogExtensionTest

The leak was introduced in crrev.com/126798 and fixed in crrev.com/127279.

BUG=118336
TEST=manually reproduced the leak by reverting crrev.com/126798 locally, and confirmed it's gone now.


Review URL: http://codereview.chromium.org/9963035

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130027 0039d316-1c4b-4281-b951-d872f2087c98
[Sync] Put datatypes into STOPPING state before disassociating.

BUG=120405
TEST=


Review URL: http://codereview.chromium.org/9956001

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130028 0039d316-1c4b-4281-b951-d872f2087c98
Add a sandbox API for broker handle duplication 

BUG=119250
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=129627
Review URL: https://chromiumcodereview.appspot.com/9838083

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130029 0039d316-1c4b-4281-b951-d872f2087c98
Update history.HistoryTest.testOneHistoryTabPerWindow for UI change.

History URL is now 'chrome://chrome/history/'.

Added the workaround for seeing 'Loading...' while history page is 
loading the second time.

Review URL: http://codereview.chromium.org/9950032

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130032 0039d316-1c4b-4281-b951-d872f2087c98
Fix a bug with r126884 - Make sure ports are closed when they're no longer used.

This fix will ensure the port is cleaned up, but won't close the channel until
there are no other ports listening to the channel.

I also added a call to clean up the port immediately after sending a response,
rather than waiting for GC.

BUG=114738
TEST=no


Review URL: http://codereview.chromium.org/9911031

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130033 0039d316-1c4b-4281-b951-d872f2087c98
Make ShareGroup thread safe

In another CL I'll refactor the id handlers AND
make the places sharing resources correctly set things
up.

TEST=none
BUG=120297


Review URL: http://codereview.chromium.org/9918027

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130034 0039d316-1c4b-4281-b951-d872f2087c98
Reland 129925 - ash: Icon cache for app list to save shadow generation time.

- Add an IconCache that stores processed (resized and shadow-generated) image,
  keyed by source image + desired size;
- The cache is created with AppList controller and destroyed when controller is
  gone;
- Controller marks all entries in cache unused before showing the UI and purges
  all unused entry after dismissing UI;
- In item view, try cache first to get processed image before scheduling job,
  and update cache when background processing comes back;

BUG=120961
TEST=Verify fix for issue 120961.

Review URL: http://codereview.chromium.org/9934006

TBR=sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130035 0039d316-1c4b-4281-b951-d872f2087c98
SPDY - Moved HttpServerPropertiesManager into ProfileIOData class
from ProfileImplIOData so that HttpServerPropertiesManager is
not deleted before we cancel the URLRequests.

Would like to try this change in Canary to see if it fixes
the crashes in SpdySession's RecordHistograms. Will revert it immediately.

Adding sail for OWNERS approval (as willchan was away).
BUG=111840
TEST=browser and network unit tests.
R=eroman

Review URL: http://codereview.chromium.org/9920001

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130036 0039d316-1c4b-4281-b951-d872f2087c98
ash: Remap Command on Apple keyboards to Control [2/2]

This is yusukes's http://codereview.chromium.org/9854025/
with my review comments applied.

chrome/browser/chromeos/xinput_hierarchy_changed_event_listener.cc:

* Every time when a new device is added, notify the name of
  the device to KeyRewriter.
* Listens to XI_KeyPress and XI_KeyRelease events to the X
  root window, and notify the device ID of the event to
  KeyRewriter so that the rewriter could know the source of
  the next KeyPress/KeyRelease Core event.

Note that it's not possible to monitor both XI_KeyPress and
core KeyPress events for a single X window. For example, if
we monitor XI_KeyPress events in aura::RootWindowHostLinux
(by calling XISelectEvents() for the root Aura window,
xwindow_), it becomes impossible to receive KeyPress core
events for |xwindow_| in RootWindowHostLinux. It's also
impossible to convert XI_KeyPress into core KeyPress. That
is the reason why xinput_hierarchy_changed_event_listener.cc
is used to monitor XI_KeyPress/Release events.

chrome/browser/ui/views/ash/key_rewriter.cc:

* Rewrites Command key press on an Apple keyboard to Control
  key press, regardless of the user preference for remapping
  modifier keys.

Part 1 of 2 (Ash part): http://codereview.chromium.org/9838010/

BUG=121012
TEST=manual
TBR=sky

Review URL: http://codereview.chromium.org/9963027

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130037 0039d316-1c4b-4281-b951-d872f2087c98
Move NextProto enum to a new file net/socket/next_proto.h

BUG=120890


Review URL: http://codereview.chromium.org/9959033

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