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

Unified Diff: content/browser/indexed_db/indexed_db_callbacks.h

Issue 470373002: IndexedDB: Measure the total database open time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: One histogram per event type Created 6 years, 4 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 | « no previous file | content/browser/indexed_db/indexed_db_callbacks.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/indexed_db/indexed_db_callbacks.h
diff --git a/content/browser/indexed_db/indexed_db_callbacks.h b/content/browser/indexed_db/indexed_db_callbacks.h
index 4ae10a9bef69beed0a5f2a43782c5f282438da54..d73168b103e667c19f7769b74c0ca44ab0ea9a31 100644
--- a/content/browser/indexed_db/indexed_db_callbacks.h
+++ b/content/browser/indexed_db/indexed_db_callbacks.h
@@ -106,6 +106,8 @@ class CONTENT_EXPORT IndexedDBCallbacks
blink::WebIDBDataLoss data_loss() const { return data_loss_; }
+ void SetConnectionOpenStartTime(const base::TimeTicks& start_time);
+
protected:
virtual ~IndexedDBCallbacks();
@@ -135,6 +137,7 @@ class CONTENT_EXPORT IndexedDBCallbacks
// The "blocked" event should be sent at most once per request.
bool sent_blocked_;
+ base::TimeTicks conn_open_start_time_;
jsbell 2014/08/18 18:25:50 nit: Avoid uncommon abbreviations in names (sorry,
DISALLOW_COPY_AND_ASSIGN(IndexedDBCallbacks);
};
« no previous file with comments | « no previous file | content/browser/indexed_db/indexed_db_callbacks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698