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

Unified Diff: extensions/browser/api/cast_channel/cast_test_util.h

Issue 1226353004: Generate all extension schema namespaces as "api" and instead vary the generated bundle names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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_test_util.h
diff --git a/extensions/browser/api/cast_channel/cast_test_util.h b/extensions/browser/api/cast_channel/cast_test_util.h
index 2d0738a1efda814336613b97583865f76fb053c1..423f4c328bf3c5d8cb6da36735c3bb4e09f066e3 100644
--- a/extensions/browser/api/cast_channel/cast_test_util.h
+++ b/extensions/browser/api/cast_channel/cast_test_util.h
@@ -14,23 +14,21 @@
#include "testing/gmock/include/gmock/gmock.h"
namespace extensions {
-namespace core_api {
+namespace api {
namespace cast_channel {
extern const char kTestExtensionId[];
-class MockCastTransport
- : public extensions::core_api::cast_channel::CastTransport {
+class MockCastTransport : public extensions::api::cast_channel::CastTransport {
public:
MockCastTransport();
~MockCastTransport() override;
void SetReadDelegate(scoped_ptr<CastTransport::Delegate> delegate) override;
- MOCK_METHOD2(
- SendMessage,
- void(const extensions::core_api::cast_channel::CastMessage& message,
- const net::CompletionCallback& callback));
+ MOCK_METHOD2(SendMessage,
+ void(const extensions::api::cast_channel::CastMessage& message,
+ const net::CompletionCallback& callback));
MOCK_METHOD0(Start, void(void));
@@ -117,7 +115,7 @@ ACTION_TEMPLATE(RunCompletionCallback,
}
} // namespace cast_channel
-} // namespace core_api
+} // namespace api
} // namespace extensions
#endif // EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_TEST_UTIL_H_
« no previous file with comments | « extensions/browser/api/cast_channel/cast_socket_unittest.cc ('k') | extensions/browser/api/cast_channel/cast_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698