Avoid function call for disabled DCHECK in non-official release build

Previously each disabled DCHECK in non-official release build needs
to call a function. This change avoids the cost of the function call.

Now on x86, assembly code of a DCHECK is like the following:
   mov    g_dcheck_state,%rax
   cmpl   $0x1,(%rax)
   je     dcheck_enabled
   # normal code
   ...
dcheck_enabled:
   ...

BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254909 0039d316-1c4b-4281-b951-d872f2087c98
drive: Add permission insertion method to DriveServiceInterface.

BUG=348465

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254910 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 254909
Extract configuration step from pref_hash_filter to chrome_pref_service_factory

BUG=349158

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254912 0039d316-1c4b-4281-b951-d872f2087c98
Fix leak in content::WebKitPlatformSupportChildImpl::waitMultipleEvents

BUG=348630
R=jam@chromium.org

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

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