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

Unified Diff: components/cast_channel/logger.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/keep_alive_delegate_unittest.cc ('k') | components/cast_channel/logger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cast_channel/logger.h
diff --git a/extensions/browser/api/cast_channel/logger.h b/components/cast_channel/logger.h
similarity index 86%
rename from extensions/browser/api/cast_channel/logger.h
rename to components/cast_channel/logger.h
index a1f3efe66c859625c1385cd6e737e18fc24e5c5e..7c4c37ed81d8b5f912ec75d73e95a511a92cd6da 100644
--- a/extensions/browser/api/cast_channel/logger.h
+++ b/components/cast_channel/logger.h
@@ -2,8 +2,8 @@
// 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_LOGGER_H_
-#define EXTENSIONS_BROWSER_API_CAST_CHANNEL_LOGGER_H_
+#ifndef COMPONENTS_CAST_CHANNEL_LOGGER_H_
+#define COMPONENTS_CAST_CHANNEL_LOGGER_H_
#include <stddef.h>
@@ -15,11 +15,8 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/threading/thread_checker.h"
-#include "extensions/common/api/cast_channel/logging.pb.h"
+#include "components/cast_channel/proto/logging.pb.h"
-
-namespace extensions {
-namespace api {
namespace cast_channel {
struct AuthResult;
@@ -76,12 +73,10 @@ class Logger : public base::RefCountedThreadSafe<Logger> {
LastErrorsMap last_errors_;
- base::ThreadChecker thread_checker_;
+ THREAD_CHECKER(thread_checker_);
DISALLOW_COPY_AND_ASSIGN(Logger);
};
} // namespace cast_channel
-} // namespace api
-} // namespace extensions
-#endif // EXTENSIONS_BROWSER_API_CAST_CHANNEL_LOGGER_H_
+#endif // COMPONENTS_CAST_CHANNEL_LOGGER_H_
« no previous file with comments | « components/cast_channel/keep_alive_delegate_unittest.cc ('k') | components/cast_channel/logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698