chromeos: Rewrite login code to get the system salt asynchronously

Stop storing ascii_hash_, call HashPassword with the raw password before using it.
Change HashPassword to take the system salt as argument, instead of calling GetSystemSalt synchronously.
Make ParallelAuthenticator::HashPassword public to use it from the unit test.

BUG=141009
TEST=git cl try

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228403 0039d316-1c4b-4281-b951-d872f2087c98
Clean up things -Wunused-const-variable complains about.

The code used to be clean, but new violations snuck in.
webrtc is still not clean, so we still can't turn on the warning.

BUG=none
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228404 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 228403
Remove usages of HeapProfiler.finishHeapSnapshot event

HeapProfiler.finishHeapSnapshot is being removed from the protocol (see https://codereview.chromium.org/27000005/). This change makes heap_snapshot_taker use the same mechanism as in DevTools front-end.

BUG=306475

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228405 0039d316-1c4b-4281-b951-d872f2087c98
Implement --force-variation-ids

- Adds a new flag --force-variation-ids
- Accepts a comma-separated list of numeric experiment ids.
- Strictly meant for dev use.
- Basic error checking for invalid flags based on StringToInt behavior.

BUG=305882

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

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