#ifndef CHROME_BROWSER_PRERENDER_PRERENDER_FINAL_STATUS_H_
#define CHROME_BROWSER_PRERENDER_PRERENDER_FINAL_STATUS_H_
#include "chrome/browser/prerender/prerender_origin.h"
namespace prerender {
enum FinalStatus {
FINAL_STATUS_USED = 0,
FINAL_STATUS_TIMED_OUT = 1,
FINAL_STATUS_MANAGER_SHUTDOWN = 3,
FINAL_STATUS_CREATE_NEW_WINDOW = 5,
FINAL_STATUS_PROFILE_DESTROYED = 6,
FINAL_STATUS_APP_TERMINATING = 7,
FINAL_STATUS_JAVASCRIPT_ALERT = 8,
FINAL_STATUS_AUTH_NEEDED = 9,
FINAL_STATUS_DOWNLOAD = 11,
FINAL_STATUS_MEMORY_LIMIT_EXCEEDED = 12,
FINAL_STATUS_TOO_MANY_PROCESSES = 15,
FINAL_STATUS_RATE_LIMIT_EXCEEDED = 16,
FINAL_STATUS_RENDERER_CRASHED = 21,
FINAL_STATUS_UNSUPPORTED_SCHEME = 22,
FINAL_STATUS_INVALID_HTTP_METHOD = 23,
FINAL_STATUS_WINDOW_PRINT = 24,
FINAL_STATUS_RECENTLY_VISITED = 25,
FINAL_STATUS_WINDOW_OPENER = 26,
FINAL_STATUS_SAFE_BROWSING = 28,
FINAL_STATUS_SSL_CLIENT_CERTIFICATE_REQUESTED = 30,
FINAL_STATUS_CACHE_OR_HISTORY_CLEARED = 31,
FINAL_STATUS_CANCELLED = 32,
FINAL_STATUS_SSL_ERROR = 33,
FINAL_STATUS_CROSS_SITE_NAVIGATION_PENDING = 34,
FINAL_STATUS_DEVTOOLS_ATTACHED = 35,
FINAL_STATUS_DUPLICATE = 39,
FINAL_STATUS_OPEN_URL = 40,
FINAL_STATUS_WOULD_HAVE_BEEN_USED = 41,
FINAL_STATUS_REGISTER_PROTOCOL_HANDLER = 42,
FINAL_STATUS_CREATING_AUDIO_STREAM = 43,
FINAL_STATUS_PAGE_BEING_CAPTURED = 44,
FINAL_STATUS_BAD_DEFERRED_REDIRECT = 45,
FINAL_STATUS_NAVIGATION_UNCOMMITTED = 46,
FINAL_STATUS_NEW_NAVIGATION_ENTRY = 47,
FINAL_STATUS_MAX,
};
const char* NameFromFinalStatus(FinalStatus final_status);
}
#endif