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

Side by Side Diff: Source/platform/mediastream/RTCSessionDescriptionRequest.h

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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) 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 21 matching lines...) Expand all
32 #define RTCSessionDescriptionRequest_h 32 #define RTCSessionDescriptionRequest_h
33 33
34 #include "wtf/PassOwnPtr.h" 34 #include "wtf/PassOwnPtr.h"
35 #include "wtf/RefCounted.h" 35 #include "wtf/RefCounted.h"
36 #include "wtf/text/WTFString.h" 36 #include "wtf/text/WTFString.h"
37 37
38 namespace blink { 38 namespace blink {
39 class WebRTCSessionDescription; 39 class WebRTCSessionDescription;
40 } 40 }
41 41
42 namespace WebCore { 42 namespace blink {
43 43
44 class RTCSessionDescriptionRequest : public RefCounted<RTCSessionDescriptionRequ est> { 44 class RTCSessionDescriptionRequest : public RefCounted<RTCSessionDescriptionRequ est> {
45 public: 45 public:
46 class ExtraData { 46 class ExtraData {
47 public: 47 public:
48 virtual ~ExtraData() { } 48 virtual ~ExtraData() { }
49 }; 49 };
50 50
51 virtual ~RTCSessionDescriptionRequest() { } 51 virtual ~RTCSessionDescriptionRequest() { }
52 52
53 virtual void requestSucceeded(const blink::WebRTCSessionDescription&) = 0; 53 virtual void requestSucceeded(const blink::WebRTCSessionDescription&) = 0;
54 virtual void requestFailed(const String& error) = 0; 54 virtual void requestFailed(const String& error) = 0;
55 55
56 ExtraData* extraData() const { return m_extraData.get(); } 56 ExtraData* extraData() const { return m_extraData.get(); }
57 void setExtraData(PassOwnPtr<ExtraData> extraData) { m_extraData = extraData ; } 57 void setExtraData(PassOwnPtr<ExtraData> extraData) { m_extraData = extraData ; }
58 58
59 protected: 59 protected:
60 RTCSessionDescriptionRequest() { } 60 RTCSessionDescriptionRequest() { }
61 61
62 private: 62 private:
63 OwnPtr<ExtraData> m_extraData; 63 OwnPtr<ExtraData> m_extraData;
64 }; 64 };
65 65
66 } // namespace WebCore 66 } // namespace blink
67 67
68 #endif // RTCSessionDescriptionRequest_h 68 #endif // RTCSessionDescriptionRequest_h
OLDNEW
« no previous file with comments | « Source/platform/mediastream/RTCOfferOptions.h ('k') | Source/platform/mediastream/RTCStatsRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698