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_util.h" | 5 #include "extensions/browser/api/cast_channel/logger_util.h" |
6 #include "extensions/common/api/cast_channel/logging.pb.h" | 6 #include "extensions/common/api/cast_channel/logging.pb.h" |
7 #include "net/base/net_errors.h" | 7 #include "net/base/net_errors.h" |
8 | 8 |
9 namespace extensions { | 9 namespace extensions { |
10 namespace core_api { | 10 namespace api { |
11 namespace cast_channel { | 11 namespace cast_channel { |
12 LastErrors::LastErrors() | 12 LastErrors::LastErrors() |
13 : event_type(proto::EVENT_TYPE_UNKNOWN), | 13 : event_type(proto::EVENT_TYPE_UNKNOWN), |
14 challenge_reply_error_type(proto::CHALLENGE_REPLY_ERROR_NONE), | 14 challenge_reply_error_type(proto::CHALLENGE_REPLY_ERROR_NONE), |
15 net_return_value(net::OK), | 15 net_return_value(net::OK), |
16 nss_error_code(0) { | 16 nss_error_code(0) { |
17 } | 17 } |
18 | 18 |
19 LastErrors::~LastErrors() { | 19 LastErrors::~LastErrors() { |
20 } | 20 } |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 case READY_STATE_CLOSED: | 60 case READY_STATE_CLOSED: |
61 return proto::READY_STATE_CLOSED; | 61 return proto::READY_STATE_CLOSED; |
62 default: | 62 default: |
63 NOTREACHED(); | 63 NOTREACHED(); |
64 return proto::READY_STATE_NONE; | 64 return proto::READY_STATE_NONE; |
65 } | 65 } |
66 } | 66 } |
67 } // namespace cast_channel | 67 } // namespace cast_channel |
68 } // namespace api | 68 } // namespace api |
69 } // namespace extensions | 69 } // namespace extensions |
OLD | NEW |