diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-19 03:15:59 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-19 03:15:59 +0000 |
commit | 2041cf34db4b3b9e43f9c63a57975798c0677ad7 (patch) | |
tree | 5caa67abfd19b51f124c17ac0c6a68eca0d9e860 /media/omx | |
parent | cf03da1cccdc0bae0ced1dcf599c8a74324a1577 (diff) | |
download | chromium_src-2041cf34db4b3b9e43f9c63a57975798c0677ad7.zip chromium_src-2041cf34db4b3b9e43f9c63a57975798c0677ad7.tar.gz chromium_src-2041cf34db4b3b9e43f9c63a57975798c0677ad7.tar.bz2 |
Pulled out Callback code into base/callback.h. This is the first step towards redoing the Callback interfaces.
Added and removed includes as needed.
BUG=35223
TEST=trybots
Review URL: http://codereview.chromium.org/646061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39419 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/omx')
-rw-r--r-- | media/omx/omx_codec.cc | 7 | ||||
-rw-r--r-- | media/omx/omx_codec.h | 8 | ||||
-rw-r--r-- | media/omx/omx_codec_unittest.cc | 1 | ||||
-rw-r--r-- | media/omx/omx_output_sink.h | 8 |
4 files changed, 13 insertions, 11 deletions
diff --git a/media/omx/omx_codec.cc b/media/omx/omx_codec.cc index 7699513..a86b263 100644 --- a/media/omx/omx_codec.cc +++ b/media/omx/omx_codec.cc @@ -1,10 +1,11 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. Use of this -// source code is governed by a BSD-style license that can be found in the -// LICENSE file. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. #include <algorithm> #include <string> +#include "base/callback.h" #include "base/logging.h" #include "base/message_loop.h" #include "base/stl_util-inl.h" diff --git a/media/omx/omx_codec.h b/media/omx/omx_codec.h index ebc1e74..d1c3e4b 100644 --- a/media/omx/omx_codec.h +++ b/media/omx/omx_codec.h @@ -1,6 +1,6 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. Use of this -// source code is governed by a BSD-style license that can be found in the -// LICENSE file. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. // TODO(ajwong): Generalize this class (fix comments, API, and extract // implemntation) so that it can be used for encoding & decoding of both @@ -139,8 +139,8 @@ #include <queue> #include <vector> +#include "base/callback.h" #include "base/scoped_ptr.h" -#include "base/task.h" #include "media/omx/omx_configurator.h" #include "media/omx/omx_output_sink.h" #include "third_party/openmax/il/OMX_Component.h" diff --git a/media/omx/omx_codec_unittest.cc b/media/omx/omx_codec_unittest.cc index 1d3df2c..525bc69 100644 --- a/media/omx/omx_codec_unittest.cc +++ b/media/omx/omx_codec_unittest.cc @@ -6,6 +6,7 @@ #include <deque> +#include "base/callback.h" #include "base/message_loop.h" #include "media/base/mock_filters.h" #include "media/omx/mock_omx.h" diff --git a/media/omx/omx_output_sink.h b/media/omx/omx_output_sink.h index 504e4b0..b4d0768 100644 --- a/media/omx/omx_output_sink.h +++ b/media/omx/omx_output_sink.h @@ -1,6 +1,6 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. Use of this -// source code is governed by a BSD-style license that can be found in the -// LICENSE file. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. // // An abstract class to define the behavior of an output buffer sink for // media::OmxCodec. It is responsible for negotiation of buffer allocation @@ -82,7 +82,7 @@ #include <vector> -#include "base/task.h" +#include "base/callback.h" #include "third_party/openmax/il/OMX_Core.h" // TODO(hclam): This is just to get the build going. Remove this when we |