| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 /** | 4 /** |
| 5 * @unrestricted | 5 * @unrestricted |
| 6 */ | 6 */ |
| 7 Persistence.Persistence = class extends Common.Object { | 7 Persistence.Persistence = class extends Common.Object { |
| 8 /** | 8 /** |
| 9 * @param {!Workspace.Workspace} workspace | 9 * @param {!Workspace.Workspace} workspace |
| 10 * @param {!Bindings.BreakpointManager} breakpointManager | 10 * @param {!Bindings.BreakpointManager} breakpointManager |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 dispose() { | 216 dispose() { |
| 217 this._mapping.dispose(); | 217 this._mapping.dispose(); |
| 218 } | 218 } |
| 219 }; | 219 }; |
| 220 | 220 |
| 221 Persistence.Persistence._binding = Symbol('Persistence.Binding'); | 221 Persistence.Persistence._binding = Symbol('Persistence.Binding'); |
| 222 Persistence.Persistence._muteCommit = Symbol('Persistence.MuteCommit'); | 222 Persistence.Persistence._muteCommit = Symbol('Persistence.MuteCommit'); |
| 223 | 223 |
| 224 Persistence.Persistence._NodePrefix = '(function (exports, require, module, __fi
lename, __dirname) { '; | 224 Persistence.Persistence._NodePrefix = '(function (exports, require, module, __fi
lename, __dirname) { '; |
| 225 Persistence.Persistence._NodeSuffix = '\n});'; | 225 Persistence.Persistence._NodeSuffix = '\n});'; |
| 226 Persistence.Persistence._NodeShebang = '#!/usr/bin/env node\n'; | 226 Persistence.Persistence._NodeShebang = '#!/usr/bin/env node'; |
| 227 | 227 |
| 228 Persistence.Persistence.Events = { | 228 Persistence.Persistence.Events = { |
| 229 BindingCreated: Symbol('BindingCreated'), | 229 BindingCreated: Symbol('BindingCreated'), |
| 230 BindingRemoved: Symbol('BindingRemoved') | 230 BindingRemoved: Symbol('BindingRemoved') |
| 231 }; | 231 }; |
| 232 | 232 |
| 233 /** | 233 /** |
| 234 * @unrestricted | 234 * @unrestricted |
| 235 */ | 235 */ |
| 236 Persistence.PersistenceBinding = class { | 236 Persistence.PersistenceBinding = class { |
| 237 /** | 237 /** |
| 238 * @param {!Workspace.UISourceCode} network | 238 * @param {!Workspace.UISourceCode} network |
| 239 * @param {!Workspace.UISourceCode} fileSystem | 239 * @param {!Workspace.UISourceCode} fileSystem |
| 240 * @param {boolean} exactMatch | 240 * @param {boolean} exactMatch |
| 241 */ | 241 */ |
| 242 constructor(network, fileSystem, exactMatch) { | 242 constructor(network, fileSystem, exactMatch) { |
| 243 this.network = network; | 243 this.network = network; |
| 244 this.fileSystem = fileSystem; | 244 this.fileSystem = fileSystem; |
| 245 this.exactMatch = exactMatch; | 245 this.exactMatch = exactMatch; |
| 246 } | 246 } |
| 247 }; | 247 }; |
| 248 | 248 |
| 249 /** @type {!Persistence.Persistence} */ | 249 /** @type {!Persistence.Persistence} */ |
| 250 Persistence.persistence; | 250 Persistence.persistence; |
| OLD | NEW |