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

Side by Side Diff: sky/tools/tester/test_runner.h

Issue 988693005: Chromium roll (https://codereview.chromium.org/976353002) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fixed bad android build patch Created 5 years, 9 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
« no previous file with comments | « sky/tools/tester/test_harness_impl.h ('k') | sky/tools/tester/test_runner.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 SKY_TOOLS_TESTER_TEST_RUNNER_H_ 5 #ifndef SKY_TOOLS_TESTER_TEST_RUNNER_H_
6 #define SKY_TOOLS_TESTER_TEST_RUNNER_H_ 6 #define SKY_TOOLS_TESTER_TEST_RUNNER_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "mojo/public/cpp/application/service_provider_impl.h" 9 #include "mojo/public/cpp/application/service_provider_impl.h"
10 #include "sky/tools/tester/test_harness_impl.h" 10 #include "sky/tools/tester/test_harness_impl.h"
(...skipping 27 matching lines...) Expand all
38 void OnTestComplete(const std::string& test_result, 38 void OnTestComplete(const std::string& test_result,
39 const mojo::Array<uint8_t>& pixels); 39 const mojo::Array<uint8_t>& pixels);
40 40
41 private: 41 private:
42 // mojo::InterfaceFactory<TestHarness> implementation: 42 // mojo::InterfaceFactory<TestHarness> implementation:
43 void Create(mojo::ApplicationConnection* app, 43 void Create(mojo::ApplicationConnection* app,
44 mojo::InterfaceRequest<TestHarness> request) override; 44 mojo::InterfaceRequest<TestHarness> request) override;
45 45
46 mojo::ServiceProviderImpl test_harness_provider_impl_; 46 mojo::ServiceProviderImpl test_harness_provider_impl_;
47 TestRunnerClient* client_; 47 TestRunnerClient* client_;
48 bool enable_pixel_dumping_;
48 base::WeakPtrFactory<TestRunner> weak_ptr_factory_; 49 base::WeakPtrFactory<TestRunner> weak_ptr_factory_;
49 bool enable_pixel_dumping_;
50 50
51 MOJO_DISALLOW_COPY_AND_ASSIGN(TestRunner); 51 MOJO_DISALLOW_COPY_AND_ASSIGN(TestRunner);
52 }; 52 };
53 53
54 } // namespace tester 54 } // namespace tester
55 } // namespace sky 55 } // namespace sky
56 56
57 #endif // SKY_TOOLS_TESTER_TEST_RUNNER_H_ 57 #endif // SKY_TOOLS_TESTER_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « sky/tools/tester/test_harness_impl.h ('k') | sky/tools/tester/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698