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

Unified Diff: components/cast_channel/logger.cc

Issue 2913033003: [cast_channel] Move cast_channel related files from //extensions to //components (Closed)
Patch Set: Created 3 years, 7 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: components/cast_channel/logger.cc
diff --git a/extensions/browser/api/cast_channel/logger.cc b/components/cast_channel/logger.cc
similarity index 94%
rename from extensions/browser/api/cast_channel/logger.cc
rename to components/cast_channel/logger.cc
index f31a8496032483d4b7550e0e6df91408311bef2c..f608b4ca4d9fb831f871afbf2d74f8d9dde79593 100644
--- a/extensions/browser/api/cast_channel/logger.cc
+++ b/components/cast_channel/logger.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "extensions/browser/api/cast_channel/logger.h"
+#include "components/cast_channel/logger.h"
#include <stdint.h>
@@ -11,12 +11,10 @@
#include "base/memory/ptr_util.h"
#include "base/strings/string_util.h"
-#include "extensions/browser/api/cast_channel/cast_auth_util.h"
-#include "extensions/browser/api/cast_channel/cast_socket.h"
+#include "components/cast_channel/cast_auth_util.h"
+#include "components/cast_channel/cast_socket.h"
#include "net/base/net_errors.h"
-namespace extensions {
-namespace api {
namespace cast_channel {
using net::IPEndPoint;
@@ -99,8 +97,7 @@ Logger::Logger() {
thread_checker_.DetachFromThread();
}
-Logger::~Logger() {
-}
+Logger::~Logger() {}
void Logger::LogSocketEventWithRv(int channel_id,
EventType event_type,
@@ -152,5 +149,3 @@ void Logger::LogSocketEvent(int channel_id, const SocketEvent& socket_event) {
}
} // namespace cast_channel
-} // namespace api
-} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698