@@ -164,6 +164,14 @@ declare module Mobile {
164164 * Describes methods for providing device logs to a specific consumer.
165165 */
166166 interface IDeviceLogProvider extends NodeJS . EventEmitter {
167+ /**
168+ * Sets the path to source file from which the logs are produced,
169+ * i.e. the original file location of the file running on device.
170+ * @param {string } pathToSourceFile Path to the source file.
171+ * @returns {Promise<void> }
172+ */
173+ setSourceFileLocation ( pathToSourceFile : string ) : Promise < void > ;
174+
167175 /**
168176 * Logs data in the specific way for the consumer.
169177 * @param {string } line String from the device logs.
@@ -258,6 +266,12 @@ declare module Mobile {
258266 * Replaces file paths in device log with their original location
259267 */
260268 interface ILogSourceMapService {
269+ /**
270+ * Sets the sourceMapConsumer instance for specified file.
271+ * @param {string } filePath Full path to a local file containing both content and inline source map.
272+ * @return {Promise<void> }
273+ */
274+ setSourceMapConsumerForFile ( filePath : string ) : Promise < void > ;
261275 replaceWithOriginalFileLocations ( platform : string , messageData : string , loggingOptions : Mobile . IDeviceLogOptions ) : string
262276 }
263277
@@ -307,6 +321,12 @@ declare module Mobile {
307321 tryStartApplication ( appData : IApplicationData ) : Promise < void > ;
308322 getDebuggableApps ( ) : Promise < Mobile . IDeviceApplicationInformation [ ] > ;
309323 getDebuggableAppViews ( appIdentifiers : string [ ] ) : Promise < IDictionary < Mobile . IDebugWebViewInfo [ ] > > ;
324+ /**
325+ * Sets the files transferred on device.
326+ * @param {string[] } files Local paths to files transferred on device.
327+ * @returns {Promise<void> }
328+ */
329+ setTransferredAppFiles ( files : string [ ] ) : Promise < void > ;
310330 }
311331
312332 /**
0 commit comments