Skip to content

Commit

Permalink
Remove some unused NetLog event types.
Browse files Browse the repository at this point in the history
These were obsoleted by r179714

BUG=119151


Review URL: https://chromiumcodereview.appspot.com/12092121

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180449 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
eroman@chromium.org committed Feb 4, 2013
1 parent 391e6b7 commit b02d89c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
18 changes: 5 additions & 13 deletions net/base/net_log_event_type_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -285,21 +285,9 @@ EVENT_TYPE(BAD_PROXY_LIST_REPORTED)
EVENT_TYPE(PROXY_LIST_FALLBACK)

// ------------------------------------------------------------------------
// Proxy Resolver
// ProxyResolverV8Tracing
// ------------------------------------------------------------------------

// Measures the time taken to execute the "myIpAddress()" javascript binding.
EVENT_TYPE(PAC_JAVASCRIPT_MY_IP_ADDRESS)

// Measures the time taken to execute the "myIpAddressEx()" javascript binding.
EVENT_TYPE(PAC_JAVASCRIPT_MY_IP_ADDRESS_EX)

// Measures the time taken to execute the "dnsResolve()" javascript binding.
EVENT_TYPE(PAC_JAVASCRIPT_DNS_RESOLVE)

// Measures the time taken to execute the "dnsResolveEx()" javascript binding.
EVENT_TYPE(PAC_JAVASCRIPT_DNS_RESOLVE_EX)

// This event is emitted when a javascript error has been triggered by a
// PAC script. It contains the following event parameters:
// {
Expand All @@ -316,6 +304,10 @@ EVENT_TYPE(PAC_JAVASCRIPT_ERROR)
// }
EVENT_TYPE(PAC_JAVASCRIPT_ALERT)

// ------------------------------------------------------------------------
// MultiThreadedProxyResolver
// ------------------------------------------------------------------------

// Measures the time that a proxy resolve request was stalled waiting for a
// proxy resolver thread to free-up.
EVENT_TYPE(WAITING_FOR_PROXY_RESOLVER_THREAD)
Expand Down
2 changes: 1 addition & 1 deletion net/proxy/multi_threaded_proxy_resolver_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class MockProxyResolver : public ProxyResolver {
EXPECT_TRUE(request == NULL);

// Write something into |net_log| (doesn't really have any meaning.)
net_log.BeginEvent(NetLog::TYPE_PAC_JAVASCRIPT_DNS_RESOLVE);
net_log.BeginEvent(NetLog::TYPE_PAC_JAVASCRIPT_ALERT);

results->UseNamedProxy(query_url.host());

Expand Down

0 comments on commit b02d89c

Please sign in to comment.