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

Unified Diff: chrome/browser/chromeos/dbus/bluetooth_adapter_client.h

Issue 9317012: chrome: bluetooth: hook up DeviceCreated/Removed signals (Closed) Base URL: http://git.chromium.org/git/chromium/src.git@master
Patch Set: fix the object/device path confusion Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/dbus/bluetooth_adapter_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/dbus/bluetooth_adapter_client.h
diff --git a/chrome/browser/chromeos/dbus/bluetooth_adapter_client.h b/chrome/browser/chromeos/dbus/bluetooth_adapter_client.h
index 73aaee2bf3bdf8d32c2b3cd05eb482ceb3d47ac4..10056683f5dbb200651a796288367e24c8889791 100644
--- a/chrome/browser/chromeos/dbus/bluetooth_adapter_client.h
+++ b/chrome/browser/chromeos/dbus/bluetooth_adapter_client.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -27,6 +27,14 @@ class BluetoothAdapterClient {
public:
virtual ~Observer() {}
+ // Called when a new known device has been created.
+ virtual void DeviceCreated(const std::string& object_path,
+ const std::string& device_path) {}
+
+ // Called when a previously known device is removed.
+ virtual void DeviceRemoved(const std::string& object_path,
+ const std::string& device_path) {}
+
// Called when the adapter's Discovering property changes.
virtual void DiscoveringPropertyChanged(const std::string& object_path,
bool discovering) {}
« no previous file with comments | « no previous file | chrome/browser/chromeos/dbus/bluetooth_adapter_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698