Skip to content

Commit b340e62

Browse files
[AUTOMATED]: License Headers
1 parent 46354ac commit b340e62

File tree

4 files changed

+7
-10
lines changed

4 files changed

+7
-10
lines changed

packages/firestore/index.node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* Copyright 2017 Google Inc.
3+
* Copyright 2017 Google LLC
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.

packages/firestore/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* Copyright 2017 Google Inc.
3+
* Copyright 2017 Google LLC
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.

packages/firestore/src/core/component_provider.ts

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export abstract class ComponentProvider {
107107
}
108108

109109
/**
110-
* Provides all components needed for Firestore with IndexedDb persistence.
110+
* Provides all components needed for Firestore with IndexedDB persistence.
111111
*/
112112
export class IndexedDbComponentProvider extends ComponentProvider {
113113
protected persistence!: IndexedDbPersistence;
@@ -135,7 +135,6 @@ export class IndexedDbComponentProvider extends ComponentProvider {
135135
databaseInfo
136136
);
137137

138-
// Opt to use proto3 JSON in case the platform doesn't support Uint8Array.
139138
const serializer = platform.newSerializer(databaseInfo.databaseId);
140139
if (!WebStorageSharedClientState.isAvailable(platform)) {
141140
throw new FirestoreError(
@@ -179,7 +178,6 @@ export class IndexedDbComponentProvider extends ComponentProvider {
179178
new IndexFreeQueryEngine(),
180179
initialUser
181180
);
182-
183181
this.remoteStore = new RemoteStore(
184182
this.localStore,
185183
datastore,
@@ -191,19 +189,18 @@ export class IndexedDbComponentProvider extends ComponentProvider {
191189
),
192190
platform.newConnectivityMonitor()
193191
);
194-
195192
this.syncEngine = new MultiTabSyncEngine(
196193
this.localStore,
197194
this.remoteStore,
198195
this.sharedClientState,
199196
initialUser,
200197
maxConcurrentLimboResolutions
201198
);
199+
this.eventManager = new EventManager(this.syncEngine);
200+
202201
this.remoteStore.syncEngine = this.syncEngine;
203202
this.sharedClientState.syncEngine = this.syncEngine;
204-
205-
this.eventManager = new EventManager(this.syncEngine);
206-
203+
207204
await this.sharedClientState.start();
208205
await this.remoteStore.start();
209206
await this.localStore.start();

packages/firestore/test/util/api_helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* Copyright 2017 Google Inc.
3+
* Copyright 2017 Google LLC
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)