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

Side by Side Diff: chrome/browser/prerender/prerender_final_status.h

Issue 6901128: Cancel prerenders that spawn post requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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 | Annotate | Revision Log
OLDNEW
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
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,
cbentzel 2011/04/29 20:00:30 I'd rename this to FINAL_STATUS_INVALID_HTTP_MET
dominich 2011/04/29 21:13:52 Done.
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698