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

Unified Diff: public/platform/WebBluetoothError.h

Issue 1059793002: bluetooth: Move Bluetooth-related Blink API headers into their own directory. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: bluetooth: Move Bluetooth-related Blink API headers into their own directory. Created 5 years, 8 months 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
« no previous file with comments | « public/platform/WebBluetoothDevice.h ('k') | public/platform/modules/bluetooth/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebBluetoothError.h
diff --git a/public/platform/WebBluetoothError.h b/public/platform/WebBluetoothError.h
index 9be6590deebeba9cc0cc017a47db77cfd9fec9d0..5af573cb05a8cc7171fde4b129021e31dd116b77 100644
--- a/public/platform/WebBluetoothError.h
+++ b/public/platform/WebBluetoothError.h
@@ -2,31 +2,5 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WebBluetoothError_h
-#define WebBluetoothError_h
-
-#include "WebString.h"
-
-namespace blink {
-
-// Error object when a bluetooth request can not be satisfied used to create
-// DOMExceptions.
-struct WebBluetoothError {
- enum ErrorType {
- NotFoundError,
- SecurityError
- };
-
- WebBluetoothError(ErrorType errorType, const WebString& message)
- : errorType(errorType)
- , message(message)
- {
- }
-
- ErrorType errorType;
- WebString message;
-};
-
-} // namespace blink
-
-#endif // WebBluetoothError_h
+// TODO(ortuno): Will be removed in https://crrev.com/1060643002
+#include "public/platform/modules/bluetooth/WebBluetoothError.h"
« no previous file with comments | « public/platform/WebBluetoothDevice.h ('k') | public/platform/modules/bluetooth/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698