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

Side by Side Diff: third_party/WebKit/public/platform/WebMediaConstraints.h

Issue 1494543002: Add counters for nonstandard uses of RTCPeerConnection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update histograms.xml Created 5 years 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 { 66 {
67 assign(other); 67 assign(other);
68 return *this; 68 return *this;
69 } 69 }
70 70
71 BLINK_PLATFORM_EXPORT void assign(const WebMediaConstraints&); 71 BLINK_PLATFORM_EXPORT void assign(const WebMediaConstraints&);
72 72
73 BLINK_PLATFORM_EXPORT void reset(); 73 BLINK_PLATFORM_EXPORT void reset();
74 bool isNull() const { return m_private.isNull(); } 74 bool isNull() const { return m_private.isNull(); }
75 75
76 BLINK_PLATFORM_EXPORT bool isEmpty() const;
76 BLINK_PLATFORM_EXPORT void getOptionalConstraints(WebVector<WebMediaConstrai nt>&) const; 77 BLINK_PLATFORM_EXPORT void getOptionalConstraints(WebVector<WebMediaConstrai nt>&) const;
77 BLINK_PLATFORM_EXPORT void getMandatoryConstraints(WebVector<WebMediaConstra int>&) const; 78 BLINK_PLATFORM_EXPORT void getMandatoryConstraints(WebVector<WebMediaConstra int>&) const;
78 79
79 BLINK_PLATFORM_EXPORT bool getOptionalConstraintValue(const WebString& name, WebString& value) const; 80 BLINK_PLATFORM_EXPORT bool getOptionalConstraintValue(const WebString& name, WebString& value) const;
80 BLINK_PLATFORM_EXPORT bool getMandatoryConstraintValue(const WebString& name , WebString& value) const; 81 BLINK_PLATFORM_EXPORT bool getMandatoryConstraintValue(const WebString& name , WebString& value) const;
81 82
82 BLINK_PLATFORM_EXPORT void initialize(); 83 BLINK_PLATFORM_EXPORT void initialize();
83 BLINK_PLATFORM_EXPORT void initialize(const WebVector<WebMediaConstraint>& o ptional, const WebVector<WebMediaConstraint>& mandatory); 84 BLINK_PLATFORM_EXPORT void initialize(const WebVector<WebMediaConstraint>& o ptional, const WebVector<WebMediaConstraint>& mandatory);
84 85
85 private: 86 private:
86 WebPrivatePtr<WebMediaConstraintsPrivate> m_private; 87 WebPrivatePtr<WebMediaConstraintsPrivate> m_private;
87 }; 88 };
88 89
89 } // namespace blink 90 } // namespace blink
90 91
91 #endif // WebMediaConstraints_h 92 #endif // WebMediaConstraints_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698