summaryrefslogtreecommitdiffstats
path: root/ash/system/network/sms_observer.h
diff options
context:
space:
mode:
Diffstat (limited to 'ash/system/network/sms_observer.h')
-rw-r--r--ash/system/network/sms_observer.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/ash/system/network/sms_observer.h b/ash/system/network/sms_observer.h
new file mode 100644
index 0000000..d9b317f
--- /dev/null
+++ b/ash/system/network/sms_observer.h
@@ -0,0 +1,28 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ASH_SYSTEM_NETWORK_SMS_OBSERVER_H
+#define ASH_SYSTEM_NETWORK_SMS_OBSERVER_H
+
+#include "base/string16.h"
+
+namespace base {
+class DictionaryValue;
+}
+
+namespace ash {
+
+const char kSmsNumberKey[] = "number";
+const char kSmsTextKey[] = "text";
+
+class SmsObserver {
+ public:
+ virtual ~SmsObserver() {}
+
+ virtual void AddMessage(const base::DictionaryValue& message) = 0;
+};
+
+} // namespace ash
+
+#endif // ASH_SYSTEM_NETWORK_SMS_OBSERVER_H