blob: ee2541489976110d436ffc6e00c16f0d12a0c6ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_PRERENDER_PRERENDER_CONDITION_H_
#define CHROME_BROWSER_PRERENDER_PRERENDER_CONDITION_H_
namespace prerender {
// PrerenderCondition's dictate whether prerendering can happen.
// All conditions must be met before a prerender is allowed.
class PrerenderCondition {
public:
virtual ~PrerenderCondition() {}
virtual bool CanPrerender() const = 0;
};
} // namespace prerender
#endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONDITION_H_
|