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

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

Issue 7289020: Updating histograms to allow for experiments & log origin-based histograms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 #include "chrome/browser/prerender/prerender_origin.h" 8 #include "chrome/browser/prerender/prerender_origin.h"
9 9
10 namespace prerender { 10 namespace prerender {
(...skipping 29 matching lines...) Expand all
40 FINAL_STATUS_RECENTLY_VISITED = 25, 40 FINAL_STATUS_RECENTLY_VISITED = 25,
41 FINAL_STATUS_WINDOW_OPENER = 26, 41 FINAL_STATUS_WINDOW_OPENER = 26,
42 FINAL_STATUS_PAGE_ID_CONFLICT = 27, 42 FINAL_STATUS_PAGE_ID_CONFLICT = 27,
43 FINAL_STATUS_SAFE_BROWSING = 28, 43 FINAL_STATUS_SAFE_BROWSING = 28,
44 FINAL_STATUS_FRAGMENT_MISMATCH = 29, 44 FINAL_STATUS_FRAGMENT_MISMATCH = 29,
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_MAX, 47 FINAL_STATUS_MAX,
48 }; 48 };
49 49
50 void RecordFinalStatus(Origin origin, FinalStatus final_status);
51
52 // Return a human-readable name for |final_status|. |final_status| 50 // Return a human-readable name for |final_status|. |final_status|
53 // is expected to be a valid value. 51 // is expected to be a valid value.
54 const char* NameFromFinalStatus(FinalStatus final_status); 52 const char* NameFromFinalStatus(FinalStatus final_status);
55 53
56 } // namespace prerender 54 } // namespace prerender
57 55
58 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_FINAL_STATUS_H_ 56 #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