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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 2564973002: Add an infobar if a session is being controlled by an automated test. (Closed)
Patch Set: address review comments Created 3 years, 10 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 1727 matching lines...) Expand 10 before | Expand all | Expand 10 after
1738 switches::kDisableSpeechAPI, 1738 switches::kDisableSpeechAPI,
1739 switches::kDisableThreadedCompositing, 1739 switches::kDisableThreadedCompositing,
1740 switches::kDisableThreadedScrolling, 1740 switches::kDisableThreadedScrolling,
1741 switches::kDisableTouchAdjustment, 1741 switches::kDisableTouchAdjustment,
1742 switches::kDisableTouchDragDrop, 1742 switches::kDisableTouchDragDrop,
1743 switches::kDisableV8IdleTasks, 1743 switches::kDisableV8IdleTasks,
1744 switches::kDisableWebGLImageChromium, 1744 switches::kDisableWebGLImageChromium,
1745 switches::kDomAutomationController, 1745 switches::kDomAutomationController,
1746 switches::kEnableBlinkFeatures, 1746 switches::kEnableBlinkFeatures,
1747 switches::kEnableBrowserSideNavigation, 1747 switches::kEnableBrowserSideNavigation,
1748 switches::kEnableChromeDriver,
Devlin 2017/02/06 16:20:22 Does this switch need to be propogated to the rend
samuong 2017/02/07 19:11:09 Done. It's not needed for this CL, but I might ad
1748 switches::kEnableColorCorrectRenderingDefaultMode, 1749 switches::kEnableColorCorrectRenderingDefaultMode,
1749 switches::kEnableDisplayList2dCanvas, 1750 switches::kEnableDisplayList2dCanvas,
1750 switches::kEnableDistanceFieldText, 1751 switches::kEnableDistanceFieldText,
1751 switches::kEnableExperimentalCanvasFeatures, 1752 switches::kEnableExperimentalCanvasFeatures,
1752 switches::kEnableExperimentalWebPlatformFeatures, 1753 switches::kEnableExperimentalWebPlatformFeatures,
1753 switches::kEnableHeapProfiling, 1754 switches::kEnableHeapProfiling,
1754 switches::kEnableGPUClientLogging, 1755 switches::kEnableGPUClientLogging,
1755 switches::kEnableGpuClientTracing, 1756 switches::kEnableGpuClientTracing,
1756 switches::kEnableGpuMemoryBufferVideoFrames, 1757 switches::kEnableGpuMemoryBufferVideoFrames,
1757 switches::kEnableGPUServiceLogging, 1758 switches::kEnableGPUServiceLogging,
(...skipping 1315 matching lines...) Expand 10 before | Expand all | Expand 10 after
3073 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 3074 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
3074 3075
3075 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. 3076 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing.
3076 // Capture the error message in a crash key value. 3077 // Capture the error message in a crash key value.
3077 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); 3078 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error);
3078 bad_message::ReceivedBadMessage(render_process_id, 3079 bad_message::ReceivedBadMessage(render_process_id,
3079 bad_message::RPH_MOJO_PROCESS_ERROR); 3080 bad_message::RPH_MOJO_PROCESS_ERROR);
3080 } 3081 }
3081 3082
3082 } // namespace content 3083 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698