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

Unified Diff: remoting/protocol/protocol_mock_objects.h

Issue 9288010: More plumbing for logging connection IP addresses (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: remoting/protocol/protocol_mock_objects.h
diff --git a/remoting/protocol/protocol_mock_objects.h b/remoting/protocol/protocol_mock_objects.h
index 94a486850bcda310b61b2f53b190e4515dda2812..536a91310909a698572d3d38f4d6ab82caf5fbb0 100644
--- a/remoting/protocol/protocol_mock_objects.h
+++ b/remoting/protocol/protocol_mock_objects.h
@@ -16,6 +16,10 @@
#include "remoting/protocol/video_stub.h"
#include "testing/gmock/include/gmock/gmock.h"
+namespace net {
+class IpEndPoint;
+} // namespace net
+
namespace remoting {
namespace protocol {
@@ -48,6 +52,9 @@ class MockConnectionToClientEventHandler :
Session::Error error));
MOCK_METHOD2(OnSequenceNumberUpdated, void(ConnectionToClient* connection,
int64 sequence_number));
+ MOCK_METHOD3(OnClientIpEndPoint, void(ConnectionToClient* connection,
+ const std::string& channel_name,
+ const net::IPEndPoint& end_point));
private:
DISALLOW_COPY_AND_ASSIGN(MockConnectionToClientEventHandler);

Powered by Google App Engine
This is Rietveld 408576698