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

Unified Diff: components/cast_channel/keep_alive_delegate.h

Issue 2913033003: [cast_channel] Move cast_channel related files from //extensions to //components (Closed)
Patch Set: fix buildbot compile errors Created 3 years, 6 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
« no previous file with comments | « components/cast_channel/cast_transport_unittest.cc ('k') | components/cast_channel/keep_alive_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cast_channel/keep_alive_delegate.h
diff --git a/extensions/browser/api/cast_channel/keep_alive_delegate.h b/components/cast_channel/keep_alive_delegate.h
similarity index 88%
rename from extensions/browser/api/cast_channel/keep_alive_delegate.h
rename to components/cast_channel/keep_alive_delegate.h
index 0ecdf83edd305bd0446951375950997c4a10b73f..9840b602af68bae13d1b72af13fddcb7664da793 100644
--- a/extensions/browser/api/cast_channel/keep_alive_delegate.h
+++ b/components/cast_channel/keep_alive_delegate.h
@@ -2,17 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef EXTENSIONS_BROWSER_API_CAST_CHANNEL_KEEP_ALIVE_DELEGATE_H_
-#define EXTENSIONS_BROWSER_API_CAST_CHANNEL_KEEP_ALIVE_DELEGATE_H_
+#ifndef COMPONENTS_CAST_CHANNEL_KEEP_ALIVE_DELEGATE_H_
+#define COMPONENTS_CAST_CHANNEL_KEEP_ALIVE_DELEGATE_H_
#include "base/macros.h"
#include "base/threading/thread_checker.h"
#include "base/timer/timer.h"
-#include "extensions/browser/api/cast_channel/cast_transport.h"
-#include "extensions/common/api/cast_channel/cast_channel.pb.h"
+#include "components/cast_channel/cast_transport.h"
+#include "components/cast_channel/proto/cast_channel.pb.h"
-namespace extensions {
-namespace api {
namespace cast_channel {
class CastSocket;
@@ -105,13 +103,11 @@ class KeepAliveDelegate : public CastTransport::Delegate {
// The PONG message to send over the wire.
CastMessage pong_message_;
- base::ThreadChecker thread_checker_;
+ THREAD_CHECKER(thread_checker_);
DISALLOW_COPY_AND_ASSIGN(KeepAliveDelegate);
};
} // namespace cast_channel
-} // namespace api
-} // namespace extensions
-#endif // EXTENSIONS_BROWSER_API_CAST_CHANNEL_KEEP_ALIVE_DELEGATE_H_
+#endif // COMPONENTS_CAST_CHANNEL_KEEP_ALIVE_DELEGATE_H_
« no previous file with comments | « components/cast_channel/cast_transport_unittest.cc ('k') | components/cast_channel/keep_alive_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698