#include <memory>
#include "base/bind.h"
+#include "base/logging.h"
#include "base/memory/unsafe_shared_memory_region.h"
#include "ppapi/c/pp_array_output.h"
#include "ppapi/c/pp_codecs.h"
int32_t AudioEncoderResource::GetSupportedProfiles(
const PP_ArrayOutput& output,
const scoped_refptr<TrackedCallback>& callback) {
- if (TrackedCallback::IsPending(get_supported_profiles_callback_))
+ if (TrackedCallback::IsPending(get_supported_profiles_callback_)) {
+ LOG(ERROR) << "Profile not supported";
return PP_ERROR_INPROGRESS;
+ }
get_supported_profiles_callback_ = callback;
Call<PpapiPluginMsg_AudioEncoder_GetSupportedProfilesReply>(