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

Side by Side Diff: chrome/browser/chromeos/bluetooth/bluetooth_service_record_interface.h

Issue 10899037: Refactoring bluetooth API code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added #include <string> into bluetooth_adapter_dbus.cc. Created 8 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_INTERFACE_H_
6 #define CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_INTERFACE_H_
7
8 #include <string>
9
10 namespace chromeos {
11
12 // The BluetoothServiceRecordInterface represents an SDP service record.
13 class BluetoothServiceRecordInterface {
14 public:
15 virtual ~BluetoothServiceRecordInterface() {}
16
17 // The human-readable name of this service.
18 virtual const std::string& name() const = 0;
19
20 // The UUID of the service. This field may be empty if no UUID was specified
21 // in the service record.
22 virtual const std::string& uuid() const = 0;
23 };
24
25 } // namespace chromeos
26
27 #endif // CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_INTERFACE_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698