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

Side by Side Diff: chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc

Issue 1464443002: bluetooth: android: Add BluetoothDevice::ConnectErrorCode enums (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: VI Created 4 years, 11 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
OLDNEW
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
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 },
95 { "bluetoothDisconnectFailed", 109 { "bluetoothDisconnectFailed",
96 IDS_OPTIONS_SETTINGS_BLUETOOTH_DISCONNECT_FAILED }, 110 IDS_OPTIONS_SETTINGS_BLUETOOTH_DISCONNECT_FAILED },
97 { "bluetoothForgetFailed", 111 { "bluetoothForgetFailed",
98 IDS_OPTIONS_SETTINGS_BLUETOOTH_FORGET_FAILED }}; 112 IDS_OPTIONS_SETTINGS_BLUETOOTH_FORGET_FAILED }};
99 113
100 RegisterStrings(localized_strings, resources, arraysize(resources)); 114 RegisterStrings(localized_strings, resources, arraysize(resources));
101 } 115 }
102 116
103 } // namespace options 117 } // namespace options
104 } // namespace chromeos 118 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698