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

Unified Diff: webkit/browser/appcache/appcache_url_request_job.h

Issue 207163002: more uma stats (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | « webkit/browser/appcache/appcache_update_job.cc ('k') | webkit/browser/appcache/appcache_url_request_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/appcache/appcache_url_request_job.h
diff --git a/webkit/browser/appcache/appcache_url_request_job.h b/webkit/browser/appcache/appcache_url_request_job.h
index 87df368764f3389148ce45c909fbc064d3b2f950..52af0ecb18a865c2132c0a336bc3e8435e655373 100644
--- a/webkit/browser/appcache/appcache_url_request_job.h
+++ b/webkit/browser/appcache/appcache_url_request_job.h
@@ -33,7 +33,8 @@ class WEBKIT_STORAGE_BROWSER_EXPORT AppCacheURLRequestJob
AppCacheURLRequestJob(net::URLRequest* request,
net::NetworkDelegate* network_delegate,
AppCacheStorage* storage,
- AppCacheHost* host);
+ AppCacheHost* host,
+ bool is_main_resource);
// Informs the job of what response it should deliver. Only one of these
// methods should be called, and only once per job. A job will sit idle and
@@ -158,6 +159,7 @@ class WEBKIT_STORAGE_BROWSER_EXPORT AppCacheURLRequestJob
int64 cache_id_;
AppCacheEntry entry_;
bool is_fallback_;
+ bool is_main_resource_; // Used for histogram logging.
bool cache_entry_not_found_;
scoped_refptr<AppCacheResponseInfo> info_;
scoped_refptr<net::GrowableIOBuffer> handler_source_buffer_;
« no previous file with comments | « webkit/browser/appcache/appcache_update_job.cc ('k') | webkit/browser/appcache/appcache_url_request_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698