OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/common/extensions/api/bluetooth/bluetooth_manifest_data.h" | 5 #include "extensions/common/api/bluetooth/bluetooth_manifest_data.h" |
6 | 6 |
7 #include "chrome/common/extensions/api/bluetooth/bluetooth_manifest_permission.h
" | 7 #include "extensions/common/api/bluetooth/bluetooth_manifest_permission.h" |
8 #include "extensions/common/manifest_constants.h" | 8 #include "extensions/common/manifest_constants.h" |
9 | 9 |
10 namespace extensions { | 10 namespace extensions { |
11 | 11 |
12 BluetoothManifestData::BluetoothManifestData( | 12 BluetoothManifestData::BluetoothManifestData( |
13 scoped_ptr<BluetoothManifestPermission> permission) | 13 scoped_ptr<BluetoothManifestPermission> permission) |
14 : permission_(permission.Pass()) { | 14 : permission_(permission.Pass()) { |
15 DCHECK(permission_); | 15 DCHECK(permission_); |
16 } | 16 } |
17 | 17 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 new BluetoothManifestData(permission.Pass())).Pass(); | 58 new BluetoothManifestData(permission.Pass())).Pass(); |
59 } | 59 } |
60 | 60 |
61 BluetoothPermissionRequest::BluetoothPermissionRequest( | 61 BluetoothPermissionRequest::BluetoothPermissionRequest( |
62 const std::string& uuid) | 62 const std::string& uuid) |
63 : uuid(uuid) {} | 63 : uuid(uuid) {} |
64 | 64 |
65 BluetoothPermissionRequest::~BluetoothPermissionRequest() {} | 65 BluetoothPermissionRequest::~BluetoothPermissionRequest() {} |
66 | 66 |
67 } // namespace extensions | 67 } // namespace extensions |
OLD | NEW |