Remove the old signature of NotificationManager::closePersistent().
[chromium-blink-merge.git] / chrome / browser / resources / connection_manager.js
blobbaa3737584abf5e434085ea13b3507660b76c1d4
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
6 function chromeos() {
9 chromeos.connectionManager = function() {
12 chromeos.connectionManager.transaction_status_callback_ = null;
13 chromeos.connectionManager.parent_page_url_ = 'chrome://mobilesetup';
15 chromeos.connectionManager.setTransactionStatus = function(status, callback) {
16   chromeos.connectionManager.transaction_status_callback_ = callback;
17   chromeos.connectionManager.reportTransactionStatus_(status);
20 chromeos.connectionManager.reportTransactionStatus_ = function(status) {
21   var msg = {
22     'type': 'reportTransactionStatusMsg',
23     'domain': location.href,
24     'status': status
25   };
26   window.parent.postMessage(msg, chromeos.connectionManager.parent_page_url_);