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

Unified Diff: ppapi/tests/test_transport.h

Issue 8764004: Add DEPS include rules so we don't accidentally use base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove rules to include self where possible Created 9 years, 1 month 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
« no previous file with comments | « ppapi/tests/test_tcp_socket_private.cc ('k') | ppapi/tests/test_transport.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_transport.h
diff --git a/ppapi/tests/test_transport.h b/ppapi/tests/test_transport.h
index 745423298907051d206817111d69f898bc1c4acb..43775155de92e5ff0b304d47cbeae9f6b6b0ee14 100644
--- a/ppapi/tests/test_transport.h
+++ b/ppapi/tests/test_transport.h
@@ -7,7 +7,6 @@
#include <string>
-#include "base/memory/scoped_ptr.h"
#include "ppapi/c/dev/ppb_transport_dev.h"
#include "ppapi/tests/test_case.h"
@@ -19,7 +18,13 @@ class Transport_Dev;
class TestTransport : public TestCase {
public:
- explicit TestTransport(TestingInstance* instance) : TestCase(instance) {}
+ explicit TestTransport(TestingInstance* instance)
+ : TestCase(instance),
+ transport1_(NULL),
+ transport2_(NULL) {
+ }
+ virtual ~TestTransport();
+
// TestCase implementation.
virtual bool Init();
@@ -41,8 +46,8 @@ class TestTransport : public TestCase {
// Used by the tests that access the C API directly.
const PPB_Transport_Dev* transport_interface_;
- scoped_ptr<pp::Transport_Dev> transport1_;
- scoped_ptr<pp::Transport_Dev> transport2_;
+ pp::Transport_Dev* transport1_;
+ pp::Transport_Dev* transport2_;
};
#endif // PPAPI_TESTS_TEST_TRANSPORT_H_
« no previous file with comments | « ppapi/tests/test_tcp_socket_private.cc ('k') | ppapi/tests/test_transport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698