Home
last modified time | relevance | path

Searched refs:HttpBridge (Results 1 – 3 of 3) sorted by relevance

/external/chromium/chrome/browser/sync/glue/
Dhttp_bridge.cc25 HttpBridge::RequestContextGetter::RequestContextGetter( in RequestContextGetter()
31 HttpBridge::RequestContextGetter::GetURLRequestContext() { in GetURLRequestContext()
48 HttpBridge::RequestContextGetter::GetIOMessageLoopProxy() const { in GetIOMessageLoopProxy()
56 new HttpBridge::RequestContextGetter(baseline_context_getter); in HttpBridgeFactory()
63 HttpBridge* http = new HttpBridge(request_context_getter_); in Create()
69 static_cast<HttpBridge*>(http)->Release(); in Destroy()
72 HttpBridge::RequestContext::RequestContext( in RequestContext()
110 HttpBridge::RequestContext::~RequestContext() { in ~RequestContext()
115 HttpBridge::URLFetchState::URLFetchState() : url_poster(NULL), in URLFetchState()
121 HttpBridge::URLFetchState::~URLFetchState() {} in ~URLFetchState()
[all …]
Dhttp_bridge_unittest.cc15 using browser_sync::HttpBridge;
43 HttpBridge* BuildBridge() { in BuildBridge()
48 HttpBridge* bridge = new HttpBridge( in BuildBridge()
49 new HttpBridge::RequestContextGetter( in BuildBridge()
54 static void Abort(HttpBridge* bridge) { in Abort()
60 scoped_refptr<HttpBridge> http_bridge(test->BuildBridge()); in TestSameHttpNetworkSession()
102 class ShuntedHttpBridge : public HttpBridge {
108 : HttpBridge(new HttpBridge::RequestContextGetter( in ShuntedHttpBridge()
154 scoped_refptr<HttpBridge> http_bridge(new ShuntedHttpBridge( in TEST_F()
177 scoped_refptr<HttpBridge> http_bridge(BuildBridge()); in TEST_F()
[all …]
Dhttp_bridge.h36 class HttpBridge : public base::RefCountedThreadSafe<HttpBridge>,
99 explicit HttpBridge(RequestContextGetter* context);
134 friend class base::RefCountedThreadSafe<HttpBridge>;
136 virtual ~HttpBridge();
202 DISALLOW_COPY_AND_ASSIGN(HttpBridge);
218 HttpBridge::RequestContextGetter* GetRequestContextGetter();
220 scoped_refptr<HttpBridge::RequestContextGetter> request_context_getter_;