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

Side by Side Diff: Source/devtools/front_end/workspace/ExcludedFolderManager.js

Issue 1088093002: Revert of DevTools: allow storing devtools preferences on the browser side. [blink] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @constructor 6 * @constructor
7 * @extends {WebInspector.Object} 7 * @extends {WebInspector.Object}
8 */ 8 */
9 WebInspector.ExcludedFolderManager = function() 9 WebInspector.ExcludedFolderManager = function()
10 { 10 {
11 WebInspector.Object.call(this); 11 WebInspector.Object.call(this);
12 this._excludedFoldersSetting = WebInspector.settings.createLocalSetting("wor kspaceExcludedFolders", {}); 12 this._excludedFoldersSetting = WebInspector.settings.createSetting("workspac eExcludedFolders", {});
13 var defaultCommonExcludedFolders = [ 13 var defaultCommonExcludedFolders = [
14 "/\\.git/", 14 "/\\.git/",
15 "/\\.sass-cache/", 15 "/\\.sass-cache/",
16 "/\\.hg/", 16 "/\\.hg/",
17 "/\\.idea/", 17 "/\\.idea/",
18 "/\\.svn/", 18 "/\\.svn/",
19 "/\\.cache/", 19 "/\\.cache/",
20 "/\\.project/" 20 "/\\.project/"
21 ]; 21 ];
22 var defaultWinExcludedFolders = [ 22 var defaultWinExcludedFolders = [
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 /** 177 /**
178 * @constructor 178 * @constructor
179 * @param {string} fileSystemPath 179 * @param {string} fileSystemPath
180 * @param {string} path 180 * @param {string} path
181 */ 181 */
182 WebInspector.ExcludedFolderManager.Entry = function(fileSystemPath, path) 182 WebInspector.ExcludedFolderManager.Entry = function(fileSystemPath, path)
183 { 183 {
184 this.fileSystemPath = fileSystemPath; 184 this.fileSystemPath = fileSystemPath;
185 this.path = path; 185 this.path = path;
186 } 186 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/ui/SplitView.js ('k') | Source/devtools/front_end/workspace/FileManager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698