Home | History | Annotate | Download | only in prerender
      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_FIELD_TRIAL_H_
      6 #define CHROME_BROWSER_PRERENDER_PRERENDER_FIELD_TRIAL_H_
      7 
      8 class CommandLine;
      9 
     10 namespace prerender {
     11 
     12 // Parse the --prerender= command line switch, which controls both prerendering
     13 // and prefetching.  If the switch is unset, or is set to "auto", then the user
     14 // is assigned to a field trial.
     15 void ConfigurePrefetchAndPrerender(const CommandLine& command_line);
     16 
     17 }  // namespace prerender
     18 
     19 #endif  // CHROME_BROWSER_PRERENDER_PRERENDER_FIELD_TRIAL_H_
     20