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

Unified Diff: components/cryptauth/ble/bluetooth_low_energy_weave_packet_receiver.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_packet_receiver.h
diff --git a/components/cryptauth/ble/bluetooth_low_energy_weave_packet_receiver.h b/components/cryptauth/ble/bluetooth_low_energy_weave_packet_receiver.h
index 147963f1ff764a15053900963e73630d18e3c3eb..e369f540366b022b8972f07f6900b1a87a7be4fe 100644
--- a/components/cryptauth/ble/bluetooth_low_energy_weave_packet_receiver.h
+++ b/components/cryptauth/ble/bluetooth_low_energy_weave_packet_receiver.h
@@ -114,7 +114,7 @@ class BluetoothLowEnergyWeavePacketReceiver {
ReceiverType receiver_type);
// Exposed for testing.
- static void SetInstanceForTesting(std::shared_ptr<Factory> factory);
+ static void SetInstanceForTesting(Factory* factory);
protected:
// Exposed for testing.
@@ -122,7 +122,7 @@ class BluetoothLowEnergyWeavePacketReceiver {
BuildInstance(ReceiverType receiver_type);
private:
- static std::shared_ptr<Factory> factory_instance_;
+ static Factory* factory_instance_;
};
~BluetoothLowEnergyWeavePacketReceiver();

Powered by Google App Engine
This is Rietveld 408576698