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

Unified Diff: chrome/browser/net/crl_set_fetcher.cc

Issue 1834273002: Add TRACE_EVENT macros to net. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and address comments. Created 4 years, 8 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/loader/resource_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/crl_set_fetcher.cc
diff --git a/chrome/browser/net/crl_set_fetcher.cc b/chrome/browser/net/crl_set_fetcher.cc
index 02454339c011824b833e2c854cfc1c41bb9ee6a1..c1a0efcc186bb20eb8ef4b7273884eda46bbc9ab 100644
--- a/chrome/browser/net/crl_set_fetcher.cc
+++ b/chrome/browser/net/crl_set_fetcher.cc
@@ -63,6 +63,7 @@ void CRLSetFetcher::DeleteFromDisk(const base::FilePath& path) {
}
void CRLSetFetcher::DoInitialLoadFromDisk() {
+ TRACE_EVENT0("net", "CRLSetFetcher::DoInitialLoadFromDisk");
DCHECK_CURRENTLY_ON(BrowserThread::FILE);
LoadFromDisk(GetCRLSetFilePath(), &crl_set_);
@@ -85,13 +86,13 @@ void CRLSetFetcher::DoInitialLoadFromDisk() {
void CRLSetFetcher::LoadFromDisk(base::FilePath path,
scoped_refptr<net::CRLSet>* out_crl_set) {
- TRACE_EVENT0("CRLSetFetcher", "LoadFromDisk");
+ TRACE_EVENT0("net", "CRLSetFetcher::LoadFromDisk");
DCHECK_CURRENTLY_ON(BrowserThread::FILE);
std::string crl_set_bytes;
{
- TRACE_EVENT0("CRLSetFetcher", "ReadFileToString");
+ TRACE_EVENT0("net", "CRLSetFetcher::ReadFileToString");
if (!base::ReadFileToString(path, &crl_set_bytes))
return;
}
« no previous file with comments | « no previous file | content/browser/loader/resource_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698