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

Unified Diff: content/public/browser/renderer_unresponsive_type.h

Issue 2737553003: Remove ChildProcess.HangRendererType. (Closed)
Patch Set: rebase to tot Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/browser/BUILD.gn ('k') | content/public/browser/web_contents_unresponsive_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/renderer_unresponsive_type.h
diff --git a/content/public/browser/renderer_unresponsive_type.h b/content/public/browser/renderer_unresponsive_type.h
deleted file mode 100644
index e2190f7dfe0b8a2555984ef4eb90a52a72f4b08f..0000000000000000000000000000000000000000
--- a/content/public/browser/renderer_unresponsive_type.h
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (c) 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_PUBLIC_BROWSER_RENDERER_UNRESPONSIVE_TYPE_H_
-#define CONTENT_PUBLIC_BROWSER_RENDERER_UNRESPONSIVE_TYPE_H_
-
-#include "content/common/content_export.h"
-
-namespace content {
-
-// Used in histograms to differentiate between the different types of
-// renderer hang. Only add values at the end, do not delete values.
-enum RendererUnresponsiveType {
- RENDERER_UNRESPONSIVE_UNKNOWN = 0,
- RENDERER_UNRESPONSIVE_IN_FLIGHT_EVENTS = 1,
- RENDERER_UNRESPONSIVE_DIALOG_CLOSED = 2,
- RENDERER_UNRESPONSIVE_DIALOG_SUPPRESSED = 3,
- RENDERER_UNRESPONSIVE_BEFORE_UNLOAD = 4,
-
- // Used when a page hangs after a JavaScript dialog is fired inside of unload.
- // This is no longer allowed to happen so this value is no longer used.
- RENDERER_UNRESPONSIVE_UNLOAD_OBSOLETE = 5,
- RENDERER_UNRESPONSIVE_CLOSE_PAGE = 6,
- RENDERER_UNRESPONSIVE_MAX = RENDERER_UNRESPONSIVE_CLOSE_PAGE,
-};
-
-} // namespace content
-
-#endif // CONTENT_PUBLIC_BROWSER_RENDERER_UNRESPONSIVE_TYPE_H_
« no previous file with comments | « content/public/browser/BUILD.gn ('k') | content/public/browser/web_contents_unresponsive_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698