OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef ASH_SYSTEM_NETWORK_SMS_OBSERVER_H | 5 #ifndef ASH_SYSTEM_CHROMEOS_NETWORK_SMS_OBSERVER_H |
6 #define ASH_SYSTEM_NETWORK_SMS_OBSERVER_H | 6 #define ASH_SYSTEM_CHROMEOS_NETWORK_SMS_OBSERVER_H |
7 | |
8 #include "base/string16.h" | |
9 | 7 |
10 namespace base { | 8 namespace base { |
11 class DictionaryValue; | 9 class DictionaryValue; |
12 } | 10 } |
13 | 11 |
14 namespace ash { | 12 namespace ash { |
15 | 13 |
16 const char kSmsNumberKey[] = "number"; | 14 const char kSmsNumberKey[] = "number"; |
17 const char kSmsTextKey[] = "text"; | 15 const char kSmsTextKey[] = "text"; |
18 | 16 |
19 class SmsObserver { | 17 class SmsObserver { |
20 public: | 18 public: |
21 virtual ~SmsObserver() {} | 19 virtual ~SmsObserver() {} |
22 | 20 |
23 virtual void AddMessage(const base::DictionaryValue& message) = 0; | 21 virtual void AddMessage(const base::DictionaryValue& message) = 0; |
24 }; | 22 }; |
25 | 23 |
26 } // namespace ash | 24 } // namespace ash |
27 | 25 |
28 #endif // ASH_SYSTEM_NETWORK_SMS_OBSERVER_H | 26 #endif // ASH_SYSTEM_CHROMEOS_NETWORK_SMS_OBSERVER_H |
OLD | NEW |