| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # that can be found in the LICENSE file. |
| 4 | 4 |
| 5 import logging | 5 import logging |
| 6 import os | 6 import os |
| 7 import socket | 7 import socket |
| 8 | 8 |
| 9 import infra_libs | 9 import infra_libs |
| 10 from infra_libs.event_mon.protos.chrome_infra_log_pb2 import ( | 10 from infra_libs.event_mon.protos.chrome_infra_log_pb2 import ( |
| 11 ChromeInfraEvent, ServiceEvent) | 11 ChromeInfraEvent, ServiceEvent) |
| 12 from infra_libs.event_mon import router as ev_router | 12 from infra_libs.event_mon import router as ev_router |
| 13 | 13 |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 | 203 |
| 204 Call this right before exiting the program. | 204 Call this right before exiting the program. |
| 205 | 205 |
| 206 Returns: | 206 Returns: |
| 207 success (bool): False if an error occured | 207 success (bool): False if an error occured |
| 208 """ | 208 """ |
| 209 global _router, _cache | 209 global _router, _cache |
| 210 _router = None | 210 _router = None |
| 211 _cache = {} | 211 _cache = {} |
| 212 return True | 212 return True |
| OLD | NEW |