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

Unified Diff: chrome/browser/net/chrome_network_delegate.h

Issue 10736066: Adding histograms showing fraction of page load times (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
Index: chrome/browser/net/chrome_network_delegate.h
===================================================================
--- chrome/browser/net/chrome_network_delegate.h (revision 147972)
+++ chrome/browser/net/chrome_network_delegate.h (working copy)
@@ -18,6 +18,10 @@
typedef PrefMember<bool> BooleanPrefMember;
+namespace chrome_browser_net {
+class CacheStats;
+}
+
namespace policy {
class URLBlacklistManager;
}
@@ -95,6 +99,8 @@
virtual int OnBeforeSocketStreamConnect(
net::SocketStream* stream,
const net::CompletionCallback& callback) OVERRIDE;
+ virtual void OnCacheWaitStateChange(const net::URLRequest& request,
+ CacheWaitState state) OVERRIDE;
scoped_refptr<ExtensionEventRouterForwarder> event_router_;
void* profile_;
@@ -114,6 +120,8 @@
// When true, allow access to all file:// URLs.
static bool g_allow_file_access_;
+ chrome_browser_net::CacheStats* cache_stats_;
+
DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698