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
3 // found in the LICENSE file.
5 #ifndef PAPPI_TESTS_TEST_NETWORK_MONITOR_PRIVATE_H_
6 #define PAPPI_TESTS_TEST_NETWORK_MONITOR_PRIVATE_H_
10 #include "ppapi/c/pp_stdint.h"
11 #include "ppapi/tests/test_case.h"
14 class NetworkListPrivate
;
17 class TestNetworkMonitorPrivate
: public TestCase
{
19 explicit TestNetworkMonitorPrivate(TestingInstance
* instance
);
21 // TestCase implementation.
23 virtual void RunTests(const std::string
& filter
);
26 std::string
TestBasic();
27 std::string
Test2Monitors();
28 std::string
TestDeleteInCallback();
29 std::string
TestListObserver();
31 std::string
VerifyNetworkListResource(PP_Resource network_resource
);
32 std::string
VerifyNetworkList(const pp::NetworkListPrivate
& network_list
);
35 #endif // PAPPI_TESTS_TEST_NETWORK_MONITOR_PRIVATE_H_