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

Side by Side Diff: components/sync_driver/resources/data.js

Issue 1334173006: Move sync_internals resources and constants to //components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gcmInternals
Patch Set: Rebase Created 5 years, 3 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
« no previous file with comments | « components/sync_driver/resources/data.html ('k') | components/sync_driver/resources/events.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 (function() { 5 (function() {
6 var dumpToTextButton = $('dump-to-text'); 6 var dumpToTextButton = $('dump-to-text');
7 var dataDump = $('data-dump'); 7 var dataDump = $('data-dump');
8 dumpToTextButton.addEventListener('click', function(event) { 8 dumpToTextButton.addEventListener('click', function(event) {
9 // TODO(akalin): Add info like Chrome version, OS, date dumped, etc. 9 // TODO(akalin): Add info like Chrome version, OS, date dumped, etc.
10 10
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 'onReceivedListOfTypes', 192 'onReceivedListOfTypes',
193 onReceivedListOfTypes); 193 onReceivedListOfTypes);
194 chrome.sync.requestListOfTypes(); 194 chrome.sync.requestListOfTypes();
195 }); 195 });
196 196
197 var dumpToFileLink = $('dump-to-file'); 197 var dumpToFileLink = $('dump-to-file');
198 dumpToFileLink.addEventListener('click', function(event) { 198 dumpToFileLink.addEventListener('click', function(event) {
199 chrome.sync.getAllNodes(triggerDataDownload); 199 chrome.sync.getAllNodes(triggerDataDownload);
200 }); 200 });
201 })(); 201 })();
OLDNEW
« no previous file with comments | « components/sync_driver/resources/data.html ('k') | components/sync_driver/resources/events.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698