Introduce chrome.bluetoothSocket API.

This CL adds the initial function and object type definitions of the
chrome.bluetoothSocket API. This API will replace the socket-related
functions in the existing chrome.bluetooth API and is intended to
supply the Bluetooth Classic complement to the
chrome.bluetoothLowEnergy API.

Unlike the sockets API, there is no separation of client and server
because such separation is not clearly defined in Bluetooth profiles
either. It will not be uncommon for an application to attempt to make
a connection, and if it fails, fall back to listening instead, for
example.

All functions currently return an error when invoked.

BUG=349475,364581
TBR=mkearney

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266362 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/extensions/browser/extension_function_histogram_value.h b/extensions/browser/extension_function_histogram_value.h
index 084c2b9..63827b5e 100644
--- a/extensions/browser/extension_function_histogram_value.h
+++ b/extensions/browser/extension_function_histogram_value.h
@@ -794,6 +794,18 @@
   BLUETOOTHLOWENERGY_WRITEDESCRIPTORVALUE,
   BOOKMARKMANAGERPRIVATE_CREATEWITHMETAINFO,
   BOOKMARKMANAGERPRIVATE_UPDATEMETAINFO,
+  BLUETOOTHSOCKET_CREATE,
+  BLUETOOTHSOCKET_UPDATE,
+  BLUETOOTHSOCKET_SETPAUSED,
+  BLUETOOTHSOCKET_LISTENUSINGRFCOMM,
+  BLUETOOTHSOCKET_LISTENUSINGINSECURERFCOMM,
+  BLUETOOTHSOCKET_LISTENUSINGL2CAP,
+  BLUETOOTHSOCKET_CONNECT,
+  BLUETOOTHSOCKET_DISCONNECT,
+  BLUETOOTHSOCKET_CLOSE,
+  BLUETOOTHSOCKET_SEND,
+  BLUETOOTHSOCKET_GETINFO,
+  BLUETOOTHSOCKET_GETSOCKETS,
   // Last entry: Add new entries above and ensure to update
   // tools/metrics/histograms/histograms/histograms.xml.
   ENUM_BOUNDARY