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

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: 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
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..133fad243594cbc17a3fefa1fd2b90c20a1155d5 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 SetDatbaseOpenStartTime(const base::TimeTicks& start_time);
jsbell 2014/08/14 22:58:05 Typo: 'Datbase'
+
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 db_open_start_time_;
jsbell 2014/08/14 22:58:05 Nit: Maybe 'connection' instead of 'db'? That wou
jsbell 2014/08/14 22:58:06 I just noticed that these were base::TimeTicks ins
Ilya Sherman 2014/08/14 23:00:13 TimeTicks is usually preferred, as it's at least g
cmumford 2014/08/14 23:53:03 Done.
DISALLOW_COPY_AND_ASSIGN(IndexedDBCallbacks);
};
« no previous file with comments | « no previous file | content/browser/indexed_db/indexed_db_callbacks.cc » ('j') | content/browser/indexed_db/indexed_db_callbacks.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698