Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(362)

Unified Diff: chrome/test/data/file_manager/unit_tests/mocks/mock_file_system.js

Issue 179553008: Simplify volume manager in Files app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed unmounting. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/file_manager/unit_tests/mocks/mock_file_system.js
diff --git a/chrome/test/data/file_manager/unit_tests/mocks/mock_file_system.js b/chrome/test/data/file_manager/unit_tests/mocks/mock_file_system.js
new file mode 100644
index 0000000000000000000000000000000000000000..58c4e23db0c1c2f64089cdb10571510dd81959ff
--- /dev/null
+++ b/chrome/test/data/file_manager/unit_tests/mocks/mock_file_system.js
@@ -0,0 +1,13 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+/**
+ * Mock class for DOMFileSystem.
+ * @param {string} volumeId Volume ID for the file system.
+ * @constructor
+ */
+function MockFileSystem(volumeId) {
+ this.name = '';
+ this.root = new MockFileEntry(volumeId, '/');
+}

Powered by Google App Engine
This is Rietveld 408576698