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

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

Issue 2411863002: [NoStatePrefetch] Kill renderer after preload scanning (Closed)
Patch Set: fixed a comment, removed unnecessary change from disabled test Created 4 years, 1 month 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/browser/prerender/prerender_origin.h" 8 #include "chrome/browser/prerender/prerender_origin.h"
9 9
10 namespace prerender { 10 namespace prerender {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 FINAL_STATUS_BAD_DEFERRED_REDIRECT = 45, 60 FINAL_STATUS_BAD_DEFERRED_REDIRECT = 45,
61 FINAL_STATUS_NAVIGATION_UNCOMMITTED = 46, 61 FINAL_STATUS_NAVIGATION_UNCOMMITTED = 46,
62 FINAL_STATUS_NEW_NAVIGATION_ENTRY = 47, 62 FINAL_STATUS_NEW_NAVIGATION_ENTRY = 47,
63 // Obsolete: FINAL_STATUS_COOKIE_STORE_NOT_LOADED = 48, 63 // Obsolete: FINAL_STATUS_COOKIE_STORE_NOT_LOADED = 48,
64 // Obsolete: FINAL_STATUS_COOKIE_CONFLICT = 49, 64 // Obsolete: FINAL_STATUS_COOKIE_CONFLICT = 49,
65 FINAL_STATUS_NON_EMPTY_BROWSING_INSTANCE = 50, 65 FINAL_STATUS_NON_EMPTY_BROWSING_INSTANCE = 50,
66 FINAL_STATUS_NAVIGATION_INTERCEPTED = 51, 66 FINAL_STATUS_NAVIGATION_INTERCEPTED = 51,
67 FINAL_STATUS_PRERENDERING_DISABLED = 52, 67 FINAL_STATUS_PRERENDERING_DISABLED = 52,
68 FINAL_STATUS_CELLULAR_NETWORK = 53, 68 FINAL_STATUS_CELLULAR_NETWORK = 53,
69 FINAL_STATUS_BLOCK_THIRD_PARTY_COOKIES = 54, 69 FINAL_STATUS_BLOCK_THIRD_PARTY_COOKIES = 54,
70 FINAL_STATUS_NOSTATE_PREFETCH_FINISHED = 55,
70 FINAL_STATUS_MAX, 71 FINAL_STATUS_MAX,
71 }; 72 };
72 73
73 // Return a human-readable name for |final_status|. |final_status| 74 // Return a human-readable name for |final_status|. |final_status|
74 // is expected to be a valid value. 75 // is expected to be a valid value.
75 const char* NameFromFinalStatus(FinalStatus final_status); 76 const char* NameFromFinalStatus(FinalStatus final_status);
76 77
77 } // namespace prerender 78 } // namespace prerender
78 79
79 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_FINAL_STATUS_H_ 80 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_FINAL_STATUS_H_
OLDNEW
« no previous file with comments | « chrome/browser/prerender/prerender_browsertest.cc ('k') | chrome/browser/prerender/prerender_final_status.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698