OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // found in the LICENSE file. |
4 | 4 |
5 #include "extensions/browser/api/cast_channel/logger.h" | 5 #include "extensions/browser/api/cast_channel/logger.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
11 | 11 |
| 12 #include "base/memory/ptr_util.h" |
12 #include "base/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
13 #include "base/time/clock.h" | 14 #include "base/time/clock.h" |
14 #include "extensions/browser/api/cast_channel/cast_auth_util.h" | 15 #include "extensions/browser/api/cast_channel/cast_auth_util.h" |
15 #include "extensions/browser/api/cast_channel/cast_socket.h" | 16 #include "extensions/browser/api/cast_channel/cast_socket.h" |
16 #include "extensions/browser/api/cast_channel/logger_util.h" | 17 #include "extensions/browser/api/cast_channel/logger_util.h" |
17 #include "net/base/net_errors.h" | 18 #include "net/base/net_errors.h" |
18 #include "third_party/zlib/zlib.h" | 19 #include "third_party/zlib/zlib.h" |
19 | 20 |
20 namespace extensions { | 21 namespace extensions { |
21 namespace api { | 22 namespace api { |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 if (it != aggregated_socket_events_.end()) { | 366 if (it != aggregated_socket_events_.end()) { |
366 return it->second->last_errors; | 367 return it->second->last_errors; |
367 } else { | 368 } else { |
368 return LastErrors(); | 369 return LastErrors(); |
369 } | 370 } |
370 } | 371 } |
371 | 372 |
372 } // namespace cast_channel | 373 } // namespace cast_channel |
373 } // namespace api | 374 } // namespace api |
374 } // namespace extensions | 375 } // namespace extensions |
OLD | NEW |