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

Side by Side 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, 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/prefetch/prefetch.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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_
OLDNEW
« 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