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

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: Created 5 years, 9 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
Index: public/platform/WebBluetoothError.h
diff --git a/public/platform/WebBluetoothError.h b/public/platform/WebBluetoothError.h
index 9be6590deebeba9cc0cc017a47db77cfd9fec9d0..47ba0016ee611bfd4bc148abcf430265882686ca 100644
--- a/public/platform/WebBluetoothError.h
+++ b/public/platform/WebBluetoothError.h
@@ -2,31 +2,4 @@
// 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
+#include "public/platform/modules/bluetooth/WebBluetoothError.h"
scheib 2015/04/13 17:46:34 ditto

Powered by Google App Engine
This is Rietveld 408576698