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

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

Issue 10636034: Cancel prerender when a site tries to register a protocol handler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Change strings Created 8 years, 6 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) 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // Obsolete: FINAL_STATUS_NO_USE_GROUP = 37, 52 // Obsolete: FINAL_STATUS_NO_USE_GROUP = 37,
53 // Obsolete: FINAL_STATUS_MATCH_COMPLETE_DUMMY = 38, 53 // Obsolete: 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_OPEN_URL = 40,
56 FINAL_STATUS_WOULD_HAVE_BEEN_USED = 41, 56 FINAL_STATUS_WOULD_HAVE_BEEN_USED = 41,
57 FINAL_STATUS_REGISTER_PROTOCOL_HANDLER = 42,
57 FINAL_STATUS_MAX, 58 FINAL_STATUS_MAX,
58 }; 59 };
59 60
60 // Return a human-readable name for |final_status|. |final_status| 61 // Return a human-readable name for |final_status|. |final_status|
61 // is expected to be a valid value. 62 // is expected to be a valid value.
62 const char* NameFromFinalStatus(FinalStatus final_status); 63 const char* NameFromFinalStatus(FinalStatus final_status);
63 64
64 } // namespace prerender 65 } // namespace prerender
65 66
66 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_FINAL_STATUS_H_ 67 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_FINAL_STATUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698