| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/string16.h" | 9 #include "base/string16.h" |
| 10 | 10 |
| 11 namespace base { | 11 namespace base { |
| 12 class DictionaryValue; | 12 class DictionaryValue; |
| 13 } | 13 } |
| 14 | 14 |
| 15 namespace ash { | 15 namespace ash { |
| 16 | 16 |
| 17 const char kSmsNumberKey[] = "number"; | 17 const char kSmsNumberKey[] = "number"; |
| 18 const char kSmsTextKey[] = "text"; | 18 const char kSmsTextKey[] = "text"; |
| 19 | 19 |
| 20 class SmsObserver { | 20 class SmsObserver { |
| 21 public: | 21 public: |
| 22 virtual ~SmsObserver() {} | 22 virtual ~SmsObserver() {} |
| 23 | 23 |
| 24 virtual void AddMessage(const base::DictionaryValue& message) = 0; | 24 virtual void AddMessage(const base::DictionaryValue& message) = 0; |
| 25 }; | 25 }; |
| 26 | 26 |
| 27 } // namespace ash | 27 } // namespace ash |
| 28 | 28 |
| 29 #endif // ASH_SYSTEM_NETWORK_SMS_OBSERVER_H | 29 #endif // ASH_SYSTEM_NETWORK_SMS_OBSERVER_H |
| OLD | NEW |