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

Side by Side Diff: jingle/notifier/listener/push_notifications_subscribe_task_unittest.cc

Issue 16684003: Use a direct include of strings headers in ipc/, jingle/, media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
OLDNEW
1 // Copyright (c) 2011 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 #include "jingle/notifier/listener/push_notifications_subscribe_task.h" 5 #include "jingle/notifier/listener/push_notifications_subscribe_task.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "base/stringprintf.h" 8 #include "base/strings/stringprintf.h"
9 #include "jingle/notifier/listener/xml_element_util.h" 9 #include "jingle/notifier/listener/xml_element_util.h"
10 #include "talk/xmpp/jid.h" 10 #include "talk/xmpp/jid.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 12
13 namespace buzz { 13 namespace buzz {
14 class XmlElement; 14 class XmlElement;
15 } 15 }
16 16
17 namespace notifier { 17 namespace notifier {
18 18
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 "<item channel=\"test_channel2\" from=\"from.test2.com\"/>" 53 "<item channel=\"test_channel2\" from=\"from.test2.com\"/>"
54 "</subscribe>" 54 "</subscribe>"
55 "</cli:iq>", 55 "</cli:iq>",
56 jid_.BareJid().Str().c_str(), task_id_.c_str()); 56 jid_.BareJid().Str().c_str(), task_id_.c_str());
57 57
58 EXPECT_EQ(expected_xml_string, XmlElementToString(*message)); 58 EXPECT_EQ(expected_xml_string, XmlElementToString(*message));
59 } 59 }
60 60
61 } // namespace notifier 61 } // namespace notifier
62 62
OLDNEW
« no previous file with comments | « jingle/notifier/listener/push_notifications_send_update_task_unittest.cc ('k') | jingle/notifier/listener/xml_element_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698