| Index: chrome/browser/chromeos/cros/sms_watcher.h
|
| diff --git a/chrome/browser/chromeos/cros/sms_watcher.h b/chrome/browser/chromeos/cros/sms_watcher.h
|
| index 9e03610e9556b3f05f061a2c2b8443646f5cc7b8..db52b4a70b299433f5601a0653df72676abbd6d2 100644
|
| --- a/chrome/browser/chromeos/cros/sms_watcher.h
|
| +++ b/chrome/browser/chromeos/cros/sms_watcher.h
|
| @@ -16,7 +16,6 @@
|
| namespace base {
|
|
|
| class DictionaryValue;
|
| -class ListValue;
|
|
|
| } // namespace base
|
|
|
| @@ -34,6 +33,14 @@ class SMSWatcher : public CrosNetworkWatcher {
|
| static const char kClassKey[];
|
| static const char kIndexKey[];
|
|
|
| + static const char kModemManager1NumberKey[];
|
| + static const char kModemManager1TextKey[];
|
| + static const char kModemManager1TimestampKey[];
|
| + static const char kModemManager1SmscKey[];
|
| + static const char kModemManager1ValidityKey[];
|
| + static const char kModemManager1ClassKey[];
|
| + static const char kModemManager1IndexKey[];
|
| +
|
| SMSWatcher(const std::string& modem_device_path,
|
| MonitorSMSCallback callback,
|
| void* object);
|
| @@ -44,29 +51,13 @@ class SMSWatcher : public CrosNetworkWatcher {
|
| void DevicePropertiesCallback(DBusMethodCallStatus call_status,
|
| const base::DictionaryValue& properties);
|
|
|
| - // Callback for SmsReceived signal.
|
| - void OnSmsReceived(uint32 index, bool complete);
|
| -
|
| - // Runs |callback_| with a SMS.
|
| - void RunCallbackWithSMS(const base::DictionaryValue& sms_dictionary);
|
| -
|
| - // Callback for Get() method.
|
| - void GetSMSCallback(uint32 index,
|
| - const base::DictionaryValue& sms_dictionary);
|
| -
|
| - // Callback for List() method.
|
| - void ListSMSCallback(const base::ListValue& result);
|
| -
|
| - // Deletes SMSs in the queue.
|
| - void DeleteSMSInChain();
|
| -
|
| base::WeakPtrFactory<SMSWatcher> weak_ptr_factory_;
|
| std::string device_path_;
|
| MonitorSMSCallback callback_;
|
| void* object_;
|
| - std::string dbus_connection_;
|
| - dbus::ObjectPath object_path_;
|
| - std::vector<uint32> delete_queue_;
|
| + scoped_ptr<CrosNetworkWatcher> watcher_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(SMSWatcher);
|
| };
|
|
|
| } // namespace
|
|
|