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

Side by Side Diff: public/platform/WebRTCVoidRequest.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
« no previous file with comments | « public/platform/WebRTCStatsResponse.h ('k') | public/platform/WebRect.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 WebRTCVoidRequest_h 31 #ifndef WebRTCVoidRequest_h
32 #define WebRTCVoidRequest_h 32 #define WebRTCVoidRequest_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 RTCVoidRequest; 41 class RTCVoidRequest;
41 }
42
43 namespace blink {
44 42
45 class WebRTCVoidRequest { 43 class WebRTCVoidRequest {
46 public: 44 public:
47 class ExtraData { 45 class ExtraData {
48 public: 46 public:
49 virtual ~ExtraData() { } 47 virtual ~ExtraData() { }
50 }; 48 };
51 49
52 WebRTCVoidRequest() { } 50 WebRTCVoidRequest() { }
53 WebRTCVoidRequest(const WebRTCVoidRequest& other) { assign(other); } 51 WebRTCVoidRequest(const WebRTCVoidRequest& other) { assign(other); }
(...skipping 14 matching lines...) Expand all
68 BLINK_PLATFORM_EXPORT void requestFailed(const WebString& error) const; 66 BLINK_PLATFORM_EXPORT void requestFailed(const WebString& error) const;
69 67
70 // Extra data associated with this object. 68 // Extra data associated with this object.
71 // If non-null, the extra data pointer will be deleted when the object is de stroyed. 69 // If non-null, the extra data pointer will be deleted when the object is de stroyed.
72 // Setting the extra data pointer will cause any existing non-null 70 // Setting the extra data pointer will cause any existing non-null
73 // extra data pointer to be deleted. 71 // extra data pointer to be deleted.
74 BLINK_PLATFORM_EXPORT ExtraData* extraData() const; 72 BLINK_PLATFORM_EXPORT ExtraData* extraData() const;
75 BLINK_PLATFORM_EXPORT void setExtraData(ExtraData*); 73 BLINK_PLATFORM_EXPORT void setExtraData(ExtraData*);
76 74
77 #if INSIDE_BLINK 75 #if INSIDE_BLINK
78 BLINK_PLATFORM_EXPORT WebRTCVoidRequest(const WTF::PassRefPtr<blink::RTCVoid Request>&); 76 BLINK_PLATFORM_EXPORT WebRTCVoidRequest(const WTF::PassRefPtr<RTCVoidRequest >&);
79 #endif 77 #endif
80 78
81 private: 79 private:
82 WebPrivatePtr<blink::RTCVoidRequest> m_private; 80 WebPrivatePtr<RTCVoidRequest> m_private;
83 }; 81 };
84 82
85 } // namespace blink 83 } // namespace blink
86 84
87 #endif // WebRTCVoidRequest_h 85 #endif // WebRTCVoidRequest_h
OLDNEW
« no previous file with comments | « public/platform/WebRTCStatsResponse.h ('k') | public/platform/WebRect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698