| OLD | NEW | 
|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_FINAL_STATUS_H_ | 5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_FINAL_STATUS_H_ | 
| 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_FINAL_STATUS_H_ | 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_FINAL_STATUS_H_ | 
| 7 | 7 | 
| 8 namespace prerender { | 8 namespace prerender { | 
| 9 | 9 | 
| 10 // FinalStatus indicates whether |this| was used, or why it was cancelled. | 10 // FinalStatus indicates whether |this| was used, or why it was cancelled. | 
| (...skipping 15 matching lines...) Expand all  Loading... | 
| 26   FINAL_STATUS_JS_OUT_OF_MEMORY, | 26   FINAL_STATUS_JS_OUT_OF_MEMORY, | 
| 27   FINAL_STATUS_RENDERER_UNRESPONSIVE, | 27   FINAL_STATUS_RENDERER_UNRESPONSIVE, | 
| 28   FINAL_STATUS_TOO_MANY_PROCESSES, | 28   FINAL_STATUS_TOO_MANY_PROCESSES, | 
| 29   FINAL_STATUS_RATE_LIMIT_EXCEEDED, | 29   FINAL_STATUS_RATE_LIMIT_EXCEEDED, | 
| 30   FINAL_STATUS_PENDING_SKIPPED, | 30   FINAL_STATUS_PENDING_SKIPPED, | 
| 31   FINAL_STATUS_CONTROL_GROUP, | 31   FINAL_STATUS_CONTROL_GROUP, | 
| 32   FINAL_STATUS_HTML5_MEDIA, | 32   FINAL_STATUS_HTML5_MEDIA, | 
| 33   FINAL_STATUS_SOURCE_RENDER_VIEW_CLOSED, | 33   FINAL_STATUS_SOURCE_RENDER_VIEW_CLOSED, | 
| 34   FINAL_STATUS_RENDERER_CRASHED, | 34   FINAL_STATUS_RENDERER_CRASHED, | 
| 35   FINAL_STATUS_UNSUPPORTED_SCHEME, | 35   FINAL_STATUS_UNSUPPORTED_SCHEME, | 
|  | 36   FINAL_STATUS_NOT_GET, | 
| 36   FINAL_STATUS_MAX, | 37   FINAL_STATUS_MAX, | 
| 37 }; | 38 }; | 
| 38 | 39 | 
| 39 void RecordFinalStatus(FinalStatus final_status); | 40 void RecordFinalStatus(FinalStatus final_status); | 
| 40 | 41 | 
| 41 }  // namespace prerender | 42 }  // namespace prerender | 
| 42 | 43 | 
| 43 #endif  // CHROME_BROWSER_PRERENDER_PRERENDER_FINAL_STATUS_H_ | 44 #endif  // CHROME_BROWSER_PRERENDER_PRERENDER_FINAL_STATUS_H_ | 
| OLD | NEW | 
|---|