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_CHROMEOS_PRERENDER_CONDITION_NETWORK_H_ 6 #define CHROME_BROWSER_CHROMEOS_PRERENDER_CONDITION_NETWORK_H_ 7 8 #include "base/compiler_specific.h" 9 #include "chrome/browser/prerender/prerender_condition.h" 10 11 namespace chromeos { 12 13 class PrerenderConditionNetwork : public prerender::PrerenderCondition { 14 public: 15 PrerenderConditionNetwork(); 16 virtual ~PrerenderConditionNetwork(); 17 18 // prerender::PrerenderCondition 19 virtual bool CanPrerender() const OVERRIDE; 20 }; 21 22 } // namespace chromeos 23 24 #endif // CHROME_BROWSER_CHROMEOS_PRERENDER_CONDITION_NETWORK_H_ 25