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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_FIELD_TRIAL_H_
6 #define CHROME_BROWSER_PRERENDER_PRERENDER_FIELD_TRIAL_H_
16 // Parse the --prerender= command line switch, which controls prerendering. If
17 // the switch is unset or is set to "auto" then the user is assigned to a
19 void ConfigurePrerender(const base::CommandLine
& command_line
);
21 // Returns true if the user has opted in or has been opted in to the
22 // prerendering from Omnibox experiment.
23 bool IsOmniboxEnabled(Profile
* profile
);
25 } // namespace prerender
27 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_FIELD_TRIAL_H_