| 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/chromeos/dbus/bluetooth_agent_service_provider.h" | 5 #include "chromeos/dbus/bluetooth_agent_service_provider.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/chromeos/chromeos_version.h" | 10 #include "base/chromeos/chromeos_version.h" |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/threading/platform_thread.h" | 13 #include "base/threading/platform_thread.h" |
| 14 #include "dbus/bus.h" | 14 #include "dbus/bus.h" |
| 15 #include "dbus/exported_object.h" | 15 #include "dbus/exported_object.h" |
| (...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 559 const dbus::ObjectPath& object_path, | 559 const dbus::ObjectPath& object_path, |
| 560 Delegate* delegate) { | 560 Delegate* delegate) { |
| 561 if (base::chromeos::IsRunningOnChromeOS()) { | 561 if (base::chromeos::IsRunningOnChromeOS()) { |
| 562 return new BluetoothAgentServiceProviderImpl(bus, object_path, delegate); | 562 return new BluetoothAgentServiceProviderImpl(bus, object_path, delegate); |
| 563 } else { | 563 } else { |
| 564 return new BluetoothAgentServiceProviderStubImpl(delegate); | 564 return new BluetoothAgentServiceProviderStubImpl(delegate); |
| 565 } | 565 } |
| 566 } | 566 } |
| 567 | 567 |
| 568 } // namespace chromeos | 568 } // namespace chromeos |
| OLD | NEW |