OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 'use strict'; | 5 'use strict'; |
6 | 6 |
7 /** | 7 /** |
8 * FileManager constructor. | 8 * FileManager constructor. |
9 * | 9 * |
10 * FileManager objects encapsulate the functionality of the file selector | 10 * FileManager objects encapsulate the functionality of the file selector |
(...skipping 3663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3674 callback(this.preferences_); | 3674 callback(this.preferences_); |
3675 return; | 3675 return; |
3676 } | 3676 } |
3677 | 3677 |
3678 chrome.fileBrowserPrivate.getPreferences(function(prefs) { | 3678 chrome.fileBrowserPrivate.getPreferences(function(prefs) { |
3679 this.preferences_ = prefs; | 3679 this.preferences_ = prefs; |
3680 callback(prefs); | 3680 callback(prefs); |
3681 }.bind(this)); | 3681 }.bind(this)); |
3682 }; | 3682 }; |
3683 })(); | 3683 })(); |
OLD | NEW |