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