Index: ash/common/system/chromeos/network/tray_sms.h |
diff --git a/ash/common/system/chromeos/network/tray_sms.h b/ash/common/system/chromeos/network/tray_sms.h |
index c8209a0029def28076b88d3626ba90b943631de5..4ad9322b019ae49bdc8e9cc0adc552e1a6f49d2e 100644 |
--- a/ash/common/system/chromeos/network/tray_sms.h |
+++ b/ash/common/system/chromeos/network/tray_sms.h |
@@ -43,8 +43,9 @@ class TraySms : public SystemTrayItem, |
// retrieve the numebr and text from the message. |
bool GetLatestMessage(size_t* index, std::string* number, std::string* text); |
- // Removes message at |index| from message list. |
- void RemoveMessage(size_t index); |
+ // Removes message at |index| from message list. Returns true if |index| was |
+ // valid and a message was removed. |
+ bool RemoveMessage(size_t index); |
// Called when sms messages have changed (through |
// chromeos::NetworkSmsHandler::Observer). |