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

Side by Side Diff: sky/framework/inspector/indexeddb-agent.sky

Issue 837933003: Convert the inspector framework to use ES6 classes. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Remove empty ctors Created 5 years, 11 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
OLDNEW
1 <script> 1 <script>
2 function IndexedDB() { 2 class IndexedDB {
3 // Needed to make the inspector not throw an exception.
4 requestDatabaseNames() {
5 return { "databaseNames": [] };
6 }
3 } 7 }
4 8
5 // Needed to make the inspector not throw an exception.
6 IndexedDB.prototype.requestDatabaseNames = function() {
7 return { "databaseNames": [] };
8 };
9
10 module.exports = IndexedDB; 9 module.exports = IndexedDB;
11 </script> 10 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698