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_handler.h" | 5 #include "extensions/common/api/bluetooth/bluetooth_manifest_handler.h" |
6 | 6 |
7 #include "chrome/common/extensions/api/bluetooth/bluetooth_manifest_data.h" | 7 #include "extensions/common/api/bluetooth/bluetooth_manifest_data.h" |
8 #include "chrome/common/extensions/api/bluetooth/bluetooth_manifest_permission.h
" | 8 #include "extensions/common/api/bluetooth/bluetooth_manifest_permission.h" |
9 #include "extensions/common/extension.h" | 9 #include "extensions/common/extension.h" |
10 #include "extensions/common/manifest_constants.h" | 10 #include "extensions/common/manifest_constants.h" |
11 | 11 |
12 namespace extensions { | 12 namespace extensions { |
13 | 13 |
14 BluetoothManifestHandler::BluetoothManifestHandler() {} | 14 BluetoothManifestHandler::BluetoothManifestHandler() {} |
15 | 15 |
16 BluetoothManifestHandler::~BluetoothManifestHandler() {} | 16 BluetoothManifestHandler::~BluetoothManifestHandler() {} |
17 | 17 |
18 bool BluetoothManifestHandler::Parse(Extension* extension, | 18 bool BluetoothManifestHandler::Parse(Extension* extension, |
(...skipping 19 matching lines...) Expand all Loading... |
38 if (data) | 38 if (data) |
39 return data->permission()->Clone(); | 39 return data->permission()->Clone(); |
40 return NULL; | 40 return NULL; |
41 } | 41 } |
42 | 42 |
43 const std::vector<std::string> BluetoothManifestHandler::Keys() const { | 43 const std::vector<std::string> BluetoothManifestHandler::Keys() const { |
44 return SingleKey(manifest_keys::kBluetooth); | 44 return SingleKey(manifest_keys::kBluetooth); |
45 } | 45 } |
46 | 46 |
47 } // namespace extensions | 47 } // namespace extensions |
OLD | NEW |