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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/isolated-filesystem-test.js

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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: third_party/WebKit/LayoutTests/http/tests/inspector/isolated-filesystem-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/isolated-filesystem-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/isolated-filesystem-test.js
index bddcffbb122eb476856ca5848aa2a1fb3be151b7..623abb49feadcaec63f1476f18f9bef618196a41 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/isolated-filesystem-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/isolated-filesystem-test.js
@@ -23,14 +23,14 @@ InspectorTest.TestFileSystem.prototype = {
fileSystemName: this.fileSystemPath }
});
- WebInspector.isolatedFileSystemManager.addEventListener(WebInspector.IsolatedFileSystemManager.Events.FileSystemAdded, created);
+ Workspace.isolatedFileSystemManager.addEventListener(Workspace.IsolatedFileSystemManager.Events.FileSystemAdded, created);
function created(event)
{
var fileSystem = event.data;
if (fileSystem.path() !== fileSystemPath)
return;
- WebInspector.isolatedFileSystemManager.removeEventListener(WebInspector.IsolatedFileSystemManager.Events.FileSystemAdded, created);
+ Workspace.isolatedFileSystemManager.removeEventListener(Workspace.IsolatedFileSystemManager.Events.FileSystemAdded, created);
callback(fileSystem);
}
},
@@ -43,10 +43,10 @@ InspectorTest.TestFileSystem.prototype = {
addFileMapping: function(urlPrefix, pathPrefix)
{
- var fileSystemMapping = new WebInspector.FileSystemMapping();
+ var fileSystemMapping = new Workspace.FileSystemMapping();
fileSystemMapping.addFileSystem(this.fileSystemPath);
fileSystemMapping.addFileMapping(this.fileSystemPath, urlPrefix, pathPrefix);
- WebInspector.fileSystemMapping._loadFromSettings();
+ Workspace.fileSystemMapping._loadFromSettings();
},
/**

Powered by Google App Engine
This is Rietveld 408576698