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 2061303003: Precache should cancel when there is user traffic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comment Created 4 years, 6 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
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..ac31c5d0a38328148fe50ada5c4575f46091d620
--- /dev/null
+++ b/chrome/browser/precache/precache_util.h
@@ -0,0 +1,19 @@
+// Copyright (c) 2016 The Chromium Authors. All rights reserved.
bengr 2016/07/06 17:04:27 Current convention is to omit the "(c)"
Raj 2016/07/06 18:28:23 Done.
+// 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_
+
+#include "base/time/time.h"
bengr 2016/07/06 17:04:27 I don't think you need this here.
Raj 2016/07/06 18:28:23 Done.
+#include "net/url_request/url_request.h"
bengr 2016/07/06 17:04:27 You should be able to forward declare this instead
Raj 2016/07/06 18:28:23 Done.
+#include "url/gurl.h"
bengr 2016/07/06 17:04:27 I don't think you need this here.
Raj 2016/07/06 18:28:23 Done.
+
+namespace precache {
+
+void UpdatePrecacheMetricsAndState(const net::URLRequest* request,
+ void* profile_id);
+
+} // namespace precache
+
+#endif // CHROME_BROWSER_PRECACHE_PRECACHE_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698