Home | History | Annotate | Download | only in base
      1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 // NOTE: No header guards are used, since this file is intended to be expanded
      6 // directly within a block where the SOURCE_TYPE macro is defined.
      7 
      8 // Used for global events which don't correspond to a particular entity.
      9 SOURCE_TYPE(NONE, 0)
     10 SOURCE_TYPE(URL_REQUEST, 1)
     11 SOURCE_TYPE(SOCKET_STREAM, 2)
     12 SOURCE_TYPE(INIT_PROXY_RESOLVER, 3)
     13 SOURCE_TYPE(CONNECT_JOB, 4)
     14 SOURCE_TYPE(SOCKET, 5)
     15 SOURCE_TYPE(SPDY_SESSION, 6)
     16 SOURCE_TYPE(HOST_RESOLVER_IMPL_REQUEST, 7)
     17 SOURCE_TYPE(HOST_RESOLVER_IMPL_JOB, 8)
     18 SOURCE_TYPE(DISK_CACHE_ENTRY, 9)
     19 SOURCE_TYPE(MEMORY_CACHE_ENTRY, 10)
     20 SOURCE_TYPE(HTTP_STREAM_JOB, 11)
     21 
     22 SOURCE_TYPE(COUNT, 12)  // Always keep this as the last entry.
     23