Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1405)

Unified Diff: content/common/bluetooth/bluetooth_error.h

Issue 699843003: bluetooth: Impl uses new WebBluetoothDevice in content/browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: fix compile failure on android. Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/bluetooth/bluetooth_error.h
diff --git a/content/common/bluetooth/bluetooth_error.h b/content/common/bluetooth/bluetooth_error.h
new file mode 100644
index 0000000000000000000000000000000000000000..7e936c9290cd742b741df6ac61e24954797858e2
--- /dev/null
+++ b/content/common/bluetooth/bluetooth_error.h
@@ -0,0 +1,16 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_COMMON_BLUETOOTH_BLUETOOTH_ERROR_H_
+#define CONTENT_COMMON_BLUETOOTH_BLUETOOTH_ERROR_H_
+
+namespace content {
+
+// Error enumerations corresponding to blink::WebBluetoothError::ErrorType
+// used to create DOMExceptions.
+enum class BluetoothError { NOT_FOUND, SECURITY, ENUM_MAX_VALUE = SECURITY };
+
+} // namespace content
+
+#endif // CONTENT_COMMON_BLUETOOTH_BLUETOOTH_ERROR_H_

Powered by Google App Engine
This is Rietveld 408576698