Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(575)

Side by Side Diff: chrome/browser/resources/sync_file_system_internals/sync_service.js

Issue 16398011: Show ExtensionID->OriginSyncStatus in syncfs-internals WebUI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to test mac compile Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 /** 5 /**
6 * WebUI to monitor the Sync File System Service. 6 * WebUI to monitor the Sync File System Service.
7 */ 7 */
8 var syncService = (function() { 8 var SyncService = (function() {
9 'use strict'; 9 'use strict';
10 10
11 var SyncService = {}; 11 var SyncService = {};
12 12
13 /** 13 /**
14 * Request Sync Service Status. 14 * Request Sync Service Status.
15 */ 15 */
16 function getServiceStatus() { 16 function getServiceStatus() {
17 chrome.send('getServiceStatus'); 17 chrome.send('getServiceStatus');
18 } 18 }
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 getServiceStatus(); 82 getServiceStatus();
83 getNotificationSource(); 83 getNotificationSource();
84 84
85 // TODO: Look for a way to push entries to the page when necessary. 85 // TODO: Look for a way to push entries to the page when necessary.
86 window.setInterval(getLog, 1000); 86 window.setInterval(getLog, 1000);
87 } 87 }
88 88
89 document.addEventListener('DOMContentLoaded', main); 89 document.addEventListener('DOMContentLoaded', main);
90 return SyncService; 90 return SyncService;
91 })(); 91 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698