Modify include headers to have "packager" in the path

This is a follow up to previous CL.

Generated using command:
find {media,app,mpd} -type f -exec sed -r -i 's/#include "(.*)"/#include
"packager\/\1"/' {} \;

common.gypi and mpd.gyp are also modified to take the path change into
consideration.

Change-Id: I1fb102b4eb73ae5fde5f4ab303a12cec09b05c33
This commit is contained in:
KongQun Yang 2014-10-01 15:10:21 -07:00
parent b8126bc9da
commit 15ae26e12f
206 changed files with 803 additions and 804 deletions

View File

@ -6,7 +6,7 @@
//
// Defines command line flags for fixed key encryption.
#include "app/fixed_key_encryption_flags.h"
#include "packager/app/fixed_key_encryption_flags.h"
DEFINE_bool(enable_fixed_key_encryption,
false,

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "app/libcrypto_threading.h"
#include "packager/app/libcrypto_threading.h"
namespace edash_packager {
namespace media {

View File

@ -7,7 +7,7 @@
#ifndef APP_LIBCRYPTO_THREADING_H_
#define APP_LIBCRYPTO_THREADING_H_
#include "base/macros.h"
#include "packager/base/macros.h"
namespace edash_packager {
namespace media {

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "app/libcrypto_threading.h"
#include "packager/app/libcrypto_threading.h"
#include <openssl/crypto.h>
#include <pthread.h>

View File

@ -6,7 +6,7 @@
//
// Defines Mpd flags.
#include "app/mpd_flags.h"
#include "packager/app/mpd_flags.h"
// TODO(rkuroiwa, kqyang): Remove the 'Exclusive' statements once
// --output_media_info can work together with --mpd_output.

View File

@ -4,11 +4,11 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "app/mpd_generator_flags.h"
#include "base/logging.h"
#include "base/strings/string_split.h"
#include "base/strings/stringprintf.h"
#include "mpd/util/mpd_writer.h"
#include "packager/app/mpd_generator_flags.h"
#include "packager/base/logging.h"
#include "packager/base/strings/string_split.h"
#include "packager/base/strings/stringprintf.h"
#include "packager/mpd/util/mpd_writer.h"
namespace {
const char kUsage[] =

View File

@ -6,7 +6,7 @@
//
// Defines Muxer flags.
#include "app/muxer_flags.h"
#include "packager/app/muxer_flags.h"
DEFINE_string(profile,
"",

View File

@ -6,27 +6,27 @@
#include <iostream>
#include "app/fixed_key_encryption_flags.h"
#include "app/libcrypto_threading.h"
#include "app/mpd_flags.h"
#include "app/muxer_flags.h"
#include "app/packager_util.h"
#include "app/stream_descriptor.h"
#include "app/widevine_encryption_flags.h"
#include "base/logging.h"
#include "base/stl_util.h"
#include "base/strings/string_split.h"
#include "base/strings/stringprintf.h"
#include "base/threading/simple_thread.h"
#include "media/base/demuxer.h"
#include "media/base/key_source.h"
#include "media/base/muxer_options.h"
#include "media/base/muxer_util.h"
#include "media/event/mpd_notify_muxer_listener.h"
#include "media/event/vod_media_info_dump_muxer_listener.h"
#include "media/formats/mp4/mp4_muxer.h"
#include "mpd/base/mpd_builder.h"
#include "mpd/base/simple_mpd_notifier.h"
#include "packager/app/fixed_key_encryption_flags.h"
#include "packager/app/libcrypto_threading.h"
#include "packager/app/mpd_flags.h"
#include "packager/app/muxer_flags.h"
#include "packager/app/packager_util.h"
#include "packager/app/stream_descriptor.h"
#include "packager/app/widevine_encryption_flags.h"
#include "packager/base/logging.h"
#include "packager/base/stl_util.h"
#include "packager/base/strings/string_split.h"
#include "packager/base/strings/stringprintf.h"
#include "packager/base/threading/simple_thread.h"
#include "packager/media/base/demuxer.h"
#include "packager/media/base/key_source.h"
#include "packager/media/base/muxer_options.h"
#include "packager/media/base/muxer_util.h"
#include "packager/media/event/mpd_notify_muxer_listener.h"
#include "packager/media/event/vod_media_info_dump_muxer_listener.h"
#include "packager/media/formats/mp4/mp4_muxer.h"
#include "packager/mpd/base/mpd_builder.h"
#include "packager/mpd/base/simple_mpd_notifier.h"
namespace {
const char kUsage[] =

View File

@ -7,20 +7,20 @@
#include <gflags/gflags.h>
#include <iostream>
#include "app/fixed_key_encryption_flags.h"
#include "app/mpd_flags.h"
#include "app/muxer_flags.h"
#include "app/widevine_encryption_flags.h"
#include "base/logging.h"
#include "base/strings/string_number_conversions.h"
#include "media/base/media_stream.h"
#include "media/base/muxer.h"
#include "media/base/muxer_options.h"
#include "media/base/request_signer.h"
#include "media/base/stream_info.h"
#include "media/base/widevine_key_source.h"
#include "media/file/file.h"
#include "mpd/base/mpd_builder.h"
#include "packager/app/fixed_key_encryption_flags.h"
#include "packager/app/mpd_flags.h"
#include "packager/app/muxer_flags.h"
#include "packager/app/widevine_encryption_flags.h"
#include "packager/base/logging.h"
#include "packager/base/strings/string_number_conversions.h"
#include "packager/media/base/media_stream.h"
#include "packager/media/base/muxer.h"
#include "packager/media/base/muxer_options.h"
#include "packager/media/base/request_signer.h"
#include "packager/media/base/stream_info.h"
#include "packager/media/base/widevine_key_source.h"
#include "packager/media/file/file.h"
#include "packager/mpd/base/mpd_builder.h"
DEFINE_bool(dump_stream_info, false, "Dump demuxed stream info.");

View File

@ -13,7 +13,7 @@
#include <string>
#include <vector>
#include "base/memory/scoped_ptr.h"
#include "packager/base/memory/scoped_ptr.h"
DECLARE_bool(dump_stream_info);

View File

@ -4,12 +4,12 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "app/stream_descriptor.h"
#include "packager/app/stream_descriptor.h"
#include "app/packager_util.h"
#include "base/logging.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_split.h"
#include "packager/app/packager_util.h"
#include "packager/base/logging.h"
#include "packager/base/strings/string_number_conversions.h"
#include "packager/base/strings/string_split.h"
namespace edash_packager {
namespace media {

View File

@ -6,10 +6,10 @@
//
// Defines command line flags for widevine_encryption.
#include "app/widevine_encryption_flags.h"
#include "packager/app/widevine_encryption_flags.h"
#include "base/logging.h"
#include "base/strings/string_number_conversions.h"
#include "packager/base/logging.h"
#include "packager/base/strings/string_number_conversions.h"
DEFINE_bool(enable_widevine_encryption,
false,

View File

@ -14,6 +14,7 @@
'target_defaults': {
'include_dirs': [
'.',
'..',
],
'conditions': [
['clang==1', {

View File

@ -4,13 +4,13 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/base/aes_encryptor.h"
#include "packager/media/base/aes_encryptor.h"
#include <openssl/aes.h>
#include <openssl/err.h>
#include <openssl/rand.h>
#include "base/logging.h"
#include "packager/base/logging.h"
namespace {

View File

@ -12,8 +12,8 @@
#include <string>
#include <vector>
#include "base/memory/scoped_ptr.h"
#include "base/stl_util.h"
#include "packager/base/memory/scoped_ptr.h"
#include "packager/base/stl_util.h"
struct aes_key_st;
typedef struct aes_key_st AES_KEY;

View File

@ -6,10 +6,10 @@
#include <gtest/gtest.h>
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "base/strings/string_number_conversions.h"
#include "media/base/aes_encryptor.h"
#include "packager/base/logging.h"
#include "packager/base/memory/scoped_ptr.h"
#include "packager/base/strings/string_number_conversions.h"
#include "packager/media/base/aes_encryptor.h"
namespace {

View File

@ -4,12 +4,12 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/base/audio_stream_info.h"
#include "packager/media/base/audio_stream_info.h"
#include "base/logging.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h"
#include "media/base/limits.h"
#include "packager/base/logging.h"
#include "packager/base/strings/string_number_conversions.h"
#include "packager/base/strings/stringprintf.h"
#include "packager/media/base/limits.h"
namespace edash_packager {
namespace media {

View File

@ -9,7 +9,7 @@
#include <vector>
#include "media/base/stream_info.h"
#include "packager/media/base/stream_info.h"
namespace edash_packager {
namespace media {

View File

@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/base/audio_timestamp_helper.h"
#include "packager/media/base/audio_timestamp_helper.h"
#include "base/logging.h"
#include "media/base/timestamp.h"
#include "packager/base/logging.h"
#include "packager/media/base/timestamp.h"
namespace edash_packager {
namespace media {

View File

@ -7,7 +7,7 @@
#include <stdint.h>
#include "base/macros.h"
#include "packager/base/macros.h"
namespace edash_packager {
namespace media {

View File

@ -4,8 +4,8 @@
#include <gtest/gtest.h>
#include "media/base/audio_timestamp_helper.h"
#include "media/base/timestamp.h"
#include "packager/media/base/audio_timestamp_helper.h"
#include "packager/media/base/timestamp.h"
namespace edash_packager {
namespace media {

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/base/bit_reader.h"
#include "packager/media/base/bit_reader.h"
namespace edash_packager {
namespace media {

View File

@ -8,7 +8,7 @@
#include <stdint.h>
#include <sys/types.h>
#include "base/logging.h"
#include "packager/base/logging.h"
namespace edash_packager {
namespace media {

View File

@ -4,7 +4,7 @@
#include <gtest/gtest.h>
#include "media/base/bit_reader.h"
#include "packager/media/base/bit_reader.h"
namespace edash_packager {
namespace media {

View File

@ -4,9 +4,9 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/base/buffer_reader.h"
#include "packager/media/base/buffer_reader.h"
#include "base/logging.h"
#include "packager/base/logging.h"
namespace edash_packager {
namespace media {

View File

@ -11,8 +11,8 @@
#include <vector>
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "packager/base/compiler_specific.h"
#include "packager/base/macros.h"
namespace edash_packager {
namespace media {

View File

@ -4,10 +4,10 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/base/buffer_writer.h"
#include "packager/media/base/buffer_writer.h"
#include "base/sys_byteorder.h"
#include "media/file/file.h"
#include "packager/base/sys_byteorder.h"
#include "packager/media/file/file.h"
namespace edash_packager {
namespace media {

View File

@ -9,8 +9,8 @@
#include <vector>
#include "base/stl_util.h"
#include "media/base/status.h"
#include "packager/base/stl_util.h"
#include "packager/media/base/status.h"
namespace edash_packager {
namespace media {

View File

@ -4,15 +4,15 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/base/buffer_writer.h"
#include "packager/media/base/buffer_writer.h"
#include <limits>
#include "base/file_util.h"
#include "base/memory/scoped_ptr.h"
#include "media/base/buffer_reader.h"
#include "media/base/status_test_util.h"
#include "media/file/file.h"
#include "packager/base/file_util.h"
#include "packager/base/memory/scoped_ptr.h"
#include "packager/media/base/buffer_reader.h"
#include "packager/media/base/status_test_util.h"
#include "packager/media/file/file.h"
namespace {
const int kReservedBufferCapacity = 1000;

View File

@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/base/byte_queue.h"
#include "packager/media/base/byte_queue.h"
#include "base/logging.h"
#include "packager/base/logging.h"
namespace edash_packager {
namespace media {

View File

@ -7,7 +7,7 @@
#include <stdint.h>
#include "base/memory/scoped_ptr.h"
#include "packager/base/memory/scoped_ptr.h"
namespace edash_packager {
namespace media {

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/base/closure_thread.h"
#include "packager/media/base/closure_thread.h"
namespace edash_packager {
namespace media {

View File

@ -7,8 +7,8 @@
#ifndef MEDIA_BASE_CLOSURE_THREAD_H_
#define MEDIA_BASE_CLOSURE_THREAD_H_
#include "base/callback.h"
#include "base/threading/simple_thread.h"
#include "packager/base/callback.h"
#include "packager/base/threading/simple_thread.h"
namespace edash_packager {
namespace media {

View File

@ -7,10 +7,10 @@
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "base/bind.h"
#include "base/memory/scoped_ptr.h"
#include "base/synchronization/waitable_event.h"
#include "media/base/closure_thread.h"
#include "packager/base/bind.h"
#include "packager/base/memory/scoped_ptr.h"
#include "packager/base/synchronization/waitable_event.h"
#include "packager/media/base/closure_thread.h"
using ::testing::DoAll;
using ::testing::Invoke;

View File

@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/base/container_names.h"
#include "packager/media/base/container_names.h"
#include <stdint.h>
#include <cctype>
#include <limits>
#include "base/logging.h"
#include "media/base/bit_reader.h"
#include "packager/base/logging.h"
#include "packager/media/base/bit_reader.h"
namespace edash_packager {
namespace media {

View File

@ -4,9 +4,9 @@
#include <gtest/gtest.h>
#include "base/file_util.h"
#include "media/base/container_names.h"
#include "media/test/test_data_util.h"
#include "packager/base/file_util.h"
#include "packager/media/base/container_names.h"
#include "packager/media/test/test_data_util.h"
namespace edash_packager {
namespace media {

View File

@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/base/decrypt_config.h"
#include "packager/media/base/decrypt_config.h"
#include "base/logging.h"
#include "packager/base/logging.h"
namespace edash_packager {
namespace media {

View File

@ -10,7 +10,7 @@
#include <string>
#include <vector>
#include "base/memory/scoped_ptr.h"
#include "packager/base/memory/scoped_ptr.h"
namespace edash_packager {
namespace media {

View File

@ -7,9 +7,9 @@
#ifndef MEDIA_BASE_DECRYPTOR_SOURCE_H_
#define MEDIA_BASE_DECRYPTOR_SOURCE_H_
#include "base/memory/scoped_ptr.h"
#include "media/base/container_names.h"
#include "media/base/status.h"
#include "packager/base/memory/scoped_ptr.h"
#include "packager/media/base/container_names.h"
#include "packager/media/base/status.h"
namespace edash_packager {
namespace media {

View File

@ -4,21 +4,21 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/base/demuxer.h"
#include "packager/media/base/demuxer.h"
#include "base/bind.h"
#include "base/logging.h"
#include "base/stl_util.h"
#include "media/base/container_names.h"
#include "media/base/decryptor_source.h"
#include "media/base/key_source.h"
#include "media/base/media_sample.h"
#include "media/base/media_stream.h"
#include "media/base/stream_info.h"
#include "media/file/file.h"
#include "media/formats/mp2t/mp2t_media_parser.h"
#include "media/formats/mp4/mp4_media_parser.h"
#include "media/formats/wvm/wvm_media_parser.h"
#include "packager/base/bind.h"
#include "packager/base/logging.h"
#include "packager/base/stl_util.h"
#include "packager/media/base/container_names.h"
#include "packager/media/base/decryptor_source.h"
#include "packager/media/base/key_source.h"
#include "packager/media/base/media_sample.h"
#include "packager/media/base/media_stream.h"
#include "packager/media/base/stream_info.h"
#include "packager/media/file/file.h"
#include "packager/media/formats/mp2t/mp2t_media_parser.h"
#include "packager/media/formats/mp4/mp4_media_parser.h"
#include "packager/media/formats/wvm/wvm_media_parser.h"
namespace {
const size_t kBufSize = 0x40000; // 256KB.

View File

@ -9,10 +9,10 @@
#include <vector>
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "media/base/container_names.h"
#include "media/base/status.h"
#include "packager/base/memory/ref_counted.h"
#include "packager/base/memory/scoped_ptr.h"
#include "packager/media/base/container_names.h"
#include "packager/media/base/status.h"
namespace edash_packager {
namespace media {

View File

@ -4,13 +4,13 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/base/fake_prng.h"
#include "packager/media/base/fake_prng.h"
#include <openssl/rand.h>
#include "base/file_util.h"
#include "base/logging.h"
#include "media/test/test_data_util.h"
#include "packager/base/file_util.h"
#include "packager/base/logging.h"
#include "packager/media/test/test_data_util.h"
namespace {

View File

@ -4,10 +4,10 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/base/http_fetcher.h"
#include "packager/media/base/http_fetcher.h"
#include <curl/curl.h>
#include "base/strings/stringprintf.h"
#include "packager/base/strings/stringprintf.h"
namespace {
const char kUserAgentString[] = "edash-packager-http_fetcher/1.0";

View File

@ -7,8 +7,8 @@
#ifndef MEDIA_BASE_HTTP_FETCHER_H_
#define MEDIA_BASE_HTTP_FETCHER_H_
#include "base/compiler_specific.h"
#include "media/base/status.h"
#include "packager/base/compiler_specific.h"
#include "packager/media/base/status.h"
namespace edash_packager {
namespace media {

View File

@ -4,12 +4,12 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/base/http_fetcher.h"
#include "packager/media/base/http_fetcher.h"
#include "base/logging.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include "media/base/status_test_util.h"
#include "packager/base/logging.h"
#include "packager/base/strings/string_number_conversions.h"
#include "packager/base/strings/string_util.h"
#include "packager/media/base/status_test_util.h"
namespace {
const char kTestUrl[] = "http://packager-test.appspot.com/http_test";

View File

@ -4,11 +4,11 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/base/key_source.h"
#include "packager/media/base/key_source.h"
#include "base/strings/string_number_conversions.h"
#include "media/base/aes_encryptor.h"
#include "media/base/buffer_writer.h"
#include "packager/base/strings/string_number_conversions.h"
#include "packager/media/base/aes_encryptor.h"
#include "packager/media/base/buffer_writer.h"
namespace {
const uint8_t kWidevineSystemId[] = {0xed, 0xef, 0x8b, 0xa9, 0x79, 0xd6,

View File

@ -9,8 +9,8 @@
#include <vector>
#include "base/memory/scoped_ptr.h"
#include "media/base/status.h"
#include "packager/base/memory/scoped_ptr.h"
#include "packager/media/base/status.h"
namespace edash_packager {
namespace media {

View File

@ -10,10 +10,10 @@
#include <string>
#include <vector>
#include "base/callback.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "media/base/container_names.h"
#include "packager/base/callback.h"
#include "packager/base/memory/ref_counted.h"
#include "packager/base/memory/scoped_ptr.h"
#include "packager/media/base/container_names.h"
namespace edash_packager {
namespace media {

View File

@ -4,12 +4,12 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/base/media_sample.h"
#include "packager/media/base/media_sample.h"
#include <inttypes.h>
#include "base/logging.h"
#include "base/strings/stringprintf.h"
#include "packager/base/logging.h"
#include "packager/base/strings/stringprintf.h"
namespace edash_packager {
namespace media {

View File

@ -11,9 +11,9 @@
#include <string>
#include <vector>
#include "base/logging.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "packager/base/logging.h"
#include "packager/base/memory/ref_counted.h"
#include "packager/base/memory/scoped_ptr.h"
namespace edash_packager {
namespace media {

View File

@ -4,14 +4,14 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/base/media_stream.h"
#include "packager/media/base/media_stream.h"
#include "base/logging.h"
#include "base/strings/stringprintf.h"
#include "media/base/demuxer.h"
#include "media/base/media_sample.h"
#include "media/base/muxer.h"
#include "media/base/stream_info.h"
#include "packager/base/logging.h"
#include "packager/base/strings/stringprintf.h"
#include "packager/media/base/demuxer.h"
#include "packager/media/base/media_sample.h"
#include "packager/media/base/muxer.h"
#include "packager/media/base/stream_info.h"
namespace edash_packager {
namespace media {

View File

@ -9,9 +9,9 @@
#include <deque>
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "media/base/status.h"
#include "packager/base/memory/ref_counted.h"
#include "packager/base/memory/scoped_ptr.h"
#include "packager/media/base/status.h"
namespace edash_packager {
namespace media {

View File

@ -4,10 +4,10 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/base/muxer.h"
#include "packager/media/base/muxer.h"
#include "media/base/media_sample.h"
#include "media/base/media_stream.h"
#include "packager/media/base/media_sample.h"
#include "packager/media/base/media_stream.h"
namespace edash_packager {
namespace media {

View File

@ -11,11 +11,11 @@
#include <vector>
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/time/clock.h"
#include "media/base/muxer_options.h"
#include "media/base/status.h"
#include "packager/base/memory/ref_counted.h"
#include "packager/base/memory/scoped_ptr.h"
#include "packager/base/time/clock.h"
#include "packager/media/base/muxer_options.h"
#include "packager/media/base/status.h"
namespace edash_packager {
namespace media {

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/base/muxer_options.h"
#include "packager/media/base/muxer_options.h"
namespace edash_packager {
namespace media {

View File

@ -4,17 +4,17 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/base/muxer_util.h"
#include "packager/media/base/muxer_util.h"
#include <inttypes.h>
#include <string>
#include <vector>
#include "base/logging.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_split.h"
#include "base/strings/stringprintf.h"
#include "packager/base/logging.h"
#include "packager/base/strings/string_number_conversions.h"
#include "packager/base/strings/string_split.h"
#include "packager/base/strings/stringprintf.h"
namespace edash_packager {
namespace {

View File

@ -6,7 +6,7 @@
#include <gtest/gtest.h>
#include "media/base/muxer_util.h"
#include "packager/media/base/muxer_util.h"
namespace edash_packager {
namespace media {

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/base/network_util.h"
#include "packager/media/base/network_util.h"
namespace edash_packager {
namespace media {

View File

@ -2,11 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/base/offset_byte_queue.h"
#include "packager/media/base/offset_byte_queue.h"
#include <stdint.h>
#include "base/logging.h"
#include "packager/base/logging.h"
namespace edash_packager {
namespace media {

View File

@ -7,7 +7,7 @@
#include <stdint.h>
#include "media/base/byte_queue.h"
#include "packager/media/base/byte_queue.h"
namespace edash_packager {
namespace media {

View File

@ -6,8 +6,8 @@
#include <stdint.h>
#include <string.h>
#include "base/memory/scoped_ptr.h"
#include "media/base/offset_byte_queue.h"
#include "packager/base/memory/scoped_ptr.h"
#include "packager/media/base/offset_byte_queue.h"
namespace edash_packager {
namespace media {

View File

@ -9,11 +9,11 @@
#include <deque>
#include "base/strings/stringprintf.h"
#include "base/synchronization/condition_variable.h"
#include "base/synchronization/lock.h"
#include "base/timer/elapsed_timer.h"
#include "media/base/status.h"
#include "packager/base/strings/stringprintf.h"
#include "packager/base/synchronization/condition_variable.h"
#include "packager/base/synchronization/lock.h"
#include "packager/base/timer/elapsed_timer.h"
#include "packager/media/base/status.h"
namespace edash_packager {
namespace media {

View File

@ -6,11 +6,11 @@
#include <gtest/gtest.h>
#include "base/bind.h"
#include "base/synchronization/waitable_event.h"
#include "media/base/closure_thread.h"
#include "media/base/producer_consumer_queue.h"
#include "media/base/status_test_util.h"
#include "packager/base/bind.h"
#include "packager/base/synchronization/waitable_event.h"
#include "packager/media/base/closure_thread.h"
#include "packager/media/base/producer_consumer_queue.h"
#include "packager/media/base/status_test_util.h"
namespace {
const size_t kCapacity = 10u;

View File

@ -4,12 +4,12 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/base/request_signer.h"
#include "packager/media/base/request_signer.h"
#include "base/sha1.h"
#include "base/strings/string_number_conversions.h"
#include "media/base/aes_encryptor.h"
#include "media/base/rsa_key.h"
#include "packager/base/sha1.h"
#include "packager/base/strings/string_number_conversions.h"
#include "packager/media/base/aes_encryptor.h"
#include "packager/media/base/rsa_key.h"
namespace edash_packager {
namespace media {

View File

@ -9,7 +9,7 @@
#include <string>
#include "base/memory/scoped_ptr.h"
#include "packager/base/memory/scoped_ptr.h"
namespace edash_packager {
namespace media {

View File

@ -16,16 +16,16 @@
// Mask generation function: mgf1SHA1
// Label (encoding paramter): empty std::string
#include "media/base/rsa_key.h"
#include "packager/media/base/rsa_key.h"
#include <openssl/err.h>
#include <openssl/rsa.h>
#include <openssl/x509.h>
#include <vector>
#include "base/logging.h"
#include "base/sha1.h"
#include "base/stl_util.h"
#include "packager/base/logging.h"
#include "packager/base/sha1.h"
#include "packager/base/stl_util.h"
namespace {

View File

@ -12,7 +12,7 @@
#include <string>
#include "base/macros.h"
#include "packager/base/macros.h"
struct rsa_st;
typedef struct rsa_st RSA;

View File

@ -8,10 +8,10 @@
#include <gtest/gtest.h>
#include "base/memory/scoped_ptr.h"
#include "media/base/fake_prng.h"
#include "media/base/rsa_key.h"
#include "media/base/rsa_test_data.h"
#include "packager/base/memory/scoped_ptr.h"
#include "packager/media/base/fake_prng.h"
#include "packager/media/base/rsa_key.h"
#include "packager/media/base/rsa_test_data.h"
namespace edash_packager {
namespace media {

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/base/rsa_test_data.h"
#include "packager/media/base/rsa_test_data.h"
#include <stdint.h>

View File

@ -11,7 +11,7 @@
#include <string>
#include "base/macros.h"
#include "packager/base/macros.h"
namespace edash_packager {
namespace media {

View File

@ -4,9 +4,9 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/base/status.h"
#include "packager/media/base/status.h"
#include "base/strings/stringprintf.h"
#include "packager/base/strings/stringprintf.h"
namespace edash_packager {
namespace media {

View File

@ -9,7 +9,7 @@
#include <string>
#include "base/logging.h"
#include "packager/base/logging.h"
namespace edash_packager {
namespace media {

View File

@ -9,7 +9,7 @@
#include <gtest/gtest.h>
#include "media/base/status.h"
#include "packager/media/base/status.h"
namespace edash_packager {
namespace media {

View File

@ -6,7 +6,7 @@
#include <gtest/gtest-spi.h>
#include "media/base/status_test_util.h"
#include "packager/media/base/status_test_util.h"
namespace edash_packager {
namespace media {

View File

@ -7,8 +7,8 @@
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "base/strings/string_number_conversions.h"
#include "media/base/status.h"
#include "packager/base/strings/string_number_conversions.h"
#include "packager/media/base/status.h"
namespace edash_packager {
namespace media {

View File

@ -4,12 +4,12 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/base/stream_info.h"
#include "packager/media/base/stream_info.h"
#include <inttypes.h>
#include "base/logging.h"
#include "base/strings/stringprintf.h"
#include "packager/base/logging.h"
#include "packager/base/strings/stringprintf.h"
namespace edash_packager {
namespace media {

View File

@ -10,7 +10,7 @@
#include <string>
#include <vector>
#include "base/memory/ref_counted.h"
#include "packager/base/memory/ref_counted.h"
namespace edash_packager {
namespace media {

View File

@ -7,9 +7,9 @@
#include <string>
#include "base/callback.h"
#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
#include "packager/base/callback.h"
#include "packager/base/memory/scoped_ptr.h"
#include "packager/base/time/time.h"
namespace edash_packager {
namespace media {

View File

@ -4,12 +4,12 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/base/video_stream_info.h"
#include "packager/media/base/video_stream_info.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include "base/strings/stringprintf.h"
#include "media/base/limits.h"
#include "packager/base/strings/string_number_conversions.h"
#include "packager/base/strings/string_util.h"
#include "packager/base/strings/stringprintf.h"
#include "packager/media/base/limits.h"
namespace edash_packager {
namespace media {

View File

@ -7,7 +7,7 @@
#ifndef MEDIA_BASE_VIDEO_STREAM_INFO_H_
#define MEDIA_BASE_VIDEO_STREAM_INFO_H_
#include "media/base/stream_info.h"
#include "packager/media/base/stream_info.h"
namespace edash_packager {
namespace media {

View File

@ -4,17 +4,17 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/base/widevine_key_source.h"
#include "packager/media/base/widevine_key_source.h"
#include "base/base64.h"
#include "base/bind.h"
#include "base/json/json_reader.h"
#include "base/json/json_writer.h"
#include "base/memory/ref_counted.h"
#include "base/stl_util.h"
#include "media/base/http_fetcher.h"
#include "media/base/producer_consumer_queue.h"
#include "media/base/request_signer.h"
#include "packager/base/base64.h"
#include "packager/base/bind.h"
#include "packager/base/json/json_reader.h"
#include "packager/base/json/json_writer.h"
#include "packager/base/memory/ref_counted.h"
#include "packager/base/stl_util.h"
#include "packager/media/base/http_fetcher.h"
#include "packager/media/base/producer_consumer_queue.h"
#include "packager/media/base/request_signer.h"
#define RCHECK(x) \
do { \

View File

@ -9,11 +9,11 @@
#include <map>
#include "base/memory/scoped_ptr.h"
#include "base/synchronization/waitable_event.h"
#include "base/values.h"
#include "media/base/closure_thread.h"
#include "media/base/key_source.h"
#include "packager/base/memory/scoped_ptr.h"
#include "packager/base/synchronization/waitable_event.h"
#include "packager/base/values.h"
#include "packager/media/base/closure_thread.h"
#include "packager/media/base/key_source.h"
namespace edash_packager {
namespace media {

View File

@ -7,13 +7,13 @@
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "base/base64.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h"
#include "media/base/http_fetcher.h"
#include "media/base/request_signer.h"
#include "media/base/status_test_util.h"
#include "media/base/widevine_key_source.h"
#include "packager/base/base64.h"
#include "packager/base/strings/string_number_conversions.h"
#include "packager/base/strings/stringprintf.h"
#include "packager/media/base/http_fetcher.h"
#include "packager/media/base/request_signer.h"
#include "packager/media/base/status_test_util.h"
#include "packager/media/base/widevine_key_source.h"
namespace {
const char kServerUrl[] = "http://www.foo.com/getcontentkey";

View File

@ -4,16 +4,16 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/event/mpd_notify_muxer_listener.h"
#include "packager/media/event/mpd_notify_muxer_listener.h"
#include <cmath>
#include "base/logging.h"
#include "media/base/audio_stream_info.h"
#include "media/base/video_stream_info.h"
#include "media/event/muxer_listener_internal.h"
#include "mpd/base/media_info.pb.h"
#include "mpd/base/mpd_notifier.h"
#include "packager/base/logging.h"
#include "packager/media/base/audio_stream_info.h"
#include "packager/media/base/video_stream_info.h"
#include "packager/media/event/muxer_listener_internal.h"
#include "packager/mpd/base/media_info.pb.h"
#include "packager/mpd/base/mpd_notifier.h"
namespace edash_packager {
namespace media {

View File

@ -11,10 +11,10 @@
#include <vector>
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
#include "media/base/muxer_options.h"
#include "media/event/muxer_listener.h"
#include "packager/base/compiler_specific.h"
#include "packager/base/memory/scoped_ptr.h"
#include "packager/media/base/muxer_options.h"
#include "packager/media/event/muxer_listener.h"
namespace edash_packager {

View File

@ -4,15 +4,15 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/event/muxer_listener_internal.h"
#include "packager/media/event/muxer_listener_internal.h"
#include <math.h>
#include "base/logging.h"
#include "media/base/audio_stream_info.h"
#include "media/base/muxer_options.h"
#include "media/base/video_stream_info.h"
#include "mpd/base/media_info.pb.h"
#include "packager/base/logging.h"
#include "packager/media/base/audio_stream_info.h"
#include "packager/media/base/muxer_options.h"
#include "packager/media/base/video_stream_info.h"
#include "packager/mpd/base/media_info.pb.h"
namespace edash_packager {
namespace media {

View File

@ -12,7 +12,7 @@
#include <string>
#include <vector>
#include "media/event/muxer_listener.h"
#include "packager/media/event/muxer_listener.h"
namespace edash_packager {

View File

@ -4,16 +4,16 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/event/vod_media_info_dump_muxer_listener.h"
#include "packager/media/event/vod_media_info_dump_muxer_listener.h"
#include <google/protobuf/text_format.h>
#include "base/logging.h"
#include "media/base/muxer_options.h"
#include "media/base/stream_info.h"
#include "media/event/muxer_listener_internal.h"
#include "media/file/file.h"
#include "mpd/base/media_info.pb.h"
#include "packager/base/logging.h"
#include "packager/media/base/muxer_options.h"
#include "packager/media/base/stream_info.h"
#include "packager/media/event/muxer_listener_internal.h"
#include "packager/media/file/file.h"
#include "packager/mpd/base/media_info.pb.h"
namespace edash_packager {
namespace media {

View File

@ -14,10 +14,10 @@
#include <string>
#include <vector>
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
#include "media/base/muxer_options.h"
#include "media/event/muxer_listener.h"
#include "packager/base/compiler_specific.h"
#include "packager/base/memory/scoped_ptr.h"
#include "packager/media/base/muxer_options.h"
#include "packager/media/event/muxer_listener.h"
namespace edash_packager {

View File

@ -9,14 +9,14 @@
#include <vector>
#include "base/file_util.h"
#include "base/files/file_path.h"
#include "base/stl_util.h"
#include "media/event/vod_media_info_dump_muxer_listener.h"
#include "media/file/file.h"
#include "media/base/muxer_options.h"
#include "media/base/video_stream_info.h"
#include "mpd/base/media_info.pb.h"
#include "packager/base/file_util.h"
#include "packager/base/files/file_path.h"
#include "packager/base/stl_util.h"
#include "packager/media/event/vod_media_info_dump_muxer_listener.h"
#include "packager/media/file/file.h"
#include "packager/media/base/muxer_options.h"
#include "packager/media/base/video_stream_info.h"
#include "packager/mpd/base/media_info.pb.h"
namespace {
const bool kEnableEncryption = true;

View File

@ -4,13 +4,13 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/file/file.h"
#include "packager/media/file/file.h"
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "media/file/local_file.h"
#include "media/file/udp_file.h"
#include "base/strings/string_util.h"
#include "packager/base/logging.h"
#include "packager/base/memory/scoped_ptr.h"
#include "packager/media/file/local_file.h"
#include "packager/media/file/udp_file.h"
#include "packager/base/strings/string_util.h"
namespace edash_packager {
namespace media {

View File

@ -11,7 +11,7 @@
#include <string>
#include "base/macros.h"
#include "packager/base/macros.h"
namespace edash_packager {
namespace media {

View File

@ -7,8 +7,8 @@
#ifndef MEDIA_FILE_FILE_CLOSER_H_
#define MEDIA_FILE_FILE_CLOSER_H_
#include "base/logging.h"
#include "media/file/file.h"
#include "packager/base/logging.h"
#include "packager/media/file/file.h"
namespace edash_packager {
namespace media {

View File

@ -6,8 +6,8 @@
#include <gtest/gtest.h>
#include "base/file_util.h"
#include "media/file/file.h"
#include "packager/base/file_util.h"
#include "packager/media/file/file.h"
namespace {
const int kDataSize = 1024;

View File

@ -4,10 +4,10 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/file/local_file.h"
#include "packager/media/file/local_file.h"
#include "base/file_util.h"
#include "base/logging.h"
#include "packager/base/file_util.h"
#include "packager/base/logging.h"
namespace edash_packager {
namespace media {

View File

@ -11,8 +11,8 @@
#include <string>
#include "base/compiler_specific.h"
#include "media/file/file.h"
#include "packager/base/compiler_specific.h"
#include "packager/media/file/file.h"
namespace edash_packager {
namespace media {

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "media/file/udp_file.h"
#include "packager/media/file/udp_file.h"
#include <arpa/inet.h>
#include <errno.h>
@ -15,8 +15,8 @@
#include <limits>
#include "base/logging.h"
#include "base/strings/string_number_conversions.h"
#include "packager/base/logging.h"
#include "packager/base/strings/string_number_conversions.h"
// TODO(tinskip): Adapt to work with winsock.

View File

@ -11,8 +11,8 @@
#include <string>
#include "base/compiler_specific.h"
#include "media/file/file.h"
#include "packager/base/compiler_specific.h"
#include "packager/media/file/file.h"
namespace edash_packager {
namespace media {

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/logging.h"
#include "media/filters/h264_bit_reader.h"
#include "packager/base/logging.h"
#include "packager/media/filters/h264_bit_reader.h"
namespace edash_packager {
namespace media {

View File

@ -10,7 +10,7 @@
#include <stdint.h>
#include <sys/types.h>
#include "base/macros.h"
#include "packager/base/macros.h"
namespace edash_packager {
namespace media {

Some files were not shown because too many files have changed in this diff Show More