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

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

Issue 8785007: Prerenders that send an OpenURL are canceled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comment and OVERRIDE Created 9 years 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 #include "chrome/browser/prerender/prerender_origin.h" 8 #include "chrome/browser/prerender/prerender_origin.h"
9 9
10 namespace prerender { 10 namespace prerender {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 FINAL_STATUS_SSL_CLIENT_CERTIFICATE_REQUESTED = 30, 45 FINAL_STATUS_SSL_CLIENT_CERTIFICATE_REQUESTED = 30,
46 FINAL_STATUS_CACHE_OR_HISTORY_CLEARED = 31, 46 FINAL_STATUS_CACHE_OR_HISTORY_CLEARED = 31,
47 FINAL_STATUS_CANCELLED = 32, 47 FINAL_STATUS_CANCELLED = 32,
48 FINAL_STATUS_SSL_ERROR = 33, 48 FINAL_STATUS_SSL_ERROR = 33,
49 FINAL_STATUS_CROSS_SITE_NAVIGATION_PENDING = 34, 49 FINAL_STATUS_CROSS_SITE_NAVIGATION_PENDING = 34,
50 FINAL_STATUS_DEVTOOLS_ATTACHED = 35, 50 FINAL_STATUS_DEVTOOLS_ATTACHED = 35,
51 FINAL_STATUS_SESSION_STORAGE_NAMESPACE_MISMATCH = 36, 51 FINAL_STATUS_SESSION_STORAGE_NAMESPACE_MISMATCH = 36,
52 FINAL_STATUS_NO_USE_GROUP = 37, 52 FINAL_STATUS_NO_USE_GROUP = 37,
53 FINAL_STATUS_MATCH_COMPLETE_DUMMY = 38, 53 FINAL_STATUS_MATCH_COMPLETE_DUMMY = 38,
54 FINAL_STATUS_DUPLICATE = 39, 54 FINAL_STATUS_DUPLICATE = 39,
55 FINAL_STATUS_OPEN_URL = 40,
55 FINAL_STATUS_MAX, 56 FINAL_STATUS_MAX,
56 }; 57 };
57 58
58 // Return a human-readable name for |final_status|. |final_status| 59 // Return a human-readable name for |final_status|. |final_status|
59 // is expected to be a valid value. 60 // is expected to be a valid value.
60 const char* NameFromFinalStatus(FinalStatus final_status); 61 const char* NameFromFinalStatus(FinalStatus final_status);
61 62
62 } // namespace prerender 63 } // namespace prerender
63 64
64 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_FINAL_STATUS_H_ 65 #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_final_status.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698