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

Unified Diff: content/shell/browser/layout_test/layout_test_bluetooth_fake_adapter_setter_impl.h

Issue 2326913003: Privatize StrongBinding lifetime management (Closed)
Patch Set: rebase Created 4 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 side-by-side diff with in-line comments
Download patch
Index: content/shell/browser/layout_test/layout_test_bluetooth_fake_adapter_setter_impl.h
diff --git a/content/shell/browser/layout_test/layout_test_bluetooth_fake_adapter_setter_impl.h b/content/shell/browser/layout_test/layout_test_bluetooth_fake_adapter_setter_impl.h
index b3fcb09f634ae5a11f232ccba0892413d32b2643..bc8fc022586ab5ae631348c266ccca3096c40649 100644
--- a/content/shell/browser/layout_test/layout_test_bluetooth_fake_adapter_setter_impl.h
+++ b/content/shell/browser/layout_test/layout_test_bluetooth_fake_adapter_setter_impl.h
@@ -7,7 +7,6 @@
#include "base/macros.h"
#include "content/shell/common/layout_test/layout_test_bluetooth_fake_adapter_setter.mojom.h"
-#include "mojo/public/cpp/bindings/strong_binding.h"
namespace content {
class RenderProcessHost;
@@ -15,19 +14,16 @@ class RenderProcessHost;
class LayoutTestBluetoothFakeAdapterSetterImpl
: public mojom::LayoutTestBluetoothFakeAdapterSetter {
public:
+ LayoutTestBluetoothFakeAdapterSetterImpl();
+ ~LayoutTestBluetoothFakeAdapterSetterImpl() override;
+
static void Create(
mojom::LayoutTestBluetoothFakeAdapterSetterRequest request);
private:
- LayoutTestBluetoothFakeAdapterSetterImpl(
- mojom::LayoutTestBluetoothFakeAdapterSetterRequest request);
- ~LayoutTestBluetoothFakeAdapterSetterImpl() override;
-
void Set(const std::string& adapter_name,
const SetCallback& callback) override;
- mojo::StrongBinding<LayoutTestBluetoothFakeAdapterSetter> binding_;
-
DISALLOW_COPY_AND_ASSIGN(LayoutTestBluetoothFakeAdapterSetterImpl);
};

Powered by Google App Engine
This is Rietveld 408576698