Ignore unnecessary brackets in JSON/IDL API generated code.

BUG=322752
TEST=compiled

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241856 0039d316-1c4b-4281-b951-d872f2087c98
Prevent ONC-pushed certificates from being used with multiprofiles.

If a profile uses ONC-pushed certificates then it can't be part of a
multiprofile session for security reasons. This change enforces that:

- if ONC-pushed certificates are in use then multiprofiles is disabled;

- if a multiprofile session is ongoing then updates to the certificates
  pushed by ONC are ignored until the next restart;

- a profile that already used an ONC-pushed certificate before can not
  join a multiprofile session.

The last point required moving the "tainted" signal from the profile's
prefs into local_state, so that it can be checked before the profile
is loaded and added to the session.

BUG=323854

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

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