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

Side by Side Diff: media/omx/omx_unittest.cc

Issue 5977010: Move CancellationFlag and WaitableEvent to the synchronization subdirectory.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/filters/ffmpeg_demuxer.h ('k') | net/base/directory_lister.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009-2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009-2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/logging.h" 6 #include "base/logging.h"
7 #include "base/waitable_event.h" 7 #include "base/synchronization/waitable_event.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 #include "third_party/openmax/il/OMX_Component.h" 9 #include "third_party/openmax/il/OMX_Component.h"
10 #include "third_party/openmax/il/OMX_Core.h" 10 #include "third_party/openmax/il/OMX_Core.h"
11 11
12 namespace { 12 namespace {
13 13
14 // Defines the maximum number of buffers created for I/O ports. 14 // Defines the maximum number of buffers created for I/O ports.
15 const int kMaxBufferNum = 256; 15 const int kMaxBufferNum = 256;
16 16
17 template <typename T> 17 template <typename T>
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 // Then configure the component as usual. 416 // Then configure the component as usual.
417 Configure(codec(), 1024, 768); 417 Configure(codec(), 1024, 768);
418 TransitionLoadedToIdle(); 418 TransitionLoadedToIdle();
419 TransitionIdleToExecuting(); 419 TransitionIdleToExecuting();
420 TransitionExecutingToIdle(); 420 TransitionExecutingToIdle();
421 TransitionIdleToLoaded(); 421 TransitionIdleToLoaded();
422 DeinitComponent(); 422 DeinitComponent();
423 } 423 }
424 424
425 } // namespace media 425 } // namespace media
OLDNEW
« no previous file with comments | « media/filters/ffmpeg_demuxer.h ('k') | net/base/directory_lister.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698