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

Side by Side Diff: device/bluetooth/bluetooth_service_record_chromeos.h

Issue 11884027: Separated BluetoothServiceRecord interface from BluetoothServiceRecordChromeOs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: changed namespace from device to chromeos. Created 7 years, 11 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) 2013 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 DEVICE_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_CHROMEOS_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_CHROMEOS_H_
7
8 #include <string>
9
10 #include "base/basictypes.h"
11 #include "device/bluetooth/bluetooth_service_record.h"
12
13 class XmlReader;
14
15 namespace chromeos {
tfarina 2013/01/15 17:08:13 shouldn't this be in device namespace? this is und
youngki 2013/01/15 17:18:31 All other *_chromeos.* in device use chromeos name
tfarina 2013/01/15 17:23:04 This is not following any convention. This is craz
16
17 // BluetoothServiceRecordChromeOs is an implementation of BluetoothServiceRecord
18 // for the ChromeOS platform.
19 class BluetoothServiceRecordChromeOs : public device::BluetoothServiceRecord {
tfarina 2013/01/15 17:08:13 ChromeOs is too weird. ChromeOS seems better.
youngki 2013/01/15 17:18:31 Again, all other classes in device directory use C
tfarina 2013/01/15 17:23:04 Not in this CL of course, but could be done in a f
20 public:
21 BluetoothServiceRecordChromeOs(
22 const std::string& address,
tfarina 2013/01/15 17:08:13 doesn't this fit above?
youngki 2013/01/15 17:18:31 Done.
23 const std::string& xml_data);
24
25 private:
26 void ExtractChannels(XmlReader* reader);
27 void ExtractUuid(XmlReader* reader);
28
29 DISALLOW_COPY_AND_ASSIGN(BluetoothServiceRecordChromeOs);
30 };
31
32 } // namespace chromeos
33
34 #endif // DEVICE_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_CHROMEOS_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_service_record.cc ('k') | device/bluetooth/bluetooth_service_record_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698