Index: media/test/mock_media_source.h |
diff --git a/media/test/mock_media_source.h b/media/test/mock_media_source.h |
index 286f6fd7182a38c57eca4f126c6216587a631db0..760c84bb6c12798d00e177d913a77a3a19be8dc7 100644 |
--- a/media/test/mock_media_source.h |
+++ b/media/test/mock_media_source.h |
@@ -5,6 +5,8 @@ |
#ifndef MEDIA_TEST_MOCK_MEDIA_SOURCE_H_ |
#define MEDIA_TEST_MOCK_MEDIA_SOURCE_H_ |
+#include <limits> |
+ |
#include "base/time/time.h" |
#include "media/base/demuxer.h" |
#include "media/base/pipeline_status.h" |
@@ -14,7 +16,7 @@ |
namespace media { |
// Indicates that the whole file should be appended. |
-extern const size_t kAppendWholeFile; |
+constexpr size_t kAppendWholeFile = std::numeric_limits<size_t>::max(); |
// Helper class that emulates calls made on the ChunkDemuxer by the |
// Media Source API. |