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

Unified Diff: chrome/browser/precache/precache_util.h

Issue 2202023002: Precache should cancel when there is user traffic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Created 4 years, 5 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 | « chrome/browser/net/chrome_network_delegate.cc ('k') | chrome/browser/precache/precache_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/precache/precache_util.h
diff --git a/chrome/browser/precache/precache_util.h b/chrome/browser/precache/precache_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..80a1fc8f0537df05ce81ed0958ada1d7e83a0bac
--- /dev/null
+++ b/chrome/browser/precache/precache_util.h
@@ -0,0 +1,19 @@
+// Copyright 2016 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_PRECACHE_PRECACHE_UTIL_H_
+#define CHROME_BROWSER_PRECACHE_PRECACHE_UTIL_H_
+
+namespace net {
+class URLRequest;
+}
+
+namespace precache {
+
+void UpdatePrecacheMetricsAndState(const net::URLRequest* request,
+ void* profile_id);
+
+} // namespace precache
+
+#endif // CHROME_BROWSER_PRECACHE_PRECACHE_UTIL_H_
« no previous file with comments | « chrome/browser/net/chrome_network_delegate.cc ('k') | chrome/browser/precache/precache_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698