Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(333)

Side by Side Diff: ash/system/network/sms_observer.h

Issue 10668026: Merge 143291 - Re-factor TraySms to use ash::SmsObserver instead of NetoworkSmsHandler. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1180/src/
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ash/system/network/tray_sms.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « no previous file | ash/system/network/tray_sms.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698