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

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

Issue 7210020: Added prerendering to omnibox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 9 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_ORIGIN_H_
6 #define CHROME_BROWSER_PRERENDER_PRERENDER_ORIGIN_H_
7
8 namespace prerender {
9
10 // Origin indicates what caused the prerender.
11 // NOTE: New values need to be appended, since they are used in histograms.
12 enum Origin {
13 ORIGIN_LINK_REL_PRERENDER = 0,
14 ORIGIN_OMNIBOX = 1,
15 ORIGIN_MAX
16 };
17
18 // Return a human-readable name for |origin|.
19 const char* NameFromOrigin(Origin origin);
20
21 } // namespace prerender
22
23 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_ORIGIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/prerender/prerender_observer.cc ('k') | chrome/browser/prerender/prerender_origin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698