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

Side by Side Diff: media/video/capture/video_capture_device.cc

Issue 545053002: Add still image capture interface for VideoCaptureDevice. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compiling errors Created 6 years, 2 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/video_capture_device.h" 5 #include "media/video/capture/video_capture_device.h"
6 6
7 #include "base/i18n/timezone.h" 7 #include "base/i18n/timezone.h"
8 #include "base/strings/string_util.h" 8 #include "base/strings/string_util.h"
9 9
10 namespace media { 10 namespace media {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 "PW", "SA", "SR", "SV", "TT", "TW", "UM", "US", "VG", "VI", "VE"}; 72 "PW", "SA", "SR", "SV", "TT", "TW", "UM", "US", "VG", "VI", "VE"};
73 const char** countries_using_60Hz_end = 73 const char** countries_using_60Hz_end =
74 countries_using_60Hz + arraysize(countries_using_60Hz); 74 countries_using_60Hz + arraysize(countries_using_60Hz);
75 if (std::find(countries_using_60Hz, countries_using_60Hz_end, 75 if (std::find(countries_using_60Hz, countries_using_60Hz_end,
76 current_country) == countries_using_60Hz_end) { 76 current_country) == countries_using_60Hz_end) {
77 return kPowerLine50Hz; 77 return kPowerLine50Hz;
78 } 78 }
79 return kPowerLine60Hz; 79 return kPowerLine60Hz;
80 } 80 }
81 81
82 bool VideoCaptureDevice::InitializeImageCapture(
83 const ImageCaptureFormat& image_format,
84 scoped_ptr<ImageClient> client) {
85 return false;
86 }
87
82 } // namespace media 88 } // namespace media
OLDNEW
« no previous file with comments | « media/video/capture/video_capture_device.h ('k') | media/video/capture/video_capture_device_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698