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_NETWORK_SMS_OBSERVER_H |
6 #define ASH_SYSTEM_NETWORK_SMS_OBSERVER_H | 6 #define ASH_SYSTEM_NETWORK_SMS_OBSERVER_H |
7 | 7 |
8 #include "base/string16.h" | 8 #include "base/string16.h" |
tfarina
2012/10/09 01:53:59
you can remove this include.
stevenjb
2012/10/09 19:04:14
Done.
| |
9 | 9 |
10 namespace base { | 10 namespace base { |
11 class DictionaryValue; | 11 class DictionaryValue; |
12 } | 12 } |
13 | 13 |
14 namespace ash { | 14 namespace ash { |
15 | 15 |
16 const char kSmsNumberKey[] = "number"; | 16 const char kSmsNumberKey[] = "number"; |
17 const char kSmsTextKey[] = "text"; | 17 const char kSmsTextKey[] = "text"; |
18 | 18 |
19 class SmsObserver { | 19 class SmsObserver { |
20 public: | 20 public: |
21 virtual ~SmsObserver() {} | 21 virtual ~SmsObserver() {} |
22 | 22 |
23 virtual void AddMessage(const base::DictionaryValue& message) = 0; | 23 virtual void AddMessage(const base::DictionaryValue& message) = 0; |
24 }; | 24 }; |
25 | 25 |
26 } // namespace ash | 26 } // namespace ash |
27 | 27 |
28 #endif // ASH_SYSTEM_NETWORK_SMS_OBSERVER_H | 28 #endif // ASH_SYSTEM_NETWORK_SMS_OBSERVER_H |
OLD | NEW |