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

Side by Side Diff: public/platform/WebRTCSessionDescriptionRequest.h

Issue 462843003: Cleanup namespace usage in public/platform/{Web[P-W]*,linux/*}.h (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 | 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 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 #ifndef WebRTCSessionDescriptionRequest_h 31 #ifndef WebRTCSessionDescriptionRequest_h
32 #define WebRTCSessionDescriptionRequest_h 32 #define WebRTCSessionDescriptionRequest_h
33 33
34 #include "WebCommon.h" 34 #include "WebCommon.h"
35 #include "WebNonCopyable.h" 35 #include "WebNonCopyable.h"
36 #include "WebPrivatePtr.h" 36 #include "WebPrivatePtr.h"
37 #include "WebString.h" 37 #include "WebString.h"
38 38
39 namespace blink { 39 namespace blink {
40
40 class RTCSessionDescriptionRequest; 41 class RTCSessionDescriptionRequest;
41 }
42
43 namespace blink {
44 class WebRTCSessionDescription; 42 class WebRTCSessionDescription;
45 43
46 class WebRTCSessionDescriptionRequest { 44 class WebRTCSessionDescriptionRequest {
47 public: 45 public:
48 class ExtraData { 46 class ExtraData {
49 public: 47 public:
50 virtual ~ExtraData() { } 48 virtual ~ExtraData() { }
51 }; 49 };
52 50
53 WebRTCSessionDescriptionRequest() { } 51 WebRTCSessionDescriptionRequest() { }
(...skipping 15 matching lines...) Expand all
69 BLINK_PLATFORM_EXPORT void requestFailed(const WebString& error) const; 67 BLINK_PLATFORM_EXPORT void requestFailed(const WebString& error) const;
70 68
71 // Extra data associated with this object. 69 // Extra data associated with this object.
72 // If non-null, the extra data pointer will be deleted when the object is de stroyed. 70 // If non-null, the extra data pointer will be deleted when the object is de stroyed.
73 // Setting the extra data pointer will cause any existing non-null 71 // Setting the extra data pointer will cause any existing non-null
74 // extra data pointer to be deleted. 72 // extra data pointer to be deleted.
75 BLINK_PLATFORM_EXPORT ExtraData* extraData() const; 73 BLINK_PLATFORM_EXPORT ExtraData* extraData() const;
76 BLINK_PLATFORM_EXPORT void setExtraData(ExtraData*); 74 BLINK_PLATFORM_EXPORT void setExtraData(ExtraData*);
77 75
78 #if INSIDE_BLINK 76 #if INSIDE_BLINK
79 BLINK_PLATFORM_EXPORT WebRTCSessionDescriptionRequest(const WTF::PassRefPtr< blink::RTCSessionDescriptionRequest>&); 77 BLINK_PLATFORM_EXPORT WebRTCSessionDescriptionRequest(const WTF::PassRefPtr< RTCSessionDescriptionRequest>&);
80 #endif 78 #endif
81 79
82 private: 80 private:
83 WebPrivatePtr<blink::RTCSessionDescriptionRequest> m_private; 81 WebPrivatePtr<RTCSessionDescriptionRequest> m_private;
84 }; 82 };
85 83
86 } // namespace blink 84 } // namespace blink
87 85
88 #endif // WebRTCSessionDescriptionRequest_h 86 #endif // WebRTCSessionDescriptionRequest_h
OLDNEW
« no previous file with comments | « public/platform/WebRTCPeerConnectionHandlerClient.h ('k') | public/platform/WebRTCStatsRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698