Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Side by Side Diff: extensions/browser/api/cast_channel/logger_util.cc

Issue 1226353004: Generate all extension schema namespaces as "api" and instead vary the generated bundle names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « extensions/browser/api/cast_channel/logger_util.h ('k') | extensions/browser/api/declarative/declarative_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698