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

Unified Diff: content/public/common/result_codes_list.h

Issue 617103007: Revert of Revert of Use the new java_cpp_enum rule in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/common/result_codes.h ('k') | content/public/common/screen_orientation_values.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/result_codes_list.h
diff --git a/content/public/common/result_codes_list.h b/content/public/common/result_codes_list.h
deleted file mode 100644
index 589fb458ebadcf1ac82d91e281b8f0b9879e5c2d..0000000000000000000000000000000000000000
--- a/content/public/common/result_codes_list.h
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (c) 2013 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.
-
-// Intentionally no include guards because this file is meant to be included
-// inside a macro to generate enum values.
-
-// This file consolidates all the return codes for the browser and renderer
-// process. The return code is the value that:
-// a) is returned by main() or winmain(), or
-// b) specified in the call for ExitProcess() or TerminateProcess(), or
-// c) the exception value that causes a process to terminate.
-//
-// It is advisable to not use negative numbers because the Windows API returns
-// it as an unsigned long and the exception values have high numbers. For
-// example EXCEPTION_ACCESS_VIOLATION value is 0xC0000005.
-
-#include "build/build_config.h"
-
-// Process terminated normally.
-RESULT_CODE(NORMAL_EXIT, 0)
-
-// Process was killed by user or system.
-RESULT_CODE(KILLED, 1)
-
-// Process hung.
-RESULT_CODE(HUNG, 2)
-
-// A bad message caused the process termination.
-RESULT_CODE(KILLED_BAD_MESSAGE, 3)
« no previous file with comments | « content/public/common/result_codes.h ('k') | content/public/common/screen_orientation_values.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698