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/options2/chromeos/bluetooth_options_handler2.h
" | 5 #include "chrome/browser/ui/webui/options2/chromeos/bluetooth_options_handler2.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/options2/chromeos/system_settings_provider2.h" | 13 #include "chrome/browser/ui/webui/options2/chromeos/system_settings_provider2.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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 void BluetoothOptionsHandler::ErrorCallback() { | 389 void BluetoothOptionsHandler::ErrorCallback() { |
391 // TODO(keybuk): we don't get any form of error response from dbus:: | 390 // TODO(keybuk): we don't get any form of error response from dbus:: |
392 // yet, other than an error occurred. I'm going to fix that, then this | 391 // yet, other than an error occurred. I'm going to fix that, then this |
393 // gets replaced by genuine error information from the method which we | 392 // gets replaced by genuine error information from the method which we |
394 // can act on, rather than a debug log statement. | 393 // can act on, rather than a debug log statement. |
395 DVLOG(1) << "Failed."; | 394 DVLOG(1) << "Failed."; |
396 } | 395 } |
397 | 396 |
398 } // namespace options2 | 397 } // namespace options2 |
399 } // namespace chromeos | 398 } // namespace chromeos |
OLD | NEW |