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

Unified Diff: chromeos/dbus/bluetooth_profile_manager_client.h

Issue 276573004: Bluetooth: Implement new socket API for Chrome OS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
Index: chromeos/dbus/bluetooth_profile_manager_client.h
diff --git a/chromeos/dbus/bluetooth_profile_manager_client.h b/chromeos/dbus/bluetooth_profile_manager_client.h
index 4301ce91656cbfa75ef976ce9c7d79378e8ff36d..8588e513e34a631368526aeeea95e9bbd1fd671f 100644
--- a/chromeos/dbus/bluetooth_profile_manager_client.h
+++ b/chromeos/dbus/bluetooth_profile_manager_client.h
@@ -9,6 +9,7 @@
#include <vector>
#include "base/callback.h"
+#include "base/memory/scoped_ptr.h"
#include "base/values.h"
#include "chromeos/chromeos_export.h"
#include "chromeos/dbus/dbus_client.h"
@@ -35,37 +36,37 @@ class CHROMEOS_EXPORT BluetoothProfileManagerClient : public DBusClient {
~Options();
// Human readable name for the profile.
- std::string name;
+ scoped_ptr<std::string> name;
// Primary service class UUID (if different from the actual UUID)
- std::string service;
+ scoped_ptr<std::string> service;
// Role.
enum ProfileRole role;
// RFCOMM channel number.
- uint16 channel;
+ scoped_ptr<uint16> channel;
// PSM number.
- uint16 psm;
+ scoped_ptr<uint16> psm;
// Pairing is required before connections will be established.
- bool require_authentication;
+ scoped_ptr<bool> require_authentication;
// Request authorization before connections will be established.
- bool require_authorization;
+ scoped_ptr<bool> require_authorization;
// Force connections when a remote device is connected.
- bool auto_connect;
+ scoped_ptr<bool> auto_connect;
// Manual SDP record.
- std::string service_record;
+ scoped_ptr<std::string> service_record;
// Profile version.
- uint16 version;
+ scoped_ptr<uint16> version;
// Profile features.
- uint16 features;
+ scoped_ptr<uint16> features;
};
virtual ~BluetoothProfileManagerClient();
« no previous file with comments | « no previous file | chromeos/dbus/bluetooth_profile_manager_client.cc » ('j') | chromeos/dbus/bluetooth_profile_manager_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698