OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/permissions/bluetooth_device_permission.h" | 5 #include "chrome/common/extensions/permissions/bluetooth_device_permission.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "base/string_util.h" | 12 #include "base/strings/string_util.h" |
13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
14 #include "chrome/common/extensions/permissions/bluetooth_device_permission_data.
h" | 14 #include "chrome/common/extensions/permissions/bluetooth_device_permission_data.
h" |
15 #include "chrome/common/extensions/permissions/permissions_info.h" | 15 #include "chrome/common/extensions/permissions/permissions_info.h" |
16 #include "device/bluetooth/bluetooth_adapter.h" | 16 #include "device/bluetooth/bluetooth_adapter.h" |
17 #include "device/bluetooth/bluetooth_adapter_factory.h" | 17 #include "device/bluetooth/bluetooth_adapter_factory.h" |
18 #include "device/bluetooth/bluetooth_device.h" | 18 #include "device/bluetooth/bluetooth_device.h" |
19 #include "grit/generated_resources.h" | 19 #include "grit/generated_resources.h" |
20 #include "ui/base/l10n/l10n_util.h" | 20 #include "ui/base/l10n/l10n_util.h" |
21 | 21 |
22 namespace extensions { | 22 namespace extensions { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 PermissionMessage::kBluetoothDevice, | 62 PermissionMessage::kBluetoothDevice, |
63 l10n_util::GetStringFUTF16( | 63 l10n_util::GetStringFUTF16( |
64 IDS_EXTENSION_PROMPT_WARNING_BLUETOOTH_DEVICE, | 64 IDS_EXTENSION_PROMPT_WARNING_BLUETOOTH_DEVICE, |
65 device_identifier))); | 65 device_identifier))); |
66 } | 66 } |
67 | 67 |
68 return result; | 68 return result; |
69 } | 69 } |
70 | 70 |
71 } // namespace extensions | 71 } // namespace extensions |
OLD | NEW |