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

Side by Side Diff: Source/devtools/front_end/platform/utilities.js

Issue 673163004: [DevTools] Extract platform module. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix inspector-protocol tests Created 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 1406 matching lines...) Expand 10 before | Expand all | Expand 10 after
1417 1417
1418 /** 1418 /**
1419 * @param {function()} callback 1419 * @param {function()} callback
1420 * @return {number} 1420 * @return {number}
1421 */ 1421 */
1422 self.setImmediate = function(callback) 1422 self.setImmediate = function(callback)
1423 { 1423 {
1424 Promise.resolve().then(callback).done(); 1424 Promise.resolve().then(callback).done();
1425 return 0; 1425 return 0;
1426 } 1426 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698