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

Side by Side Diff: chrome/browser/resources/print_preview/data/destination_store.js

Issue 1066433002: Increase Privet printer discovery timeout to 5 seconds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 cr.define('print_preview', function() { 5 cr.define('print_preview', function() {
6 'use strict'; 6 'use strict';
7 7
8 /** 8 /**
9 * A data store that stores destinations and dispatches events when the data 9 * A data store that stores destinations and dispatches events when the data
10 * store changes. 10 * store changes.
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 * @private 214 * @private
215 */ 215 */
216 DestinationStore.AUTO_SELECT_TIMEOUT_ = 15000; 216 DestinationStore.AUTO_SELECT_TIMEOUT_ = 15000;
217 217
218 /** 218 /**
219 * Amount of time spent searching for privet destination, in milliseconds. 219 * Amount of time spent searching for privet destination, in milliseconds.
220 * @type {number} 220 * @type {number}
221 * @const 221 * @const
222 * @private 222 * @private
223 */ 223 */
224 DestinationStore.PRIVET_SEARCH_DURATION_ = 2000; 224 DestinationStore.PRIVET_SEARCH_DURATION_ = 5000;
225 225
226 /** 226 /**
227 * Maximum amount of time spent searching for extension destinations, in 227 * Maximum amount of time spent searching for extension destinations, in
228 * milliseconds. 228 * milliseconds.
229 * @type {number} 229 * @type {number}
230 * @const 230 * @const
231 * @private 231 * @private
232 */ 232 */
233 DestinationStore.EXTENSION_SEARCH_DURATION_ = 5000; 233 DestinationStore.EXTENSION_SEARCH_DURATION_ = 5000;
234 234
(...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after
1093 return id == this.appState_.selectedDestinationId && 1093 return id == this.appState_.selectedDestinationId &&
1094 origin == this.appState_.selectedDestinationOrigin; 1094 origin == this.appState_.selectedDestinationOrigin;
1095 } 1095 }
1096 }; 1096 };
1097 1097
1098 // Export 1098 // Export
1099 return { 1099 return {
1100 DestinationStore: DestinationStore 1100 DestinationStore: DestinationStore
1101 }; 1101 };
1102 }); 1102 });
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698