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: content/browser/resources/media/item_store.js

Issue 12153002: Move chrome://media-internals to content. This allows us to hide implementation details from the pu… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 10 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 | Annotate | Revision Log
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 cr.define('media', function() { 5 cr.define('media', function() {
6 6
7 /** 7 /**
8 * This class stores hashes by their id field and provides basic methods for 8 * This class stores hashes by their id field and provides basic methods for
9 * iterating over the collection. 9 * iterating over the collection.
10 * @constructor 10 * @constructor
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 var items = this.items_; 61 var items = this.items_;
62 var ids = this.ids(); 62 var ids = this.ids();
63 return ids.map(function(id) { return mapper(items[id]); }); 63 return ids.map(function(id) { return mapper(items[id]); });
64 } 64 }
65 }; 65 };
66 66
67 return { 67 return {
68 ItemStore: ItemStore 68 ItemStore: ItemStore
69 }; 69 };
70 }); 70 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698