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

Side by Side Diff: chrome/browser/resources/sync_internals/chrome_sync.js

Issue 8356026: [Sync] Cache encrypted types info in ProfileSyncService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments (retry) Created 9 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/sync/glue/sync_backend_host.h » ('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 var chrome = chrome || {}; 5 var chrome = chrome || {};
6 // TODO(akalin): Add mocking code for e.g. chrome.send() so that we 6 // TODO(akalin): Add mocking code for e.g. chrome.send() so that we
7 // can test this without rebuilding chrome. 7 // can test this without rebuilding chrome.
8 chrome.sync = chrome.sync || {}; 8 chrome.sync = chrome.sync || {};
9 (function () { 9 (function () {
10 10
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 'onChangesComplete', 78 'onChangesComplete',
79 'onSyncCycleCompleted', 79 'onSyncCycleCompleted',
80 'onAuthError', 80 'onAuthError',
81 'onUpdatedToken', 81 'onUpdatedToken',
82 'onPassphraseRequired', 82 'onPassphraseRequired',
83 'onPassphraseAccepted', 83 'onPassphraseAccepted',
84 'onInitializationComplete', 84 'onInitializationComplete',
85 'onStopSyncingPermanently', 85 'onStopSyncingPermanently',
86 'onClearServerDataSucceeded', 86 'onClearServerDataSucceeded',
87 'onClearServerDataFailed', 87 'onClearServerDataFailed',
88 'onEncryptedTypesChanged',
88 'onEncryptionComplete', 89 'onEncryptionComplete',
89 'onActionableError' 90 'onActionableError'
90 ], 91 ],
91 92
92 'transaction': [ 93 'transaction': [
93 'onTransactionStart', 94 'onTransactionStart',
94 'onTransactionWrite', 95 'onTransactionWrite',
95 'onTransactionEnd' 96 'onTransactionEnd'
96 ] 97 ]
97 }; 98 };
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 * @return {number} The number of seconds since the timer was 163 * @return {number} The number of seconds since the timer was
163 * created. 164 * created.
164 */ 165 */
165 get elapsedSeconds() { 166 get elapsedSeconds() {
166 return ((new Date()).getTime() - start.getTime()) / 1000.0; 167 return ((new Date()).getTime() - start.getTime()) / 1000.0;
167 } 168 }
168 }; 169 };
169 }; 170 };
170 171
171 })(); 172 })();
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync/glue/sync_backend_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698