| OLD | NEW |
| 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/capture/video/video_capture_device.h" | 5 #include "device/capture/video/video_capture_device.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/i18n/timezone.h" | 8 #include "base/i18n/timezone.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
| 11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
| 12 #include "media/base/media_switches.h" | 12 #include "media/base/media_switches.h" |
| 13 | 13 |
| 14 namespace media { | 14 namespace media { |
| 15 | 15 |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 switch (params.power_line_frequency) { | 175 switch (params.power_line_frequency) { |
| 176 case media::PowerLineFrequency::FREQUENCY_50HZ: // fall through | 176 case media::PowerLineFrequency::FREQUENCY_50HZ: // fall through |
| 177 case media::PowerLineFrequency::FREQUENCY_60HZ: | 177 case media::PowerLineFrequency::FREQUENCY_60HZ: |
| 178 return params.power_line_frequency; | 178 return params.power_line_frequency; |
| 179 default: | 179 default: |
| 180 return GetPowerLineFrequencyForLocation(); | 180 return GetPowerLineFrequencyForLocation(); |
| 181 } | 181 } |
| 182 } | 182 } |
| 183 | 183 |
| 184 } // namespace media | 184 } // namespace media |
| OLD | NEW |