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

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: conn_open_start_time_ -> connection_open_start_time_ 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..4b8a2177a8c7c31f7fc729912ee1fe45d1bb684b 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 connection_open_start_time_;
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