Revert 230822 "Revert 230784 "Autofill: Slightly change algorith..."

> Revert 230784 "Autofill: Slightly change algorithm to guess user..."
> 
> as per http://build.chromium.org/p/chromium.memory/builders/Mac%20ASAN%2064-bit/builds/1304/steps/unit_tests/logs/stdio, AutofillDialogControllerTest.NewAutofillProfileIsDefault seems to hang
> 
> > Autofill: Slightly change algorithm to guess user's country.
> > 
> > When inputting a new address, default to the country that the user has used for previous addresses (if other addresses are already stored). Failing that, fall back to a locale-based guess.
> > 
> > BUG=303368
> > 
> > Review URL: https://codereview.chromium.org/32903002
> 
> TBR=estade@chromium.org
> 
> Review URL: https://codereview.chromium.org/41693002

This retries r230784, without calling LoadAuxiliaryProfiles (which causes mac bots to hang).

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232021 0039d316-1c4b-4281-b951-d872f2087c98
[NTP] Provide a check for Chrome identity to NTP

Now part of SearchBox API, the ability to test against the user's Chrome identity.

Will make the actual check in the browser process, and callback to the NTP.

BUG=280169
TEST=unit,manual:
1) Run chrome with --enable-instant-extended-api
2) In the dev console, while on the NTP:
*Signed-out of Chrome*
chrome.embeddedSearch.newTabPage.onsignedincheckdone = function(identityMatch, identity) {
  window.console.log(identityMatch);
  window.console.log(identity);
};
chrome.embeddedSearch.newTabPage.checkIsUserSignedIntoChromeAs("foo@bar.com")
-> false
-> (empty string)
chrome.embeddedSearch.newTabPage.checkIsUserSignedIntoChromeAs("")
-> true
-> (empty string)
*Sign in to Chrome as foo@bar.com*
chrome.embeddedSearch.newTabPage.checkIsUserSignedIntoChromeAs("foo@bar.com")
-> true
-> foo@bar.com

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

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