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

Unified Diff: webrtc/api/audio_codecs/audio_encoder.h

Issue 2799033006: Injectable audio encoders: Moved audio encoder, factory and builtin factory to api/. (Closed)
Patch Set: Created 3 years, 8 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: webrtc/api/audio_codecs/audio_encoder.h
diff --git a/webrtc/modules/audio_coding/codecs/audio_encoder.h b/webrtc/api/audio_codecs/audio_encoder.h
similarity index 97%
rename from webrtc/modules/audio_coding/codecs/audio_encoder.h
rename to webrtc/api/audio_codecs/audio_encoder.h
index b58f964f52dc0f7c10c6e727b7c2cc5583218701..8dbe1ed98797125f13424f02652cb4aec022cf00 100644
--- a/webrtc/modules/audio_coding/codecs/audio_encoder.h
+++ b/webrtc/api/audio_codecs/audio_encoder.h
@@ -8,10 +8,12 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_AUDIO_ENCODER_H_
-#define WEBRTC_MODULES_AUDIO_CODING_CODECS_AUDIO_ENCODER_H_
+#ifndef WEBRTC_API_AUDIO_CODECS_AUDIO_ENCODER_H_
+#define WEBRTC_API_AUDIO_CODECS_AUDIO_ENCODER_H_
#include <algorithm>
+#include <memory>
+#include <string>
#include <vector>
#include "webrtc/base/array_view.h"
@@ -210,4 +212,4 @@ class AudioEncoder {
rtc::Buffer* encoded) = 0;
};
} // namespace webrtc
-#endif // WEBRTC_MODULES_AUDIO_CODING_CODECS_AUDIO_ENCODER_H_
+#endif // WEBRTC_API_AUDIO_CODECS_AUDIO_ENCODER_H_

Powered by Google App Engine
This is Rietveld 408576698