Index: ui/file_manager/file_manager/foreground/js/file_manager.js |
diff --git a/ui/file_manager/file_manager/foreground/js/file_manager.js b/ui/file_manager/file_manager/foreground/js/file_manager.js |
index acdc07864b6116875744bc7a3b09e3a2b7cc62a1..5a3dcb101b9018ff20f5d8ea0c2b893045ef9a88 100644 |
--- a/ui/file_manager/file_manager/foreground/js/file_manager.js |
+++ b/ui/file_manager/file_manager/foreground/js/file_manager.js |
@@ -126,6 +126,11 @@ function FileManager() { |
*/ |
this.ui_ = null; |
+ /** |
+ * @private {analytics.Tracker} |
+ */ |
+ this.tracker_ = null; |
+ |
// -------------------------------------------------------------------------- |
// Parameters determining the type of file manager. |
@@ -452,7 +457,8 @@ FileManager.prototype = /** @struct */ { |
this.mediaScanner_), |
/** @type {!importer.ImportRunner} */ ( |
this.mediaImportHandler_), |
- new importer.RuntimeCommandWidget()); |
+ new importer.RuntimeCommandWidget(), |
+ this.tracker_); |
} |
}.bind(this)); |
@@ -653,6 +659,7 @@ FileManager.prototype = /** @struct */ { |
this.mediaScanner_ = |
this.backgroundPage_.background.mediaScanner; |
this.historyLoader_ = this.backgroundPage_.background.historyLoader; |
+ this.tracker_ = this.backgroundPage_.background.tracker; |
callback(); |
}.bind(this)); |
}.bind(this))); |