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 3692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3703 callback(this.preferences_); | 3703 callback(this.preferences_); |
3704 return; | 3704 return; |
3705 } | 3705 } |
3706 | 3706 |
3707 chrome.fileBrowserPrivate.getPreferences(function(prefs) { | 3707 chrome.fileBrowserPrivate.getPreferences(function(prefs) { |
3708 this.preferences_ = prefs; | 3708 this.preferences_ = prefs; |
3709 callback(prefs); | 3709 callback(prefs); |
3710 }.bind(this)); | 3710 }.bind(this)); |
3711 }; | 3711 }; |
3712 })(); | 3712 })(); |
OLD | NEW |