Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / platform / mediastream / RTCStatsResponseBase.h
index 7f492ba..0bd2545 100644 (file)
 #ifndef RTCStatsResponseBase_h
 #define RTCStatsResponseBase_h
 
-#include "wtf/PassRefPtr.h"
-#include "wtf/RefCounted.h"
-#include "wtf/text/WTFString.h"
+#include "wtf/Forward.h"
 
-namespace WebCore {
+namespace blink {
 
-class RTCStatsResponseBase : public RefCountedWillBeGarbageCollectedFinalized<RTCStatsResponseBase> {
+class RTCStatsResponseBase : public GarbageCollectedFinalized<RTCStatsResponseBase> {
 public:
     virtual ~RTCStatsResponseBase() { }
 
-    virtual size_t addReport(String id, String type, double timestamp) = 0;
-    virtual void addStatistic(size_t report, String name, String value) = 0;
+    virtual size_t addReport(const String& id, const String& type, double timestamp) = 0;
+    virtual void addStatistic(size_t report, const String& name, const String& value) = 0;
 
     virtual void trace(Visitor*) { }
 };
 
-} // namespace WebCore
+} // namespace blink
 
 #endif // RTCStatsResponseBase_h