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

Side by Side Diff: chromeos/dbus/fake_bluetooth_profile_manager_client.cc

Issue 947173002: Remove duplicate includes from chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 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 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 "chromeos/dbus/fake_bluetooth_profile_manager_client.h" 5 #include "chromeos/dbus/fake_bluetooth_profile_manager_client.h"
6 6
7 #include <map>
8 #include <string>
9 7
10 #include "base/bind.h"
11 #include "base/logging.h" 8 #include "base/logging.h"
12 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
13 #include "chromeos/dbus/fake_bluetooth_profile_service_provider.h" 10 #include "chromeos/dbus/fake_bluetooth_profile_service_provider.h"
14 #include "dbus/bus.h" 11 #include "dbus/bus.h"
15 #include "dbus/message.h" 12 #include "dbus/message.h"
16 #include "dbus/object_path.h"
17 #include "dbus/object_proxy.h" 13 #include "dbus/object_proxy.h"
18 #include "third_party/cros_system_api/dbus/service_constants.h" 14 #include "third_party/cros_system_api/dbus/service_constants.h"
19 15
20 namespace chromeos { 16 namespace chromeos {
21 17
22 const char FakeBluetoothProfileManagerClient::kL2capUuid[] = 18 const char FakeBluetoothProfileManagerClient::kL2capUuid[] =
23 "4d995052-33cc-4fdf-b446-75f32942a076"; 19 "4d995052-33cc-4fdf-b446-75f32942a076";
24 const char FakeBluetoothProfileManagerClient::kRfcommUuid[] = 20 const char FakeBluetoothProfileManagerClient::kRfcommUuid[] =
25 "3f6d6dbf-a6ad-45fc-9653-47dc912ef70e"; 21 "3f6d6dbf-a6ad-45fc-9653-47dc912ef70e";
26 22
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 FakeBluetoothProfileServiceProvider* 94 FakeBluetoothProfileServiceProvider*
99 FakeBluetoothProfileManagerClient::GetProfileServiceProvider( 95 FakeBluetoothProfileManagerClient::GetProfileServiceProvider(
100 const std::string& uuid) { 96 const std::string& uuid) {
101 ProfileMap::iterator iter = profile_map_.find(uuid); 97 ProfileMap::iterator iter = profile_map_.find(uuid);
102 if (iter == profile_map_.end()) 98 if (iter == profile_map_.end())
103 return NULL; 99 return NULL;
104 return service_provider_map_[iter->second]; 100 return service_provider_map_[iter->second];
105 } 101 }
106 102
107 } // namespace chromeos 103 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_bluetooth_input_client.cc ('k') | chromeos/dbus/fake_bluetooth_profile_service_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698