OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #include "chrome/browser/sync/notifier/communicator/mailbox.h" | 5 #include "chrome/common/net/notifier/communicator/mailbox.h" |
6 | 6 |
7 #include <assert.h> | 7 #include <assert.h> |
8 #include <stdlib.h> | 8 #include <stdlib.h> |
9 | 9 |
10 #include <stack> | 10 #include <stack> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "chrome/browser/sync/notifier/base/string.h" | 13 #include "chrome/common/net/notifier/base/string.h" |
14 #include "chrome/browser/sync/notifier/base/utils.h" | 14 #include "chrome/common/net/notifier/base/utils.h" |
15 #include "chrome/browser/sync/notifier/communicator/xml_parse_helpers.h" | 15 #include "chrome/common/net/notifier/communicator/xml_parse_helpers.h" |
16 #include "talk/base/basictypes.h" | 16 #include "talk/base/basictypes.h" |
17 #include "talk/base/common.h" | 17 #include "talk/base/common.h" |
18 #include "talk/base/stringutils.h" | 18 #include "talk/base/stringutils.h" |
19 #include "talk/xmllite/xmlelement.h" | 19 #include "talk/xmllite/xmlelement.h" |
20 #include "talk/xmpp/constants.h" | 20 #include "talk/xmpp/constants.h" |
21 | 21 |
22 namespace notifier { | 22 namespace notifier { |
23 | 23 |
24 // Labels are a list of strings seperated by a '|' character. The '|' character | 24 // Labels are a list of strings seperated by a '|' character. The '|' character |
25 // is escaped with a backslash ('\\') and the backslash is also escaped with a | 25 // is escaped with a backslash ('\\') and the backslash is also escaped with a |
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
666 space -= 2; | 666 space -= 2; |
667 } | 667 } |
668 | 668 |
669 SenderFormatterList senders(sender_list, me_address); | 669 SenderFormatterList senders(sender_list, me_address); |
670 std::string html_list(senders.GetHtml(space)); | 670 std::string html_list(senders.GetHtml(space)); |
671 html_list.append(count_html); | 671 html_list.append(count_html); |
672 return html_list; | 672 return html_list; |
673 } | 673 } |
674 | 674 |
675 } // namespace notifier | 675 } // namespace notifier |
OLD | NEW |