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

Unified Diff: components/cryptauth/ble/bluetooth_low_energy_weave_client_connection.h

Issue 2844773002: [ProximityAuth] Remote static initializers from uWeave classes. (Closed)
Patch Set: Created 3 years, 8 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: components/cryptauth/ble/bluetooth_low_energy_weave_client_connection.h
diff --git a/components/cryptauth/ble/bluetooth_low_energy_weave_client_connection.h b/components/cryptauth/ble/bluetooth_low_energy_weave_client_connection.h
index c77c894ab536855710410e57c3b5ac1a09e01f89..c8d40aa07fc3010679d2d0fb991874169d53c4b0 100644
--- a/components/cryptauth/ble/bluetooth_low_energy_weave_client_connection.h
+++ b/components/cryptauth/ble/bluetooth_low_energy_weave_client_connection.h
@@ -63,7 +63,7 @@ class BluetoothLowEnergyWeaveClientConnection
BluetoothThrottler* bluetooth_throttler);
// Exposed for testing.
- static void SetInstanceForTesting(std::shared_ptr<Factory> factory);
+ static void SetInstanceForTesting(Factory* factory);
protected:
// Exposed for testing.
@@ -75,7 +75,7 @@ class BluetoothLowEnergyWeaveClientConnection
BluetoothThrottler* bluetooth_throttler);
private:
- static std::shared_ptr<Factory> factory_instance_;
+ static Factory* factory_instance_;
};
// The sub-state of a BluetoothLowEnergyWeaveClientConnection

Powered by Google App Engine
This is Rietveld 408576698