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

Unified Diff: content/public/test/mock_render_thread.cc

Issue 2447143003: Use kRenderClientId command line flag when starting a render process (Closed)
Patch Set: Added RenderThread::GetClientId() to fix the problem where some tests don't have the kRendererClien… Created 4 years, 2 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/public/test/mock_render_thread.cc
diff --git a/content/public/test/mock_render_thread.cc b/content/public/test/mock_render_thread.cc
index 455f2f1cc8922dc0b4053a8a214e23f1c89eafe7..97d268872ba843198fb38f7880628b56d5fd5eaf 100644
--- a/content/public/test/mock_render_thread.cc
+++ b/content/public/test/mock_render_thread.cc
@@ -218,6 +218,10 @@ base::WaitableEvent* MockRenderThread::GetShutdownEvent() {
return NULL;
}
+int32_t MockRenderThread::GetClientId() {
+ return 1;
+}
+
#if defined(OS_WIN)
void MockRenderThread::PreCacheFont(const LOGFONT& log_font) {
}

Powered by Google App Engine
This is Rietveld 408576698