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

Side by Side Diff: Source/modules/mediastream/MediaStreamTrackSourcesRequestImpl.cpp

Issue 563703002: Oilpan: Enable oilpan for callback classes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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) 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 18 matching lines...) Expand all
29 #include "core/dom/CrossThreadTask.h" 29 #include "core/dom/CrossThreadTask.h"
30 #include "core/dom/ExecutionContext.h" 30 #include "core/dom/ExecutionContext.h"
31 #include "modules/mediastream/MediaStreamTrackSourcesCallback.h" 31 #include "modules/mediastream/MediaStreamTrackSourcesCallback.h"
32 #include "platform/weborigin/SecurityOrigin.h" 32 #include "platform/weborigin/SecurityOrigin.h"
33 #include "public/platform/WebSourceInfo.h" 33 #include "public/platform/WebSourceInfo.h"
34 #include "wtf/Functional.h" 34 #include "wtf/Functional.h"
35 #include "wtf/PassOwnPtr.h" 35 #include "wtf/PassOwnPtr.h"
36 36
37 namespace blink { 37 namespace blink {
38 38
39 MediaStreamTrackSourcesRequestImpl* MediaStreamTrackSourcesRequestImpl::create(E xecutionContext& context, PassOwnPtrWillBeRawPtr<MediaStreamTrackSourcesCallback > callback) 39 MediaStreamTrackSourcesRequestImpl* MediaStreamTrackSourcesRequestImpl::create(E xecutionContext& context, MediaStreamTrackSourcesCallback* callback)
40 { 40 {
41 return new MediaStreamTrackSourcesRequestImpl(context, callback); 41 return new MediaStreamTrackSourcesRequestImpl(context, callback);
42 } 42 }
43 43
44 MediaStreamTrackSourcesRequestImpl::MediaStreamTrackSourcesRequestImpl(Execution Context& context, PassOwnPtrWillBeRawPtr<MediaStreamTrackSourcesCallback> callba ck) 44 MediaStreamTrackSourcesRequestImpl::MediaStreamTrackSourcesRequestImpl(Execution Context& context, MediaStreamTrackSourcesCallback* callback)
45 : m_callback(callback) 45 : m_callback(callback)
46 , m_executionContext(&context) 46 , m_executionContext(&context)
47 { 47 {
48 } 48 }
49 49
50 MediaStreamTrackSourcesRequestImpl::~MediaStreamTrackSourcesRequestImpl() 50 MediaStreamTrackSourcesRequestImpl::~MediaStreamTrackSourcesRequestImpl()
51 { 51 {
52 } 52 }
53 53
54 String MediaStreamTrackSourcesRequestImpl::origin() 54 String MediaStreamTrackSourcesRequestImpl::origin()
(...skipping 18 matching lines...) Expand all
73 73
74 void MediaStreamTrackSourcesRequestImpl::trace(Visitor* visitor) 74 void MediaStreamTrackSourcesRequestImpl::trace(Visitor* visitor)
75 { 75 {
76 visitor->trace(m_callback); 76 visitor->trace(m_callback);
77 visitor->trace(m_executionContext); 77 visitor->trace(m_executionContext);
78 visitor->trace(m_sourceInfos); 78 visitor->trace(m_sourceInfos);
79 MediaStreamTrackSourcesRequest::trace(visitor); 79 MediaStreamTrackSourcesRequest::trace(visitor);
80 } 80 }
81 81
82 } // namespace blink 82 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/mediastream/MediaStreamTrackSourcesRequestImpl.h ('k') | Source/modules/mediastream/NavigatorMediaStream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698