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

Unified Diff: components/cronet/android/chromium_url_request_error_list.h

Issue 659493003: Final step of the java_cpp_template -> java_cpp_enum migration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 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: components/cronet/android/chromium_url_request_error_list.h
diff --git a/components/cronet/android/chromium_url_request_error_list.h b/components/cronet/android/chromium_url_request_error_list.h
deleted file mode 100644
index 4f4cdb8c9cd5447c39d17c66fa9b26434d89e315..0000000000000000000000000000000000000000
--- a/components/cronet/android/chromium_url_request_error_list.h
+++ /dev/null
@@ -1,14 +0,0 @@
-// Copyright 2014 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.
-
-// This file intentionally does not have header guards, it's included
-// inside a macro to generate enum values.
-#ifndef DEFINE_REQUEST_ERROR
-#error "DEFINE_REQUEST_ERROR should be defined before including this file"
-#endif
-DEFINE_REQUEST_ERROR(SUCCESS, 0)
-DEFINE_REQUEST_ERROR(UNKNOWN, 1)
-DEFINE_REQUEST_ERROR(MALFORMED_URL, 2)
-DEFINE_REQUEST_ERROR(CONNECTION_TIMED_OUT, 3)
-DEFINE_REQUEST_ERROR(UNKNOWN_HOST, 4)
« no previous file with comments | « components/cronet/android/chromium_url_request.h ('k') | components/cronet/android/chromium_url_request_priority_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698