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_ |