Searched refs:sink_ (Results 1 - 25 of 58) sorted by relevance

123

/external/chromium_org/mojo/public/cpp/bindings/lib/
H A Dfilter_chain.cc14 FilterChain::FilterChain(MessageReceiver* sink) : sink_(sink) {
17 FilterChain::FilterChain(RValue other) : sink_(other.object->sink_) {
18 other.object->sink_ = NULL;
23 std::swap(sink_, other.object->sink_);
37 MOJO_DCHECK(!sink_);
38 sink_ = sink;
44 MOJO_DCHECK(sink_);
45 return filters_.empty() ? sink_
[all...]
H A Dmessage_filter.cc9 MessageFilter::MessageFilter(MessageReceiver* sink) : sink_(sink) {
20 return sink_->Accept(message);
H A Dfilter_chain.h40 // message to pass, it will be forwarded to |sink_|.
48 MessageReceiver* sink_; member in class:mojo::internal::FilterChain
53 FilterType* filter = new FilterType(sink_);
H A Dmessage_header_validator.cc77 return sink_->Accept(message);
/external/chromium_org/content/renderer/media/webrtc/
H A Dwebrtc_audio_sink_adapter.cc13 : sink_(sink) {
22 return (other == sink_);
29 sink_->OnData(audio_data, 16, sample_rate, number_of_channels,
H A Dwebrtc_audio_sink_adapter.h38 webrtc::AudioTrackSinkInterface* const sink_; member in class:content::WebRtcAudioSinkAdapter::webrtc
/external/chromium_org/content/browser/renderer_host/pepper/
H A Dbrowser_ppapi_host_test.cc11 BrowserPpapiHostTest::BrowserPpapiHostTest() : sink_() {
13 new BrowserPpapiHostImpl(&sink_,
H A Dbrowser_ppapi_host_test.h24 ppapi::proxy::ResourceMessageTestSink& sink() { return sink_; }
28 ppapi::proxy::ResourceMessageTestSink sink_; member in class:content::BrowserPpapiHostTest
/external/chromium_org/components/autofill/content/renderer/
H A Drenderer_save_password_progress_logger_unittest.cc19 TestLogger() : RendererSavePasswordProgressLogger(&sink_, 0) {}
30 const IPC::Message* message = sink_.GetFirstMessageMatching(kMsgID);
36 sink_.ClearMessages();
41 IPC::TestSink sink_; member in class:autofill::__anon6298::TestLogger
/external/chromium_org/mojo/public/cpp/bindings/
H A Dmessage_filter.h15 // process messages and/or forward them to |sink_|.
23 void set_sink(MessageReceiver* sink) { sink_ = sink; }
26 MessageReceiver* sink_; member in class:mojo::MessageFilter
29 // A trivial filter that simply forwards every message it receives to |sink_|.
H A Dcallback.h34 explicit Callback(Runnable* runnable) : sink_(runnable) {}
39 Callback(const Sink& sink) : sink_(new Adapter<Sink>(sink)) {}
42 if (sink_.get())
43 sink_->Run();
47 return !sink_.get();
60 internal::SharedPtr<Runnable> sink_; member in class:mojo::Callback
75 explicit Callback(Runnable* runnable) : sink_(runnable) {}
80 Callback(const Sink& sink) : sink_(new Adapter<Sink>(sink)) {}
83 if (sink_.get())
84 sink_
103 internal::SharedPtr<Runnable> sink_; member in class:mojo::Callback
154 internal::SharedPtr<Runnable> sink_; member in class:mojo::Callback
210 internal::SharedPtr<Runnable> sink_; member in class:mojo::Callback
271 internal::SharedPtr<Runnable> sink_; member in class:mojo::Callback
337 internal::SharedPtr<Runnable> sink_; member in class:mojo::Callback
409 internal::SharedPtr<Runnable> sink_; member in class:mojo::Callback
486 internal::SharedPtr<Runnable> sink_; member in class:mojo::Callback
[all...]
/external/chromium_org/content/renderer/media/
H A Dmedia_stream_audio_track_sink.h47 WrapsMediaStreamSink(MediaStreamAudioSink* sink) : sink_(sink) {}
50 return owner->IsEqual(sink_);
52 MediaStreamAudioSink* sink_; member in struct:content::MediaStreamAudioTrackSink::WrapsMediaStreamSink
55 WrapsPeerConnectionSink(PeerConnectionAudioSink* sink) : sink_(sink) {}
58 return owner->IsEqual(sink_);
60 PeerConnectionAudioSink* sink_; member in struct:content::MediaStreamAudioTrackSink::WrapsPeerConnectionSink
H A Dwebrtc_local_audio_renderer.cc94 // Post a task on the main render thread to reconfigure the |sink_| with the
123 DCHECK(!sink_.get());
133 // ...and |sink_| will get audio data from us.
134 DCHECK(!sink_.get());
135 sink_ = AudioDeviceFactory::NewOutputDevice(source_render_view_id_,
154 // It is safer to call Stop() on the |sink_| to clean up the resources even
155 // when the |sink_| is never started.
156 if (sink_.get()) {
157 sink_->Stop();
158 sink_
[all...]
/external/chromium_org/media/blink/
H A Dwebaudiosourceprovider_impl.cc57 sink_(sink),
68 sink_->Stop();
86 sink_->SetVolume(volume_);
88 sink_->Start();
90 sink_->Play();
132 sink_->Start();
139 sink_->Stop();
147 sink_->Play();
155 sink_->Pause();
162 sink_
[all...]
/external/chromium_org/content/renderer/browser_plugin/
H A Dmock_browser_plugin_manager.h30 IPC::TestSink& sink() { return sink_; }
42 IPC::TestSink sink_; member in class:content::MockBrowserPluginManager
H A Dmock_browser_plugin_manager.cc57 sink_.OnMessageReceived(message);
/external/chromium_org/content/renderer/accessibility/
H A Drenderer_accessibility_browsertest.cc50 sink_ = &render_thread_->sink();
60 sink_->GetUniqueMessageMatching(AccessibilityHostMsg_Events::ID);
75 IPC::TestSink* sink_; member in class:content::RendererAccessibilityTest
128 sink_->ClearMessages();
153 sink_->ClearMessages();
165 sink_->ClearMessages();
177 sink_->ClearMessages();
190 sink_->ClearMessages();
203 sink_->ClearMessages();
217 sink_
[all...]
/external/chromium_org/third_party/libjingle/source/talk/session/media/
H A Dmediarecorder_unittest.cc55 sink_.reset(new RtpDumpSink(Open(path_.pathname())));
72 sink_->OnPacket(buf.Data(), buf.Length(), false);
77 sink_.reset(); // This will close the file. So we can read it.
85 rtc::scoped_ptr<RtpDumpSink> sink_; member in class:cricket::RtpDumpSinkTest
93 EXPECT_FALSE(sink_->IsEnabled());
94 sink_->set_packet_filter(PF_ALL);
98 EXPECT_TRUE(sink_->Enable(true));
99 EXPECT_TRUE(sink_->IsEnabled());
104 EXPECT_TRUE(sink_->Enable(false));
105 EXPECT_FALSE(sink_
[all...]
/external/chromium_org/components/nacl/loader/
H A Dnacl_ipc_adapter_unittest.cc28 sink_ = new IPC::TestSink;
30 // Takes ownership of the sink_ pointer. Note we provide the current message
33 adapter_ = new NaClIPCAdapter(scoped_ptr<IPC::Channel>(sink_),
37 sink_ = NULL; // This pointer is actually owned by the IPCAdapter.
69 IPC::TestSink* sink_; member in class:__anon6611::NaClIPCAdapterTest
134 ASSERT_EQ(1u, sink_->message_count());
135 const IPC::Message* msg = sink_->GetMessageAt(0);
143 sink_->ClearMessages();
150 ASSERT_EQ(0u, sink_->message_count());
157 ASSERT_EQ(0u, sink_
[all...]
/external/chromium_org/content/browser/renderer_host/
H A Drender_widget_host_view_aura_unittest.cc332 sink_ = &process_host_->sink();
349 sink_ = NULL;
388 IPC::TestSink* sink_; member in class:content::RenderWidgetHostViewAuraTest
423 sink_->ClearMessages();
586 size_t count = sink_->message_count();
587 sink_->ClearMessages();
592 if (!sink_->message_count())
597 sink_->GetMessageAt(sink_->message_count() - 1), &params)) {
781 sink_
[all...]
/external/chromium_org/v8/src/
H A Dsnapshot-source-sink.h101 explicit DebugSnapshotSink(SnapshotByteSink* chained) : sink_(chained) {}
103 virtual int Position() OVERRIDE { return sink_->Position(); }
106 SnapshotByteSink* sink_;
H A Dserialize.cc1184 sink_(sink),
1240 sink_->Put(kSkip, "Skip");
1241 sink_->PutInt(kPointerSize, "SkipOneWord");
1243 sink_->Put(kRawData + 1, "Smi");
1245 sink_->Put(reinterpret_cast<byte*>(current)[i], "Byte");
1332 sink_->Put(kBackref + how_to_code + where_to_point + space, "BackRefSer");
1334 sink_->Put(kBackrefWithSkip + how_to_code + where_to_point + space,
1336 sink_->PutInt(skip, "BackRefSkipDistance");
1338 sink_->PutInt(offset, "offset");
1362 sink_
[all...]
/external/chromium_org/content/browser/service_worker/
H A Dembedded_worker_test_helper.h62 IPC::TestSink* ipc_sink() { return &sink_; }
127 IPC::TestSink sink_; member in class:content::EmbeddedWorkerTestHelper
/external/chromium_org/content/renderer/pepper/
H A Dmock_renderer_ppapi_host.cc14 : sink_(),
15 ppapi_host_(&sink_, ppapi::PpapiPermissions()),
H A Dmock_renderer_ppapi_host.h28 ppapi::proxy::ResourceMessageTestSink& sink() { return sink_; }
65 ppapi::proxy::ResourceMessageTestSink sink_; member in class:content::MockRendererPpapiHost

Completed in 457 milliseconds

123