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

Unified Diff: components/cryptauth/ble/bluetooth_low_energy_weave_packet_generator.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_generator.h
diff --git a/components/cryptauth/ble/bluetooth_low_energy_weave_packet_generator.h b/components/cryptauth/ble/bluetooth_low_energy_weave_packet_generator.h
index b59cfa43187ec6ab4dae518c288a47f7569d5203..2cee2b8f16484d35742ebfdc93471996bc084559 100644
--- a/components/cryptauth/ble/bluetooth_low_energy_weave_packet_generator.h
+++ b/components/cryptauth/ble/bluetooth_low_energy_weave_packet_generator.h
@@ -27,7 +27,7 @@ class BluetoothLowEnergyWeavePacketGenerator {
NewInstance();
// Exposed for testing.
- static void SetInstanceForTesting(std::shared_ptr<Factory> factory);
+ static void SetInstanceForTesting(Factory* factory);
protected:
// Exposed for testing.
@@ -35,7 +35,7 @@ class BluetoothLowEnergyWeavePacketGenerator {
BuildInstance();
private:
- static std::shared_ptr<Factory> factory_instance_;
+ static Factory* factory_instance_;
};
virtual Packet CreateConnectionRequest();

Powered by Google App Engine
This is Rietveld 408576698