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

Unified Diff: extensions/browser/api/cast_channel/cast_message_util.cc

Issue 395333003: Extensions: Move cast_channel and hid APIs to extensions/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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_message_util.cc
diff --git a/chrome/browser/extensions/api/cast_channel/cast_message_util.cc b/extensions/browser/api/cast_channel/cast_message_util.cc
similarity index 95%
rename from chrome/browser/extensions/api/cast_channel/cast_message_util.cc
rename to extensions/browser/api/cast_channel/cast_message_util.cc
index b614c633bba5e7d37d357869e3c24335349ac083..948b8200aaeb180360da3a6cf935fd33723603c2 100644
--- a/chrome/browser/extensions/api/cast_channel/cast_message_util.cc
+++ b/extensions/browser/api/cast_channel/cast_message_util.cc
@@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/extensions/api/cast_channel/cast_message_util.h"
+#include "extensions/browser/api/cast_channel/cast_message_util.h"
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "base/strings/string_number_conversions.h"
#include "base/values.h"
-#include "chrome/browser/extensions/api/cast_channel/cast_channel.pb.h"
-#include "chrome/common/extensions/api/cast_channel.h"
+#include "extensions/browser/api/cast_channel/cast_channel.pb.h"
+#include "extensions/common/api/cast_channel.h"
namespace {
static const char kAuthNamespace[] =
@@ -20,7 +20,7 @@ static const char kPlatformReceiverId[] = "receiver-0";
} // namespace
namespace extensions {
-namespace api {
+namespace core_api {
namespace cast_channel {
bool MessageInfoToCastMessage(const MessageInfo& message,
@@ -146,5 +146,5 @@ bool IsAuthMessage(const CastMessage& message) {
}
} // namespace cast_channel
-} // namespace api
+} // namespace core_api
} // namespace extensions
« no previous file with comments | « extensions/browser/api/cast_channel/cast_message_util.h ('k') | extensions/browser/api/cast_channel/cast_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698