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

Side by Side Diff: media/video/capture/win/video_capture_device_win.cc

Issue 16684003: Use a direct include of strings headers in ipc/, jingle/, media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "media/video/capture/win/video_capture_device_win.h" 5 #include "media/video/capture/win/video_capture_device_win.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <list> 8 #include <list>
9 9
10 #include "base/string_util.h" 10 #include "base/strings/string_util.h"
11 #include "base/strings/sys_string_conversions.h" 11 #include "base/strings/sys_string_conversions.h"
12 #include "base/win/scoped_variant.h" 12 #include "base/win/scoped_variant.h"
13 #include "media/video/capture/win/video_capture_device_mf_win.h" 13 #include "media/video/capture/win/video_capture_device_mf_win.h"
14 14
15 using base::win::ScopedComPtr; 15 using base::win::ScopedComPtr;
16 using base::win::ScopedVariant; 16 using base::win::ScopedVariant;
17 17
18 namespace { 18 namespace {
19 19
20 // Finds and creates a DirectShow Video Capture filter matching the device_name. 20 // Finds and creates a DirectShow Video Capture filter matching the device_name.
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 } 591 }
592 592
593 void VideoCaptureDeviceWin::SetErrorState(const char* reason) { 593 void VideoCaptureDeviceWin::SetErrorState(const char* reason) {
594 DCHECK(CalledOnValidThread()); 594 DCHECK(CalledOnValidThread());
595 DVLOG(1) << reason; 595 DVLOG(1) << reason;
596 state_ = kError; 596 state_ = kError;
597 observer_->OnError(); 597 observer_->OnError();
598 } 598 }
599 599
600 } // namespace media 600 } // namespace media
OLDNEW
« no previous file with comments | « media/video/capture/linux/video_capture_device_linux.cc ('k') | media/webm/webm_tracks_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698