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

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

Issue 2642733002: Prerender: Disable prefetch if there's an appcache. (Closed)
Patch Set: Use appcache id rather than existence of tags in main resource Created 3 years, 10 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
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_CREDENTIAL_MANAGER_API = 55, 70 FINAL_STATUS_CREDENTIAL_MANAGER_API = 55,
71 FINAL_STATUS_NOSTATE_PREFETCH_FINISHED = 56, 71 FINAL_STATUS_NOSTATE_PREFETCH_FINISHED = 56,
72 FINAL_STATUS_LOW_END_DEVICE = 57, 72 FINAL_STATUS_LOW_END_DEVICE = 57,
73 FINAL_STATUS_CANCELLED_FOR_APPCACHE = 58,
droger 2017/02/07 10:40:38 Add this to histograms.xml.
mattcary 2017/02/07 11:28:46 Done, thanks.
73 FINAL_STATUS_MAX, 74 FINAL_STATUS_MAX,
74 }; 75 };
75 76
76 // Return a human-readable name for |final_status|. |final_status| 77 // Return a human-readable name for |final_status|. |final_status|
77 // is expected to be a valid value. 78 // is expected to be a valid value.
78 const char* NameFromFinalStatus(FinalStatus final_status); 79 const char* NameFromFinalStatus(FinalStatus final_status);
79 80
80 } // namespace prerender 81 } // namespace prerender
81 82
82 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_FINAL_STATUS_H_ 83 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_FINAL_STATUS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/prerender/prerender_final_status.cc » ('j') | content/public/browser/appcache_service.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698