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

Side by Side Diff: jingle/notifier/listener/notification_defines.h

Issue 2885005: Move chrome/common/net/notifier to jingle/notifier so that it can be used by remoting/remoting.gyp. (Closed) Base URL: git://codf21.jail.google.com/chromium.git
Patch Set: rebased Created 10 years, 5 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_COMMON_NET_NOTIFIER_LISTENER_NOTIFICATION_DEFINES_H_ 5 #ifndef JINGLE_NOTIFIER_LISTENER_NOTIFICATION_DEFINES_H_
6 #define CHROME_COMMON_NET_NOTIFIER_LISTENER_NOTIFICATION_DEFINES_H_ 6 #define JINGLE_NOTIFIER_LISTENER_NOTIFICATION_DEFINES_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 struct IncomingNotificationData { 10 struct IncomingNotificationData {
11 std::string service_url; 11 std::string service_url;
12 std::string service_specific_data; 12 std::string service_specific_data;
13 }; 13 };
14 14
15 struct OutgoingNotificationData { 15 struct OutgoingNotificationData {
16 OutgoingNotificationData() : send_content(false), priority(0), 16 OutgoingNotificationData() : send_content(false), priority(0),
17 require_subscription(false), 17 require_subscription(false),
18 write_to_cache_only(false) { 18 write_to_cache_only(false) {
19 } 19 }
20 // Id values 20 // Id values
21 std::string service_url; 21 std::string service_url;
22 std::string service_id; 22 std::string service_id;
23 // This bool signifies whether the content fields should be 23 // This bool signifies whether the content fields should be
24 // sent with the outgoing data. 24 // sent with the outgoing data.
25 bool send_content; 25 bool send_content;
26 // Content values. 26 // Content values.
27 std::string service_specific_data; 27 std::string service_specific_data;
28 int priority; 28 int priority;
29 bool require_subscription; 29 bool require_subscription;
30 bool write_to_cache_only; 30 bool write_to_cache_only;
31 }; 31 };
32 32
33 #endif // CHROME_COMMON_NET_NOTIFIER_LISTENER_NOTIFICATION_DEFINES_H_ 33 #endif // JINGLE_NOTIFIER_LISTENER_NOTIFICATION_DEFINES_H_
34 34
OLDNEW
« no previous file with comments | « jingle/notifier/listener/notification_constants.cc ('k') | jingle/notifier/listener/send_update_task.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698