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

Side by Side Diff: Source/platform/exported/WebMediaConstraints.cpp

Issue 631803002: Replacing the OVERRIDE with override and FINAL with final (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase issue 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 /* 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 19 matching lines...) Expand all
30 30
31 #include "config.h" 31 #include "config.h"
32 32
33 #include "public/platform/WebMediaConstraints.h" 33 #include "public/platform/WebMediaConstraints.h"
34 34
35 #include "wtf/PassRefPtr.h" 35 #include "wtf/PassRefPtr.h"
36 #include "wtf/RefCounted.h" 36 #include "wtf/RefCounted.h"
37 37
38 namespace blink { 38 namespace blink {
39 39
40 class WebMediaConstraintsPrivate FINAL : public RefCounted<WebMediaConstraintsPr ivate> { 40 class WebMediaConstraintsPrivate final : public RefCounted<WebMediaConstraintsPr ivate> {
41 public: 41 public:
42 static PassRefPtr<WebMediaConstraintsPrivate> create(); 42 static PassRefPtr<WebMediaConstraintsPrivate> create();
43 static PassRefPtr<WebMediaConstraintsPrivate> create(const WebVector<WebMedi aConstraint>& optional, const WebVector<WebMediaConstraint>& mandatory); 43 static PassRefPtr<WebMediaConstraintsPrivate> create(const WebVector<WebMedi aConstraint>& optional, const WebVector<WebMediaConstraint>& mandatory);
44 44
45 void getOptionalConstraints(WebVector<WebMediaConstraint>&); 45 void getOptionalConstraints(WebVector<WebMediaConstraint>&);
46 void getMandatoryConstraints(WebVector<WebMediaConstraint>&); 46 void getMandatoryConstraints(WebVector<WebMediaConstraint>&);
47 bool getMandatoryConstraintValue(const WebString& name, WebString& value); 47 bool getMandatoryConstraintValue(const WebString& name, WebString& value);
48 bool getOptionalConstraintValue(const WebString& name, WebString& value); 48 bool getOptionalConstraintValue(const WebString& name, WebString& value);
49 49
50 private: 50 private:
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 } 147 }
148 148
149 void WebMediaConstraints::initialize(const WebVector<WebMediaConstraint>& option al, const WebVector<WebMediaConstraint>& mandatory) 149 void WebMediaConstraints::initialize(const WebVector<WebMediaConstraint>& option al, const WebVector<WebMediaConstraint>& mandatory)
150 { 150 {
151 ASSERT(isNull()); 151 ASSERT(isNull());
152 m_private = WebMediaConstraintsPrivate::create(optional, mandatory); 152 m_private = WebMediaConstraintsPrivate::create(optional, mandatory);
153 } 153 }
154 154
155 } // namespace blink 155 } // namespace blink
156 156
OLDNEW
« no previous file with comments | « Source/platform/credentialmanager/PlatformLocalCredential.h ('k') | Source/platform/exported/WebMediaDeviceInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698