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

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

Issue 7059019: Ensure that PageID's of prerendered pages do not exceed the Page ID of the (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 19 matching lines...) Expand all
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_PRINT, 37 FINAL_STATUS_WINDOW_PRINT,
38 FINAL_STATUS_RECENTLY_VISITED, 38 FINAL_STATUS_RECENTLY_VISITED,
39 FINAL_STATUS_WINDOW_OPENER, 39 FINAL_STATUS_WINDOW_OPENER,
40 FINAL_STATUS_PAGE_ID_CONFLICT,
40 FINAL_STATUS_MAX, 41 FINAL_STATUS_MAX,
41 }; 42 };
42 43
43 void RecordFinalStatus(FinalStatus final_status); 44 void RecordFinalStatus(FinalStatus final_status);
44 45
45 } // namespace prerender 46 } // namespace prerender
46 47
47 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_FINAL_STATUS_H_ 48 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_FINAL_STATUS_H_
OLDNEW
« no previous file with comments | « chrome/browser/prerender/prerender_contents.cc ('k') | chrome/browser/prerender/prerender_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698