Standardize "net" category trace events

Some "net" trace events are logged with "disabled-by-default-" prefix and
some are not. This CL tries to Standardize the usage.

BUG=669918

Review-Url: https://codereview.chromium.org/2533953005
Cr-Commit-Position: refs/heads/master@{#436706}
diff --git a/net/dns/host_resolver_impl.cc b/net/dns/host_resolver_impl.cc
index fceb67e..e4ee073 100644
--- a/net/dns/host_resolver_impl.cc
+++ b/net/dns/host_resolver_impl.cc
@@ -44,6 +44,7 @@
 #include "net/base/ip_address.h"
 #include "net/base/ip_endpoint.h"
 #include "net/base/net_errors.h"
+#include "net/base/trace_constants.h"
 #include "net/base/url_util.h"
 #include "net/dns/address_sorter.h"
 #include "net/dns/dns_client.h"
@@ -770,7 +771,7 @@
                         const uint32_t attempt_number,
                         int error,
                         const int os_error) {
-    TRACE_EVENT0("net", "ProcTask::OnLookupComplete");
+    TRACE_EVENT0(kNetTracingCategory, "ProcTask::OnLookupComplete");
     DCHECK(network_task_runner_->BelongsToCurrentThread());
     // If results are empty, we should return an error.
     bool empty_list_on_ok = (error == OK && results.empty());