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

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

Issue 457353002: Cleanup namespace usage in public/platform/Web[A-M]*.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/WebMediaStreamTrack.h ('k') | public/platform/WebMimeRegistry.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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 15 matching lines...) Expand all
26 #ifndef WebMediaStreamTrackSourcesRequest_h 26 #ifndef WebMediaStreamTrackSourcesRequest_h
27 #define WebMediaStreamTrackSourcesRequest_h 27 #define WebMediaStreamTrackSourcesRequest_h
28 28
29 #include "WebCommon.h" 29 #include "WebCommon.h"
30 #include "WebNonCopyable.h" 30 #include "WebNonCopyable.h"
31 #include "WebPrivatePtr.h" 31 #include "WebPrivatePtr.h"
32 #include "WebString.h" 32 #include "WebString.h"
33 #include "WebVector.h" 33 #include "WebVector.h"
34 34
35 namespace blink { 35 namespace blink {
36
36 class MediaStreamTrackSourcesRequest; 37 class MediaStreamTrackSourcesRequest;
37 }
38
39 namespace blink {
40 class WebSourceInfo; 38 class WebSourceInfo;
41 39
42 class WebMediaStreamTrackSourcesRequest { 40 class WebMediaStreamTrackSourcesRequest {
43 public: 41 public:
44 class ExtraData { 42 class ExtraData {
45 public: 43 public:
46 virtual ~ExtraData() { } 44 virtual ~ExtraData() { }
47 }; 45 };
48 46
49 WebMediaStreamTrackSourcesRequest() { } 47 WebMediaStreamTrackSourcesRequest() { }
(...skipping 15 matching lines...) Expand all
65 BLINK_PLATFORM_EXPORT void requestSucceeded(const WebVector<WebSourceInfo>&) const; 63 BLINK_PLATFORM_EXPORT void requestSucceeded(const WebVector<WebSourceInfo>&) const;
66 64
67 // Extra data associated with this object. 65 // Extra data associated with this object.
68 // If non-null, the extra data pointer will be deleted when the object is de stroyed. 66 // If non-null, the extra data pointer will be deleted when the object is de stroyed.
69 // Setting the extra data pointer will cause any existing non-null 67 // Setting the extra data pointer will cause any existing non-null
70 // extra data pointer to be deleted. 68 // extra data pointer to be deleted.
71 BLINK_PLATFORM_EXPORT ExtraData* extraData() const; 69 BLINK_PLATFORM_EXPORT ExtraData* extraData() const;
72 BLINK_PLATFORM_EXPORT void setExtraData(ExtraData*); 70 BLINK_PLATFORM_EXPORT void setExtraData(ExtraData*);
73 71
74 #if INSIDE_BLINK 72 #if INSIDE_BLINK
75 BLINK_PLATFORM_EXPORT WebMediaStreamTrackSourcesRequest(blink::MediaStreamTr ackSourcesRequest*); 73 BLINK_PLATFORM_EXPORT WebMediaStreamTrackSourcesRequest(MediaStreamTrackSour cesRequest*);
76 #endif 74 #endif
77 75
78 private: 76 private:
79 WebPrivatePtr<blink::MediaStreamTrackSourcesRequest> m_private; 77 WebPrivatePtr<MediaStreamTrackSourcesRequest> m_private;
80 }; 78 };
81 79
82 } // namespace blink 80 } // namespace blink
83 81
84 #endif // WebMediaStreamTrackSourcesRequest_h 82 #endif // WebMediaStreamTrackSourcesRequest_h
OLDNEW
« no previous file with comments | « public/platform/WebMediaStreamTrack.h ('k') | public/platform/WebMimeRegistry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698