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

Unified Diff: ppapi/tests/test_network_monitor_private.h

Issue 9557006: Implement PPB_NetworkMonitor_Private Pepper interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 8 years, 10 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: ppapi/tests/test_network_monitor_private.h
diff --git a/ppapi/tests/test_network_monitor_private.h b/ppapi/tests/test_network_monitor_private.h
new file mode 100644
index 0000000000000000000000000000000000000000..20a99d43cec0b2f07a649a73498ff7a244cb91c6
--- /dev/null
+++ b/ppapi/tests/test_network_monitor_private.h
@@ -0,0 +1,28 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef PAPPI_TESTS_TEST_NETWORK_MONITOR_PRIVATE_H_
+#define PAPPI_TESTS_TEST_NETWORK_MONITOR_PRIVATE_H_
+
+#include <string>
+
+#include "ppapi/c/pp_stdint.h"
+#include "ppapi/tests/test_case.h"
+
+class TestNetworkMonitorPrivate : public TestCase {
+ public:
+ explicit TestNetworkMonitorPrivate(TestingInstance* instance);
+
+ // TestCase implementation.
+ virtual bool Init();
+ virtual void RunTests(const std::string& filter);
+
+ private:
+ std::string TestBasic();
+ std::string Test2Monitors();
+
+ std::string VerifyNetworkList(PP_Resource network_resource);
+};
+
+#endif // PAPPI_TESTS_TEST_NETWORK_MONITOR_PRIVATE_H_

Powered by Google App Engine
This is Rietveld 408576698