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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/bindings/FileSystemWorkspaceBinding.js

Issue 1369063002: DevTools: merge excluded folder manager into isolated file system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 { 508 {
509 this._fileSystem.requestFilesRecursive(path, this._addFile.bind(this), c allback); 509 this._fileSystem.requestFilesRecursive(path, this._addFile.bind(this), c allback);
510 }, 510 },
511 511
512 /** 512 /**
513 * @override 513 * @override
514 * @param {string} path 514 * @param {string} path
515 */ 515 */
516 excludeFolder: function(path) 516 excludeFolder: function(path)
517 { 517 {
518 this._fileSystemWorkspaceBinding._isolatedFileSystemManager.excludedFold erManager().addExcludedFolder(this._fileSystem.path(), path); 518 this._fileSystem.addExcludedFolder(path);
dgozman 2015/09/26 01:46:41 Why does this go through ProjectDelegate, while se
519 }, 519 },
520 520
521 /** 521 /**
522 * @override 522 * @override
523 * @param {string} path 523 * @param {string} path
524 * @param {?string} name 524 * @param {?string} name
525 * @param {string} content 525 * @param {string} content
526 * @param {function(?string)} callback 526 * @param {function(?string)} callback
527 */ 527 */
528 createFile: function(path, name, content, callback) 528 createFile: function(path, name, content, callback)
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 this._workspace.removeProject(this._projectId); 608 this._workspace.removeProject(this._projectId);
609 }, 609 },
610 610
611 __proto__: WebInspector.Object.prototype 611 __proto__: WebInspector.Object.prototype
612 } 612 }
613 613
614 /** 614 /**
615 * @type {!WebInspector.FileSystemWorkspaceBinding} 615 * @type {!WebInspector.FileSystemWorkspaceBinding}
616 */ 616 */
617 WebInspector.fileSystemWorkspaceBinding; 617 WebInspector.fileSystemWorkspaceBinding;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698