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.
5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_CONDITION_H_
6 #define CHROME_BROWSER_PRERENDER_PRERENDER_CONDITION_H_
10 // PrerenderCondition's dictate whether prerendering can happen.
11 // All conditions must be met before a prerender is allowed.
12 class PrerenderCondition
{
14 virtual ~PrerenderCondition() {}
15 virtual bool CanPrerender() const = 0;
18 } // namespace prerender
20 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONDITION_H_