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

Side by Side Diff: content/renderer/media/mock_constraint_factory.cc

Issue 1729683002: Remove old-style constraints from Chrome internals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Complete the interface change Created 4 years, 9 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 <stddef.h> 5 #include <stddef.h>
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "base/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "content/renderer/media/media_stream_audio_processor_options.h" 10 #include "content/renderer/media/media_stream_audio_processor_options.h"
(...skipping 24 matching lines...) Expand all
35 basic_.googAutoGainControl.setExact(false); 35 basic_.googAutoGainControl.setExact(false);
36 basic_.googExperimentalAutoGainControl.setExact(false); 36 basic_.googExperimentalAutoGainControl.setExact(false);
37 basic_.googNoiseSuppression.setExact(false); 37 basic_.googNoiseSuppression.setExact(false);
38 basic_.googNoiseSuppression.setExact(false); 38 basic_.googNoiseSuppression.setExact(false);
39 basic_.googHighpassFilter.setExact(false); 39 basic_.googHighpassFilter.setExact(false);
40 basic_.googTypingNoiseDetection.setExact(false); 40 basic_.googTypingNoiseDetection.setExact(false);
41 basic_.googExperimentalNoiseSuppression.setExact(false); 41 basic_.googExperimentalNoiseSuppression.setExact(false);
42 basic_.googBeamforming.setExact(false); 42 basic_.googBeamforming.setExact(false);
43 } 43 }
44 44
45 void MockConstraintFactory::Reset() {
46 basic_ = blink::WebMediaTrackConstraintSet();
47 advanced_.clear();
48 }
49
45 } // namespace content 50 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/mock_constraint_factory.h ('k') | content/renderer/media/mock_media_constraint_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698