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

Side by Side Diff: mojo/common/test/test_support_impl.h

Issue 229683005: Validate MessageHeader before using (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove debug printfs Created 6 years, 7 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 | « no previous file | mojo/common/test/test_support_impl.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 MOJO_COMMON_TEST_TEST_SUPPORT_IMPL_H_ 5 #ifndef MOJO_COMMON_TEST_TEST_SUPPORT_IMPL_H_
6 #define MOJO_COMMON_TEST_TEST_SUPPORT_IMPL_H_ 6 #define MOJO_COMMON_TEST_TEST_SUPPORT_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "mojo/public/tests/test_support_private.h" 9 #include "mojo/public/tests/test_support_private.h"
10 10
11 namespace mojo { 11 namespace mojo {
12 namespace test { 12 namespace test {
13 13
14 class TestSupportImpl : public TestSupport { 14 class TestSupportImpl : public TestSupport {
15 public: 15 public:
16 TestSupportImpl(); 16 TestSupportImpl();
17 virtual ~TestSupportImpl(); 17 virtual ~TestSupportImpl();
18 18
19 virtual void LogPerfResult(const char* test_name, 19 virtual void LogPerfResult(const char* test_name,
20 double value, 20 double value,
21 const char* units) OVERRIDE; 21 const char* units) OVERRIDE;
22 virtual FILE* OpenSourceRootRelativeFile(const char* relative_path) OVERRIDE;
23 virtual char** EnumerateSourceRootRelativeDirectory(const char* relative_path)
24 OVERRIDE;
22 25
23 private: 26 private:
24 DISALLOW_COPY_AND_ASSIGN(TestSupportImpl); 27 DISALLOW_COPY_AND_ASSIGN(TestSupportImpl);
25 }; 28 };
26 29
27 } // namespace test 30 } // namespace test
28 } // namespace mojo 31 } // namespace mojo
29 32
30 #endif // MOJO_COMMON_TEST_TEST_SUPPORT_IMPL_H_ 33 #endif // MOJO_COMMON_TEST_TEST_SUPPORT_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | mojo/common/test/test_support_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698