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

Side by Side Diff: media/tools/mfdecoder/main.cc

Issue 3071012: Cleanup: Remove unneeded headers from base/ (part 1) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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 | « chrome_frame/urlmon_url_request.h ('k') | net/disk_cache/backend_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // source code is governed by a BSD-style license that can be found in the 2 // Use of this source code is governed by a BSD-style license that can be
3 // LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifdef UNICODE 5 #ifdef UNICODE
6 #undef UNICODE 6 #undef UNICODE
7 #endif 7 #endif
8 8
9 #include <d3d9.h> 9 #include <d3d9.h>
10 #include <dxva2api.h> 10 #include <dxva2api.h>
11 #include <evr.h> 11 #include <evr.h>
12 #include <mfapi.h> 12 #include <mfapi.h>
13 #include <mfreadwrite.h> 13 #include <mfreadwrite.h>
14 #include <windows.h> 14 #include <windows.h>
15 15
16 #include "base/at_exit.h" 16 #include "base/at_exit.h"
17 #include "base/basictypes.h" 17 #include "base/basictypes.h"
18 #include "base/logging.h" 18 #include "base/logging.h"
19 #include "base/message_loop.h" 19 #include "base/message_loop.h"
20 #include "base/message_pump_win.h"
21 #include "base/scoped_comptr_win.h" 20 #include "base/scoped_comptr_win.h"
22 #include "base/scoped_ptr.h" 21 #include "base/scoped_ptr.h"
23 #include "base/time.h" 22 #include "base/time.h"
24 #include "gfx/gdi_util.h" 23 #include "gfx/gdi_util.h"
25 #include "media/base/yuv_convert.h" 24 #include "media/base/yuv_convert.h"
26 #include "media/tools/mfdecoder/mfdecoder.h" 25 #include "media/tools/mfdecoder/mfdecoder.h"
27 26
28 namespace { 27 namespace {
29 28
30 const char* const kWindowClass = "Chrome_MF_Decoder"; 29 const char* const kWindowClass = "Chrome_MF_Decoder";
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 MessageLoopForUI::current()->Run(NULL); 542 MessageLoopForUI::current()->Run(NULL);
544 543
545 printf("Decoding finished\n"); 544 printf("Decoding finished\n");
546 base::Time end(base::Time::Now()); 545 base::Time end(base::Time::Now());
547 LOG(INFO) << "Decoding finished at " << end.ToTimeT(); 546 LOG(INFO) << "Decoding finished at " << end.ToTimeT();
548 LOG(INFO) << "Took " << (end-start).InMilliseconds() << "ms"; 547 LOG(INFO) << "Took " << (end-start).InMilliseconds() << "ms";
549 548
550 printf("Normal termination\n"); 549 printf("Normal termination\n");
551 return 0; 550 return 0;
552 } 551 }
OLDNEW
« no previous file with comments | « chrome_frame/urlmon_url_request.h ('k') | net/disk_cache/backend_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698