| 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/browser/ui/webui/options/chromeos/bluetooth_options_handler.h" | 5 #include "chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 { "bluetoothConnectAuthFailed", | 85 { "bluetoothConnectAuthFailed", |
| 86 IDS_OPTIONS_SETTINGS_BLUETOOTH_CONNECT_AUTH_FAILED }, | 86 IDS_OPTIONS_SETTINGS_BLUETOOTH_CONNECT_AUTH_FAILED }, |
| 87 { "bluetoothConnectAuthCanceled", | 87 { "bluetoothConnectAuthCanceled", |
| 88 IDS_OPTIONS_SETTINGS_BLUETOOTH_CONNECT_AUTH_CANCELED }, | 88 IDS_OPTIONS_SETTINGS_BLUETOOTH_CONNECT_AUTH_CANCELED }, |
| 89 { "bluetoothConnectAuthRejected", | 89 { "bluetoothConnectAuthRejected", |
| 90 IDS_OPTIONS_SETTINGS_BLUETOOTH_CONNECT_AUTH_REJECTED }, | 90 IDS_OPTIONS_SETTINGS_BLUETOOTH_CONNECT_AUTH_REJECTED }, |
| 91 { "bluetoothConnectAuthTimeout", | 91 { "bluetoothConnectAuthTimeout", |
| 92 IDS_OPTIONS_SETTINGS_BLUETOOTH_CONNECT_AUTH_TIMEOUT }, | 92 IDS_OPTIONS_SETTINGS_BLUETOOTH_CONNECT_AUTH_TIMEOUT }, |
| 93 { "bluetoothConnectUnsupportedDevice", | 93 { "bluetoothConnectUnsupportedDevice", |
| 94 IDS_OPTIONS_SETTINGS_BLUETOOTH_CONNECT_UNSUPPORTED_DEVICE }, | 94 IDS_OPTIONS_SETTINGS_BLUETOOTH_CONNECT_UNSUPPORTED_DEVICE }, |
| 95 { "bluetoothConnectAttributeLengthInvalid", | |
| 96 IDS_OPTIONS_SETTINGS_BLUETOOTH_CONNECT_ATTRIBUTE_LENGTH_INVALID }, | |
| 97 { "bluetoothConnectConnectionCongested", | |
| 98 IDS_OPTIONS_SETTINGS_BLUETOOTH_CONNECT_CONNECTION_CONGESTED }, | |
| 99 { "bluetoothConnectInsufficientEncryption", | |
| 100 IDS_OPTIONS_SETTINGS_BLUETOOTH_CONNECT_INSUFFICIENT_ENCRYPTION }, | |
| 101 { "bluetoothConnectOffsetInvalid", | |
| 102 IDS_OPTIONS_SETTINGS_BLUETOOTH_CONNECT_OFFSET_INVALID }, | |
| 103 { "bluetoothConnectReadNotPermitted", | |
| 104 IDS_OPTIONS_SETTINGS_BLUETOOTH_CONNECT_READ_NOT_PERMITTED }, | |
| 105 { "bluetoothConnectRequestNotSupported", | |
| 106 IDS_OPTIONS_SETTINGS_BLUETOOTH_CONNECT_REQUEST_NOT_SUPPORTED }, | |
| 107 { "bluetoothConnectWriteNotPermitted", | |
| 108 IDS_OPTIONS_SETTINGS_BLUETOOTH_CONNECT_WRITE_NOT_PERMITTED }, | |
| 109 { "bluetoothDisconnectFailed", | 95 { "bluetoothDisconnectFailed", |
| 110 IDS_OPTIONS_SETTINGS_BLUETOOTH_DISCONNECT_FAILED }, | 96 IDS_OPTIONS_SETTINGS_BLUETOOTH_DISCONNECT_FAILED }, |
| 111 { "bluetoothForgetFailed", | 97 { "bluetoothForgetFailed", |
| 112 IDS_OPTIONS_SETTINGS_BLUETOOTH_FORGET_FAILED }}; | 98 IDS_OPTIONS_SETTINGS_BLUETOOTH_FORGET_FAILED }}; |
| 113 | 99 |
| 114 RegisterStrings(localized_strings, resources, arraysize(resources)); | 100 RegisterStrings(localized_strings, resources, arraysize(resources)); |
| 115 } | 101 } |
| 116 | 102 |
| 117 } // namespace options | 103 } // namespace options |
| 118 } // namespace chromeos | 104 } // namespace chromeos |
| OLD | NEW |