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

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

Issue 6915019: Changes to not use the prerendered contents when window.opener needs to be set. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Addressing Sreeram's comments. 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 16 matching lines...) Expand all
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_INVALID_HTTP_METHOD, 36 FINAL_STATUS_INVALID_HTTP_METHOD,
37 FINAL_STATUS_WINDOW_OPENER,
37 FINAL_STATUS_MAX, 38 FINAL_STATUS_MAX,
38 }; 39 };
39 40
40 void RecordFinalStatus(FinalStatus final_status); 41 void RecordFinalStatus(FinalStatus final_status);
41 42
42 } // namespace prerender 43 } // namespace prerender
43 44
44 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_FINAL_STATUS_H_ 45 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_FINAL_STATUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698