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

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

Issue 499213002: Cleanup redundant namespace usage in Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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 19 matching lines...) Expand all
30 30
31 #ifndef RTCSessionDescriptionRequest_h 31 #ifndef RTCSessionDescriptionRequest_h
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 }
41
42 namespace blink {
43 40
44 class RTCSessionDescriptionRequest : public RefCounted<RTCSessionDescriptionRequ est> { 41 class RTCSessionDescriptionRequest : public RefCounted<RTCSessionDescriptionRequ est> {
45 public: 42 public:
46 class ExtraData { 43 class ExtraData {
47 public: 44 public:
48 virtual ~ExtraData() { } 45 virtual ~ExtraData() { }
49 }; 46 };
50 47
51 virtual ~RTCSessionDescriptionRequest() { } 48 virtual ~RTCSessionDescriptionRequest() { }
52 49
53 virtual void requestSucceeded(const blink::WebRTCSessionDescription&) = 0; 50 virtual void requestSucceeded(const WebRTCSessionDescription&) = 0;
54 virtual void requestFailed(const String& error) = 0; 51 virtual void requestFailed(const String& error) = 0;
55 52
56 ExtraData* extraData() const { return m_extraData.get(); } 53 ExtraData* extraData() const { return m_extraData.get(); }
57 void setExtraData(PassOwnPtr<ExtraData> extraData) { m_extraData = extraData ; } 54 void setExtraData(PassOwnPtr<ExtraData> extraData) { m_extraData = extraData ; }
58 55
59 protected: 56 protected:
60 RTCSessionDescriptionRequest() { } 57 RTCSessionDescriptionRequest() { }
61 58
62 private: 59 private:
63 OwnPtr<ExtraData> m_extraData; 60 OwnPtr<ExtraData> m_extraData;
64 }; 61 };
65 62
66 } // namespace blink 63 } // namespace blink
67 64
68 #endif // RTCSessionDescriptionRequest_h 65 #endif // RTCSessionDescriptionRequest_h
OLDNEW
« no previous file with comments | « Source/platform/mediastream/MediaStreamWebAudioSource.h ('k') | Source/platform/network/SocketStreamHandleInternal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698