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

Unified Diff: cc/debug/unittest_only_benchmark.h

Issue 300963004: cc: Add message passing mechanism to micro benchmarking. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: cc/debug/unittest_only_benchmark.h
diff --git a/cc/debug/unittest_only_benchmark.h b/cc/debug/unittest_only_benchmark.h
index 83312859644cf7b55e5fc110c021b7b0d0b3d898..e64a7990eaadca1d9bc82719f418dbcf0f44e1a3 100644
--- a/cc/debug/unittest_only_benchmark.h
+++ b/cc/debug/unittest_only_benchmark.h
@@ -13,10 +13,12 @@ namespace cc {
class CC_EXPORT UnittestOnlyBenchmark : public MicroBenchmark {
public:
UnittestOnlyBenchmark(scoped_ptr<base::Value> value,
- const DoneCallback& callback);
+ const DoneCallback& callback,
+ int id);
virtual ~UnittestOnlyBenchmark();
virtual void DidUpdateLayers(LayerTreeHost* host) OVERRIDE;
+ virtual bool SendMessage(scoped_ptr<base::Value> value) OVERRIDE;
protected:
virtual scoped_ptr<MicroBenchmarkImpl> CreateBenchmarkImpl(
@@ -32,4 +34,3 @@ class CC_EXPORT UnittestOnlyBenchmark : public MicroBenchmark {
} // namespace cc
#endif // CC_DEBUG_UNITTEST_ONLY_BENCHMARK_H_
-

Powered by Google App Engine
This is Rietveld 408576698