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

Side by Side Diff: Source/modules/mediastream/NavigatorUserMediaError.h

Issue 540283003: bindings: Retires ScriptWrappable::init, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 6 years, 3 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 const String& message() const { return m_message; } 48 const String& message() const { return m_message; }
49 const String& constraintName() const { return m_constraintName; } 49 const String& constraintName() const { return m_constraintName; }
50 50
51 void trace(Visitor*) { } 51 void trace(Visitor*) { }
52 52
53 private: 53 private:
54 NavigatorUserMediaError(const String& name, const String& message, const Str ing& constraintName) 54 NavigatorUserMediaError(const String& name, const String& message, const Str ing& constraintName)
55 : m_name(name), m_message(message), m_constraintName(constraintName) 55 : m_name(name), m_message(message), m_constraintName(constraintName)
56 { 56 {
57 ASSERT(!name.isEmpty()); 57 ASSERT(!name.isEmpty());
58 ScriptWrappable::init(this);
59 } 58 }
60 59
61 String m_name; 60 String m_name;
62 String m_message; 61 String m_message;
63 String m_constraintName; 62 String m_constraintName;
64 }; 63 };
65 64
66 } // namespace blink 65 } // namespace blink
67 66
68 #endif // NavigatorUserMediaError_h 67 #endif // NavigatorUserMediaError_h
OLDNEW
« no previous file with comments | « Source/modules/mediastream/MediaStreamTrackEvent.cpp ('k') | Source/modules/mediastream/RTCDTMFSender.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698