Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(560)

Unified Diff: chrome/browser/prefetch/prefetch.h

Issue 142473003: Binds prefetching to the predictive networking privacy option. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding missing namespace Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/prefetch/prefetch.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefetch/prefetch.h
diff --git a/chrome/browser/prefetch/prefetch.h b/chrome/browser/prefetch/prefetch.h
new file mode 100644
index 0000000000000000000000000000000000000000..ab9fc88e9026f0e17663c8405e45d6d1f223556a
--- /dev/null
+++ b/chrome/browser/prefetch/prefetch.h
@@ -0,0 +1,19 @@
+// Copyright 2014 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_PREFETCH_PREFETCH_H_
+#define CHROME_BROWSER_PREFETCH_PREFETCH_H_
+
+namespace content {
+class ResourceContext;
+}
+
+namespace prefetch {
+
+// To be executed on the IO thread only.
+bool IsPrefetchEnabled(content::ResourceContext* resource_context);
+
+} // namespace prefetch
+
+#endif // CHROME_BROWSER_PREFETCH_PREFETCH_H_
« no previous file with comments | « no previous file | chrome/browser/prefetch/prefetch.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698