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

Side by Side Diff: jingle/notifier/base/fake_base_task.cc

Issue 653203005: Roll WebRTC 7546:7549. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Decreased the number of gyp changes in this patch since thats the only major change (the reset is j… Created 6 years, 1 month 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
« no previous file with comments | « jingle/glue/utils.cc ('k') | jingle/notifier/base/gaia_token_pre_xmpp_auth.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 #include "base/compiler_specific.h" 5 #include "base/compiler_specific.h"
6 #include "jingle/notifier/base/fake_base_task.h" 6 #include "jingle/notifier/base/fake_base_task.h"
7 #include "jingle/notifier/base/weak_xmpp_client.h" 7 #include "jingle/notifier/base/weak_xmpp_client.h"
8 #include "talk/xmpp/asyncsocket.h"
9 #include "testing/gmock/include/gmock/gmock.h" 8 #include "testing/gmock/include/gmock/gmock.h"
9 #include "webrtc/libjingle/xmpp/asyncsocket.h"
10 10
11 namespace notifier { 11 namespace notifier {
12 12
13 using ::testing::_; 13 using ::testing::_;
14 using ::testing::Return; 14 using ::testing::Return;
15 15
16 class MockAsyncSocket : public buzz::AsyncSocket { 16 class MockAsyncSocket : public buzz::AsyncSocket {
17 public: 17 public:
18 virtual ~MockAsyncSocket() {} 18 virtual ~MockAsyncSocket() {}
19 19
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 base_task_ = weak_xmpp_client->AsWeakPtr(); 68 base_task_ = weak_xmpp_client->AsWeakPtr();
69 } 69 }
70 70
71 FakeBaseTask::~FakeBaseTask() {} 71 FakeBaseTask::~FakeBaseTask() {}
72 72
73 base::WeakPtr<buzz::XmppTaskParentInterface> FakeBaseTask::AsWeakPtr() { 73 base::WeakPtr<buzz::XmppTaskParentInterface> FakeBaseTask::AsWeakPtr() {
74 return base_task_; 74 return base_task_;
75 } 75 }
76 76
77 } // namespace notifier 77 } // namespace notifier
OLDNEW
« no previous file with comments | « jingle/glue/utils.cc ('k') | jingle/notifier/base/gaia_token_pre_xmpp_auth.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698