1 // Copyright 2014 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_PREFETCH_PREFETCH_H_ 6 #define CHROME_BROWSER_PREFETCH_PREFETCH_H_ 7 8 namespace content { 9 class ResourceContext; 10 } 11 12 namespace prefetch { 13 14 // To be executed on the IO thread only. 15 bool IsPrefetchEnabled(content::ResourceContext* resource_context); 16 17 } // namespace prefetch 18 19 #endif // CHROME_BROWSER_PREFETCH_PREFETCH_H_ 20