Home
last modified time | relevance | path

Searched refs:StreamContext (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/content/browser/streams/
Dstream_context.cc20 StreamContext::StreamContext() {} in StreamContext() function in content::StreamContext
22 StreamContext* StreamContext::GetFor(BrowserContext* context) { in GetFor()
24 scoped_refptr<StreamContext> stream = new StreamContext(); in GetFor()
26 new UserDataAdapter<StreamContext>(stream.get())); in GetFor()
31 base::Bind(&StreamContext::InitializeOnIOThread, stream)); in GetFor()
35 return UserDataAdapter<StreamContext>::Get(context, kStreamContextKeyName); in GetFor()
38 void StreamContext::InitializeOnIOThread() { in InitializeOnIOThread()
43 StreamContext::~StreamContext() {} in ~StreamContext()
45 void StreamContext::DeleteOnCorrectThread() const { in DeleteOnCorrectThread()
Dstream_context.h25 class StreamContext
26 : public base::RefCountedThreadSafe<StreamContext,
29 StreamContext();
31 CONTENT_EXPORT static StreamContext* GetFor(BrowserContext* browser_context);
38 virtual ~StreamContext();
41 friend class base::DeleteHelper<StreamContext>;
42 friend class base::RefCountedThreadSafe<StreamContext,
52 static void Destruct(const StreamContext* context) { in Destruct()
/external/chromium_org/content/browser/
Dresource_context_impl.cc88 StreamContext* GetStreamContextForResourceContext( in GetStreamContextForResourceContext()
91 return UserDataAdapter<StreamContext>::Get( in GetStreamContextForResourceContext()
126 new UserDataAdapter<StreamContext>( in InitializeResourceContext()
127 StreamContext::GetFor(browser_context))); in InitializeResourceContext()
Dresource_context_impl.h13 class StreamContext; variable
25 StreamContext* GetStreamContextForResourceContext(
Dstorage_partition_impl_map.cc54 StreamContext* stream_context, in BlobProtocolHandler()
86 const scoped_refptr<StreamContext> stream_context_;
398 StreamContext* stream_context = StreamContext::GetFor(browser_context_); in Get()
/external/chromium_org/content/browser/fileapi/
Dfileapi_message_filter_unittest.cc64 stream_context_ = StreamContext::GetFor(&browser_context_); in SetUp()
83 StreamContext* stream_context_;
96 StreamContext::GetFor(&browser_context_))); in TEST_F()
121 StreamContext::GetFor(&browser_context_))); in TEST_F()
128 StreamContext::GetFor(&browser_context_))); in TEST_F()
Dfileapi_message_filter.h67 StreamContext* stream_context);
73 StreamContext* stream_context);
225 scoped_refptr<StreamContext> stream_context_;
Dfileapi_message_filter.cc71 StreamContext* stream_context) in FileAPIMessageFilter()
92 StreamContext* stream_context) in FileAPIMessageFilter()
/external/chromium_org/content/browser/renderer_host/
Drender_process_host_impl.cc796 StreamContext::GetFor(browser_context))); in CreateMessageFilters()
/external/chromium_org/content/browser/loader/
Dresource_dispatcher_host_impl.cc711 StreamContext* stream_context = in MaybeInterceptAsStream()