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

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

Issue 6366019: Part 1 of repairing regressions to my old clang check plugins so Nico can (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove Nico's changes that I patched in for testing. Created 9 years, 10 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 JINGLE_NOTIFIER_LISTENER_NOTIFICATION_DEFINES_H_ 5 #ifndef JINGLE_NOTIFIER_LISTENER_NOTIFICATION_DEFINES_H_
6 #define JINGLE_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();
17 require_subscription(false), 17 ~OutgoingNotificationData();
18 write_to_cache_only(false) { 18
19 }
20 // Id values 19 // Id values
21 std::string service_url; 20 std::string service_url;
22 std::string service_id; 21 std::string service_id;
23 // This bool signifies whether the content fields should be 22 // This bool signifies whether the content fields should be
24 // sent with the outgoing data. 23 // sent with the outgoing data.
25 bool send_content; 24 bool send_content;
26 // Content values. 25 // Content values.
27 std::string service_specific_data; 26 std::string service_specific_data;
28 int priority; 27 int priority;
29 bool require_subscription; 28 bool require_subscription;
30 bool write_to_cache_only; 29 bool write_to_cache_only;
31 }; 30 };
32 31
33 #endif // JINGLE_NOTIFIER_LISTENER_NOTIFICATION_DEFINES_H_ 32 #endif // JINGLE_NOTIFIER_LISTENER_NOTIFICATION_DEFINES_H_
34 33
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698