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

Unified Diff: extensions/browser/api/cast_channel/cast_channel_api.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 side-by-side diff with in-line comments
Download patch
Index: extensions/browser/api/cast_channel/cast_channel_api.cc
diff --git a/extensions/browser/api/cast_channel/cast_channel_api.cc b/extensions/browser/api/cast_channel/cast_channel_api.cc
index 3ec0b63bd665d620c846fc1609484e5c42c0b6d8..322cf159fb7b38810c1e06b864ce667082d5474e 100644
--- a/extensions/browser/api/cast_channel/cast_channel_api.cc
+++ b/extensions/browser/api/cast_channel/cast_channel_api.cc
@@ -320,14 +320,14 @@ void CastChannelOpenFunction::AsyncWorkStart() {
api_->GetLogger()->LogNewSocketEvent(*socket);
// Construct read delegates.
- scoped_ptr<core_api::cast_channel::CastTransport::Delegate> delegate(
+ scoped_ptr<api::cast_channel::CastTransport::Delegate> delegate(
make_scoped_ptr(new CastMessageHandler(
base::Bind(&CastChannelAPI::SendEvent, api_->AsWeakPtr()), socket,
api_->GetLogger())));
if (socket->keep_alive()) {
// Wrap read delegate in a KeepAliveDelegate for timeout handling.
- core_api::cast_channel::KeepAliveDelegate* keep_alive =
- new core_api::cast_channel::KeepAliveDelegate(
+ api::cast_channel::KeepAliveDelegate* keep_alive =
+ new api::cast_channel::KeepAliveDelegate(
socket, api_->GetLogger(), delegate.Pass(), ping_interval_,
liveness_timeout_);
scoped_ptr<base::Timer> injected_timer =

Powered by Google App Engine
This is Rietveld 408576698