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/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
10 #include "base/values.h" | 10 #include "base/values.h" |
11 #include "chrome/browser/chromeos/bluetooth/bluetooth_adapter.h" | 11 #include "chrome/browser/chromeos/bluetooth/bluetooth_adapter.h" |
12 #include "chrome/browser/chromeos/bluetooth/bluetooth_device.h" | 12 #include "chrome/browser/chromeos/bluetooth/bluetooth_device.h" |
13 #include "chrome/browser/chromeos/system/runtime_environment.h" | |
14 #include "chrome/browser/ui/webui/options/chromeos/system_settings_provider.h" | 13 #include "chrome/browser/ui/webui/options/chromeos/system_settings_provider.h" |
15 #include "content/public/browser/web_ui.h" | 14 #include "content/public/browser/web_ui.h" |
16 #include "grit/chromium_strings.h" | 15 #include "grit/chromium_strings.h" |
17 #include "grit/generated_resources.h" | 16 #include "grit/generated_resources.h" |
18 #include "third_party/cros_system_api/dbus/service_constants.h" | 17 #include "third_party/cros_system_api/dbus/service_constants.h" |
19 #include "ui/base/l10n/l10n_util.h" | 18 #include "ui/base/l10n/l10n_util.h" |
20 | 19 |
21 namespace { | 20 namespace { |
22 | 21 |
23 // |UpdateDeviceCallback| takes a variable length list as an argument. The | 22 // |UpdateDeviceCallback| takes a variable length list as an argument. The |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 | 291 |
293 void BluetoothOptionsHandler::ErrorCallback() { | 292 void BluetoothOptionsHandler::ErrorCallback() { |
294 // TODO(keybuk): we don't get any form of error response from dbus:: | 293 // TODO(keybuk): we don't get any form of error response from dbus:: |
295 // yet, other than an error occurred. I'm going to fix that, then this | 294 // yet, other than an error occurred. I'm going to fix that, then this |
296 // gets replaced by genuine error information from the method which we | 295 // gets replaced by genuine error information from the method which we |
297 // can act on, rather than a debug log statement. | 296 // can act on, rather than a debug log statement. |
298 DVLOG(1) << "Failed."; | 297 DVLOG(1) << "Failed."; |
299 } | 298 } |
300 | 299 |
301 } // namespace chromeos | 300 } // namespace chromeos |
OLD | NEW |