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

Unified Diff: extensions/browser/api/cast_channel/cast_socket.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_socket.cc
diff --git a/extensions/browser/api/cast_channel/cast_socket.cc b/extensions/browser/api/cast_channel/cast_socket.cc
index 4c08f15ff9e9af11afa4e1c4ec914812d44766e1..76b4ebe114feb6cbe561824b473a594b8c64c62f 100644
--- a/extensions/browser/api/cast_channel/cast_socket.cc
+++ b/extensions/browser/api/cast_channel/cast_socket.cc
@@ -60,18 +60,18 @@ std::string FormatTimeForLogging(base::Time time) {
namespace extensions {
static base::LazyInstance<BrowserContextKeyedAPIFactory<
- ApiResourceManager<core_api::cast_channel::CastSocket> > > g_factory =
+ ApiResourceManager<api::cast_channel::CastSocket>>> g_factory =
LAZY_INSTANCE_INITIALIZER;
// static
template <>
BrowserContextKeyedAPIFactory<
- ApiResourceManager<core_api::cast_channel::CastSocket> >*
-ApiResourceManager<core_api::cast_channel::CastSocket>::GetFactoryInstance() {
+ ApiResourceManager<api::cast_channel::CastSocket>>*
+ApiResourceManager<api::cast_channel::CastSocket>::GetFactoryInstance() {
return g_factory.Pointer();
}
-namespace core_api {
+namespace api {
namespace cast_channel {
CastSocket::CastSocket(const std::string& owner_extension_id)
: ApiResource(owner_extension_id) {
@@ -597,6 +597,6 @@ void CastSocketImpl::SetErrorState(ChannelError error_state) {
delegate_->OnError(error_state_);
}
} // namespace cast_channel
-} // namespace core_api
+} // namespace api
} // namespace extensions
#undef VLOG_WITH_CONNECTION
« no previous file with comments | « extensions/browser/api/cast_channel/cast_socket.h ('k') | extensions/browser/api/cast_channel/cast_socket_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698