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

Side by Side Diff: ppapi/tests/test_transport.h

Issue 7713021: Add SetProperty() in the PPB_Transport_Dev interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 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
« no previous file with comments | « ppapi/cpp/dev/transport_dev.cc ('k') | ppapi/tests/test_transport.cc » ('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) 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 #ifndef PPAPI_TESTS_TEST_TRANSPORT_H_ 5 #ifndef PPAPI_TESTS_TEST_TRANSPORT_H_
6 #define PPAPI_TESTS_TEST_TRANSPORT_H_ 6 #define PPAPI_TESTS_TEST_TRANSPORT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 13 matching lines...) Expand all
24 virtual bool Init(); 24 virtual bool Init();
25 virtual void RunTest(); 25 virtual void RunTest();
26 26
27 private: 27 private:
28 std::string InitTargets(const char* proto); 28 std::string InitTargets(const char* proto);
29 std::string Connect(); 29 std::string Connect();
30 std::string Clean(); 30 std::string Clean();
31 31
32 std::string TestCreate(); 32 std::string TestCreate();
33 std::string TestConnect(); 33 std::string TestConnect();
34 std::string TestSetProperty();
34 std::string TestSendDataTcp(); 35 std::string TestSendDataTcp();
35 std::string TestSendDataUdp(); 36 std::string TestSendDataUdp();
36 std::string TestConnectAndCloseTcp(); 37 std::string TestConnectAndCloseTcp();
37 std::string TestConnectAndCloseUdp(); 38 std::string TestConnectAndCloseUdp();
38 39
39 // Used by the tests that access the C API directly. 40 // Used by the tests that access the C API directly.
40 const PPB_Transport_Dev* transport_interface_; 41 const PPB_Transport_Dev* transport_interface_;
41 42
42 scoped_ptr<pp::Transport_Dev> transport1_; 43 scoped_ptr<pp::Transport_Dev> transport1_;
43 scoped_ptr<pp::Transport_Dev> transport2_; 44 scoped_ptr<pp::Transport_Dev> transport2_;
44 }; 45 };
45 46
46 #endif // PPAPI_TESTS_TEST_TRANSPORT_H_ 47 #endif // PPAPI_TESTS_TEST_TRANSPORT_H_
OLDNEW
« no previous file with comments | « ppapi/cpp/dev/transport_dev.cc ('k') | ppapi/tests/test_transport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698