summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/options/clear_browser_data_overlay.js
blob: f93a12c3c87f24227359206e36d11eb5916eb9d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// 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.

/**
 * ClearBrowserData class
 * Encapsulated handling of the 'Clear Browser Data' overlay page.
 * @class
 */
function ClearBrowserDataOverlay() {
  OptionsPage.call(this, 'clearBrowserDataOverlay',
                   templateData.clearBrowserDataTitle,
                   'clearBrowserDataOverlay');
}

cr.addSingletonGetter(ClearBrowserDataOverlay);

ClearBrowserDataOverlay.prototype = {
  // Inherit ClearBrowserDataOverlay from OptionsPage.
  __proto__: OptionsPage.prototype,

  /**
   * Initialize the page.
   */
  initializePage: function() {
    // Call base class implementation to starts preference initialization.
    OptionsPage.prototype.initializePage.call(this);

    // TODO(csilv): add any initialization here or delete method and/or class.
  }
};