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

Side by Side 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: delete some more template files 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // This file intentionally does not have header guards, it's included
6 // inside a macro to generate enum values.
7 #ifndef DEFINE_REQUEST_ERROR
8 #error "DEFINE_REQUEST_ERROR should be defined before including this file"
9 #endif
10 DEFINE_REQUEST_ERROR(SUCCESS, 0)
11 DEFINE_REQUEST_ERROR(UNKNOWN, 1)
12 DEFINE_REQUEST_ERROR(MALFORMED_URL, 2)
13 DEFINE_REQUEST_ERROR(CONNECTION_TIMED_OUT, 3)
14 DEFINE_REQUEST_ERROR(UNKNOWN_HOST, 4)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698