Index: chrome/browser/media/media_internals.h |
diff --git a/chrome/browser/media/media_internals.h b/chrome/browser/media/media_internals.h |
index a5b62e108438b5f6b777d5dc1519f34a7bc8ce45..22552579ae4ba5affe3e9301c5686494b036e3c9 100644 |
--- a/chrome/browser/media/media_internals.h |
+++ b/chrome/browser/media/media_internals.h |
@@ -57,8 +57,13 @@ class MediaInternals : public MediaObserver, public base::NonThreadSafe { |
// Sets data_.id.property = value and notifies attached UIs using update_fn. |
// id may be any depth, e.g. "video.decoders.1.2.3" |
- void UpdateItem(const std::string& update_fn, const std::string& id, |
- const std::string& property, Value* value); |
+ void SetItemProperty(const std::string& update_fn, const std::string& id, |
+ const std::string& property, Value* value); |
+ |
+ // Merges |properties| into data_.id and notifies attached UIs using |
+ // update_fn. Takes ownership of |properties|. |
+ void SetItemProperties(const std::string& update_fn, const std::string& id, |
+ DictionaryValue* properties); |
// Calls javascript |function|(|value|) on each attached UI. |
void SendUpdate(const std::string& function, Value* value); |