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

Unified Diff: ppapi/tests/test_console.h

Issue 11416214: PPAPI: Move PPB_Console out of dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Examples Created 8 years 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_console.h
diff --git a/ppapi/tests/test_crypto.h b/ppapi/tests/test_console.h
similarity index 50%
copy from ppapi/tests/test_crypto.h
copy to ppapi/tests/test_console.h
index 819ad779db99f45eda160ab79fc501da1be00a36..af7837f99dff5972aafb131e7c55de3512750cd1 100644
--- a/ppapi/tests/test_crypto.h
+++ b/ppapi/tests/test_console.h
@@ -2,27 +2,28 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef PPAPI_TESTS_TEST_CRYPTO_H_
-#define PPAPI_TESTS_TEST_CRYPTO_H_
+#ifndef PPAPI_TESTS_TEST_CONSOLE_H_
+#define PPAPI_TESTS_TEST_CONSOLE_H_
#include <string>
-#include <vector>
-#include "ppapi/c/dev/ppb_crypto_dev.h"
+#include "ppapi/c/ppb_console.h"
+#include "ppapi/c/ppb_var.h"
dmichael (off chromium) 2012/12/12 19:09:07 total nit: These could both be forward references
#include "ppapi/tests/test_case.h"
-class TestCrypto : public TestCase {
+class TestConsole : public TestCase {
public:
- TestCrypto(TestingInstance* instance);
+ TestConsole(TestingInstance* instance);
dmichael (off chromium) 2012/12/12 19:09:07 nit: explicit
// TestCase implementation.
virtual bool Init();
virtual void RunTests(const std::string& filter);
private:
- std::string TestGetRandomBytes();
+ std::string TestSmoke();
- const PPB_Crypto_Dev* crypto_interface_;
+ const PPB_Console* console_interface_;
+ const PPB_Var* var_interface_;
};
-#endif // PPAPI_TESTS_TEST_CRYPTO_H_
+#endif // PPAPI_TESTS_TEST_CONSOLE_H_

Powered by Google App Engine
This is Rietveld 408576698