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

Side by Side Diff: content/shell/browser/layout_test/layout_test_bluetooth_fake_adapter_setter_impl.h

Issue 2851173004: Eliminate bind callback that doesn't take a BindSourceInfo parameter. (Closed)
Patch Set: . Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_FAKE_ADAPTER_SET TER_IMPL_H_ 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_FAKE_ADAPTER_SET TER_IMPL_H_
6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_FAKE_ADAPTER_SET TER_IMPL_H_ 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_FAKE_ADAPTER_SET TER_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "content/shell/common/layout_test/layout_test_bluetooth_fake_adapter_se tter.mojom.h" 9 #include "content/shell/common/layout_test/layout_test_bluetooth_fake_adapter_se tter.mojom.h"
10 10
11 namespace service_manager {
12 struct BindSourceInfo;
13 }
14
11 namespace content { 15 namespace content {
12 16
13 class LayoutTestBluetoothFakeAdapterSetterImpl 17 class LayoutTestBluetoothFakeAdapterSetterImpl
14 : public mojom::LayoutTestBluetoothFakeAdapterSetter { 18 : public mojom::LayoutTestBluetoothFakeAdapterSetter {
15 public: 19 public:
16 LayoutTestBluetoothFakeAdapterSetterImpl(); 20 LayoutTestBluetoothFakeAdapterSetterImpl();
17 ~LayoutTestBluetoothFakeAdapterSetterImpl() override; 21 ~LayoutTestBluetoothFakeAdapterSetterImpl() override;
18 22
19 static void Create( 23 static void Create(
24 const service_manager::BindSourceInfo& source_info,
20 mojom::LayoutTestBluetoothFakeAdapterSetterRequest request); 25 mojom::LayoutTestBluetoothFakeAdapterSetterRequest request);
21 26
22 private: 27 private:
23 void Set(const std::string& adapter_name, 28 void Set(const std::string& adapter_name,
24 const SetCallback& callback) override; 29 const SetCallback& callback) override;
25 30
26 DISALLOW_COPY_AND_ASSIGN(LayoutTestBluetoothFakeAdapterSetterImpl); 31 DISALLOW_COPY_AND_ASSIGN(LayoutTestBluetoothFakeAdapterSetterImpl);
27 }; 32 };
28 33
29 } // namespace content 34 } // namespace content
30 35
31 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_FAKE_ADAPTER_ SETTER_IMPL_H_ 36 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_FAKE_ADAPTER_ SETTER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698