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

Side by Side Diff: third_party/WebKit/Source/modules/mediastream/MediaConstraintsImpl.cpp

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 years, 8 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 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 20 matching lines...) Expand all
31 #include "modules/mediastream/MediaConstraintsImpl.h" 31 #include "modules/mediastream/MediaConstraintsImpl.h"
32 32
33 #include "bindings/core/v8/ArrayValue.h" 33 #include "bindings/core/v8/ArrayValue.h"
34 #include "bindings/core/v8/Dictionary.h" 34 #include "bindings/core/v8/Dictionary.h"
35 #include "bindings/core/v8/ExceptionState.h" 35 #include "bindings/core/v8/ExceptionState.h"
36 #include "core/dom/ExecutionContext.h" 36 #include "core/dom/ExecutionContext.h"
37 #include "core/frame/UseCounter.h" 37 #include "core/frame/UseCounter.h"
38 #include "core/inspector/ConsoleMessage.h" 38 #include "core/inspector/ConsoleMessage.h"
39 #include "modules/mediastream/MediaTrackConstraints.h" 39 #include "modules/mediastream/MediaTrackConstraints.h"
40 #include "platform/RuntimeEnabledFeatures.h" 40 #include "platform/RuntimeEnabledFeatures.h"
41 #include "wtf/Assertions.h" 41 #include "platform/wtf/Assertions.h"
42 #include "wtf/HashMap.h" 42 #include "platform/wtf/HashMap.h"
43 #include "wtf/Vector.h" 43 #include "platform/wtf/Vector.h"
44 #include "wtf/text/StringHash.h" 44 #include "platform/wtf/text/StringHash.h"
45 45
46 namespace blink { 46 namespace blink {
47 47
48 namespace MediaConstraintsImpl { 48 namespace MediaConstraintsImpl {
49 49
50 // A naked value is treated as an "ideal" value in the basic constraints, 50 // A naked value is treated as an "ideal" value in the basic constraints,
51 // but as an exact value in "advanced" constraints. 51 // but as an exact value in "advanced" constraints.
52 // https://w3c.github.io/mediacapture-main/#constrainable-interface 52 // https://w3c.github.io/mediacapture-main/#constrainable-interface
53 enum class NakedValueDisposition { kTreatAsIdeal, kTreatAsExact }; 53 enum class NakedValueDisposition { kTreatAsIdeal, kTreatAsExact };
54 54
(...skipping 894 matching lines...) Expand 10 before | Expand all | Expand 10 after
949 MediaTrackConstraintSet element; 949 MediaTrackConstraintSet element;
950 ConvertConstraintSet(it, NakedValueDisposition::kTreatAsExact, element); 950 ConvertConstraintSet(it, NakedValueDisposition::kTreatAsExact, element);
951 advanced_vector.push_back(element); 951 advanced_vector.push_back(element);
952 } 952 }
953 if (!advanced_vector.IsEmpty()) 953 if (!advanced_vector.IsEmpty())
954 output.setAdvanced(advanced_vector); 954 output.setAdvanced(advanced_vector);
955 } 955 }
956 956
957 } // namespace MediaConstraintsImpl 957 } // namespace MediaConstraintsImpl
958 } // namespace blink 958 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698