diff options
Diffstat (limited to 'chrome/browser/resources/options/passwords_exceptions.js')
-rw-r--r-- | chrome/browser/resources/options/passwords_exceptions.js | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/chrome/browser/resources/options/passwords_exceptions.js b/chrome/browser/resources/options/passwords_exceptions.js new file mode 100644 index 0000000..bf5b867 --- /dev/null +++ b/chrome/browser/resources/options/passwords_exceptions.js @@ -0,0 +1,40 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +cr.define('options', function() { + + var OptionsPage = options.OptionsPage; + + ///////////////////////////////////////////////////////////////////////////// + // PasswordsExceptions class: + + /** + * Encapsulated handling of password and exceptions page. + * @constructor + */ + function PasswordsExceptions() { + OptionsPage.call(this, 'passwordsExceptions', + templateData.passwordsExceptionsTitle, + 'passwordsExceptionsPage'); + } + + cr.addSingletonGetter(PasswordsExceptions); + + PasswordsExceptions.prototype = { + __proto__: OptionsPage.prototype, + + initializePage: function() { + OptionsPage.prototype.initializePage.call(this); + + // TODO(sargrass): Add initialization here. + } + }; + + // Export + return { + PasswordsExceptions: PasswordsExceptions + }; + +}); + |