diff options
author | Gil <mcg@google.com> | 2017-11-30 12:26:16 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-30 12:26:16 -0800 |
commit | 530437ea7ad67db8c024203ac231f2d8320c3ddb (patch) | |
tree | 838e72c8430745d38650a98c22fc51268c42acba /Firestore/Source/Remote | |
parent | 4ec5f00b1dec8220c1e458d852eecd602dd56b8f (diff) |
Move sources into firebase::firestore and internal namespaces (#494)
* Move sources into firebase::firestore and internal namespaces
Combine support and core/util packages; this distinction wasn't really
paying its freight.
Diffstat (limited to 'Firestore/Source/Remote')
-rw-r--r-- | Firestore/Source/Remote/FSTExponentialBackoff.mm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Firestore/Source/Remote/FSTExponentialBackoff.mm b/Firestore/Source/Remote/FSTExponentialBackoff.mm index ad27c25..8077357 100644 --- a/Firestore/Source/Remote/FSTExponentialBackoff.mm +++ b/Firestore/Source/Remote/FSTExponentialBackoff.mm @@ -18,11 +18,13 @@ #include <random> -#include "Firestore/src/support/secure_random.h" +#include "Firestore/core/src/firebase/firestore/util/secure_random.h" #import "Firestore/Source/Util/FSTDispatchQueue.h" #import "Firestore/Source/Util/FSTLogger.h" +using firebase::firestore::util::SecureRandom; + @interface FSTExponentialBackoff () - (instancetype)initWithDispatchQueue:(FSTDispatchQueue *)dispatchQueue initialDelay:(NSTimeInterval)initialDelay @@ -37,7 +39,7 @@ @end @implementation FSTExponentialBackoff { - firestore::SecureRandom _secureRandom; + SecureRandom _secureRandom; } - (instancetype)initWithDispatchQueue:(FSTDispatchQueue *)dispatchQueue |