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

Unified Diff: net/extras/sqlite/sqlite_persistent_cookie_store.cc

Issue 1569673002: [NOT FOR LANDING] Detailed loading traces Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 10 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 | « net/cookies/cookie_monster.cc ('k') | net/http/http_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/extras/sqlite/sqlite_persistent_cookie_store.cc
diff --git a/net/extras/sqlite/sqlite_persistent_cookie_store.cc b/net/extras/sqlite/sqlite_persistent_cookie_store.cc
index b7254a42620155cf18ac907e2a00c2669b770323..857a5c702376e20528341251dd30f1207b86fcea 100644
--- a/net/extras/sqlite/sqlite_persistent_cookie_store.cc
+++ b/net/extras/sqlite/sqlite_persistent_cookie_store.cc
@@ -7,6 +7,7 @@
#include <map>
#include <set>
+#include "base/trace_event/trace_event.h"
#include "base/bind.h"
#include "base/callback.h"
#include "base/files/file_path.h"
@@ -1366,6 +1367,8 @@ void SQLitePersistentCookieStore::Load(const LoadedCallback& loaded_callback) {
void SQLitePersistentCookieStore::LoadCookiesForKey(
const std::string& key,
const LoadedCallback& loaded_callback) {
+ TRACE_EVENT0("toplevel", "SQLitePersistentCookieStore::LoadCookiesForKey");
+
if (backend_)
backend_->LoadCookiesForKey(key, loaded_callback);
else
« no previous file with comments | « net/cookies/cookie_monster.cc ('k') | net/http/http_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698