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

Side by Side Diff: content/renderer/media/mock_web_peer_connection_handler_client.h

Issue 10826174: Dead code elimination: scythe.chrome_functions:segment.path %media% edition, round 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 4 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) 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 #ifndef CONTENT_RENDERER_MEDIA_MOCK_WEB_PEER_CONNECTION_HANDLER_CLIENT_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_MOCK_WEB_PEER_CONNECTION_HANDLER_CLIENT_H_
6 #define CONTENT_RENDERER_MEDIA_MOCK_WEB_PEER_CONNECTION_HANDLER_CLIENT_H_ 6 #define CONTENT_RENDERER_MEDIA_MOCK_WEB_PEER_CONNECTION_HANDLER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebPeerConne ctionHandlerClient.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebPeerConne ctionHandlerClient.h"
12 12
13 namespace WebKit { 13 namespace WebKit {
14 14
15 class MockWebPeerConnectionHandlerClient 15 class MockWebPeerConnectionHandlerClient
16 : public WebPeerConnectionHandlerClient { 16 : public WebPeerConnectionHandlerClient {
17 public: 17 public:
18 MockWebPeerConnectionHandlerClient(); 18 MockWebPeerConnectionHandlerClient();
19 virtual ~MockWebPeerConnectionHandlerClient(); 19 virtual ~MockWebPeerConnectionHandlerClient();
20 20
21 // WebPeerConnectionHandlerClient implementation. 21 // WebPeerConnectionHandlerClient implementation.
22 virtual void didCompleteICEProcessing(); 22 virtual void didCompleteICEProcessing();
23 virtual void didGenerateSDP(const WebString& sdp); 23 virtual void didGenerateSDP(const WebString&);
24 virtual void didReceiveDataStreamMessage(const char* data, size_t length); 24 virtual void didReceiveDataStreamMessage(const char* data, size_t length);
25 virtual void didAddRemoteStream( 25 virtual void didAddRemoteStream(
26 const WebMediaStreamDescriptor& stream_descriptor); 26 const WebMediaStreamDescriptor& stream_descriptor);
27 virtual void didRemoveRemoteStream( 27 virtual void didRemoveRemoteStream(
28 const WebMediaStreamDescriptor& stream_descriptor); 28 const WebMediaStreamDescriptor& stream_descriptor);
29 29
30 const std::string& stream_label() { return stream_label_; } 30 const std::string& stream_label() { return stream_label_; }
31 const std::string& sdp() const { return sdp_; }
32 31
33 private: 32 private:
34 std::string stream_label_; 33 std::string stream_label_;
35 std::string sdp_;
36 34
37 DISALLOW_COPY_AND_ASSIGN(MockWebPeerConnectionHandlerClient); 35 DISALLOW_COPY_AND_ASSIGN(MockWebPeerConnectionHandlerClient);
38 }; 36 };
39 37
40 } // namespace WebKit 38 } // namespace WebKit
41 39
42 #endif // CONTENT_RENDERER_MEDIA_MOCK_WEB_PEER_CONNECTION_HANDLER_CLIENT_H_ 40 #endif // CONTENT_RENDERER_MEDIA_MOCK_WEB_PEER_CONNECTION_HANDLER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698