Chromium Code Reviews| Index: shell/application_manager/local_fetcher.cc |
| diff --git a/shell/application_manager/local_fetcher.cc b/shell/application_manager/local_fetcher.cc |
| index 88339b0a85d9580679a79dcb013ba790cfd397bc..9b9a84384d2700d80c0aa6bece99c469b919bb57 100644 |
| --- a/shell/application_manager/local_fetcher.cc |
| +++ b/shell/application_manager/local_fetcher.cc |
| @@ -10,6 +10,7 @@ |
| #include "base/message_loop/message_loop.h" |
| #include "base/strings/stringprintf.h" |
| #include "base/strings/utf_string_conversions.h" |
| +#include "base/trace_event/trace_event.h" |
| #include "mojo/common/common_type_converters.h" |
| #include "mojo/common/data_pipe_utils.h" |
| #include "url/url_util.h" |
| @@ -29,6 +30,7 @@ LocalFetcher::LocalFetcher(const GURL& url, |
| const GURL& url_without_query, |
| const FetchCallback& loader_callback) |
| : Fetcher(loader_callback), url_(url), path_(UrlToFile(url_without_query)) { |
| + TRACE_EVENT0("mojo_shell", "LocalFetcher::LocalFetcher"); |
|
viettrungluu
2015/03/24 20:04:34
Should you record the url (with or without query,
jamesr
2015/03/27 20:42:21
Done.
|
| loader_callback_.Run(make_scoped_ptr(this)); |
| } |