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

Side by Side Diff: third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothError.h

Issue 2142813003: bluetooth: Avoid including non-blink mojo bindings in blink code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@my-origin
Patch Set: Add DCHECK for enum Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WebBluetoothError_h
6 #define WebBluetoothError_h
7
8 #include "public/platform/modules/bluetooth/web_bluetooth.mojom.h"
9
10 namespace blink {
11
12 // Errors that can occur during Web Bluetooth execution, which are transformed
13 // to a DOMException in Source/modules/bluetooth/BluetoothError.cpp.
14 //
15 // These errors all produce constant message strings. If a particular message
16 // needs a dynamic component, we should add a separate enum so type-checking the IPC
17 // ensures the dynamic component is passed.
18 using WebBluetoothError = mojom::WebBluetoothError;
19 } // namespace blink
20
21 #endif // WebBluetoothError_h
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698