[NaCl SDK] nacl_io: add support for open flags to socket(2).

With glibc headers there are SOCK_CLOEXEC and SOCK_NONBLOCK
flags declared in the headers which were previously not
supported by our socket(2) implementation.  These flags
are now converted to open flags and passed into the socket
node's Init function.

Also, distinguish better invalid, and unsupported socket
types and set to errno accordingly.

The motivation for this change is the ruby socket library
which replies on this behavior.

R=binji@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233629 0039d316-1c4b-4281-b951-d872f2087c98
[Sync] Add dump/import functionality to sync's about tab

A dump button, that by default excludes identifiable info, along with an import
button capable of consuming the dumped data, are now present on the
chrome://sync-internals about tab.

BUG=309112
R=rlarocque@chromium.org
TBR=rkc@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233630 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 233629
SVN changes up to revision 233630
Disabled PrerenderBrowserTest.PrerenderClearCache due to flakiness on win7_aura.

BUG=316225
TBR=davidben@chromium.org,dschuff@chromium.org,antonm@chromium.org

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

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