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

Unified Diff: content/shell/renderer/layout_test/blink_test_runner.h

Issue 2594913002: Replace IPC messages in layout_test_render_frame_observer. (Closed)
Patch Set: Replace const ref by value Created 3 years, 11 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: content/shell/renderer/layout_test/blink_test_runner.h
diff --git a/content/shell/renderer/layout_test/blink_test_runner.h b/content/shell/renderer/layout_test/blink_test_runner.h
index 4d69a11e51243d78c4993ce506c0cc0174c6602f..a13468061a07c0c822d63c63e1530e0645b3f32d 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.h
+++ b/content/shell/renderer/layout_test/blink_test_runner.h
@@ -17,8 +17,8 @@
#include "content/public/common/page_state.h"
#include "content/public/renderer/render_view_observer.h"
#include "content/public/renderer/render_view_observer_tracker.h"
+#include "content/shell/common/layout_test.mojom.h"
#include "content/shell/common/layout_test/layout_test_bluetooth_fake_adapter_setter.mojom.h"
-#include "content/shell/common/shell_test_configuration.h"
#include "v8/include/v8.h"
class SkBitmap;
@@ -173,8 +173,8 @@ class BlinkTestRunner : public RenderViewObserver,
void ReportLeakDetectionResult(const LeakDetectionResult& result);
// Message handlers forwarded by LayoutTestRenderFrameObserver.
- void OnSetTestConfiguration(const ShellTestConfiguration& params);
- void OnReplicateTestConfiguration(const ShellTestConfiguration& params);
+ void OnSetTestConfiguration(mojom::ShellTestConfigurationPtr params);
+ void OnReplicateTestConfiguration(mojom::ShellTestConfigurationPtr params);
void OnSetupSecondaryRenderer();
private:
@@ -207,7 +207,7 @@ class BlinkTestRunner : public RenderViewObserver,
test_runner::TestPreferences prefs_;
- ShellTestConfiguration test_config_;
+ mojom::ShellTestConfigurationPtr test_config_;
std::vector<int> routing_ids_;
std::vector<std::vector<PageState> > session_histories_;

Powered by Google App Engine
This is Rietveld 408576698