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

Side by Side Diff: content/shell/browser/shell_url_request_context_getter.h

Issue 631203003: Fix bug: AppShell: CHECK failure in PeerConnection init. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase again. Created 6 years, 2 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_SHELL_BROWSER_SHELL_URL_REQUEST_CONTEXT_GETTER_H_ 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_URL_REQUEST_CONTEXT_GETTER_H_
6 #define CONTENT_SHELL_BROWSER_SHELL_URL_REQUEST_CONTEXT_GETTER_H_ 6 #define CONTENT_SHELL_BROWSER_SHELL_URL_REQUEST_CONTEXT_GETTER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 26 matching lines...) Expand all
37 base::MessageLoop* file_loop, 37 base::MessageLoop* file_loop,
38 ProtocolHandlerMap* protocol_handlers, 38 ProtocolHandlerMap* protocol_handlers,
39 URLRequestInterceptorScopedVector request_interceptors, 39 URLRequestInterceptorScopedVector request_interceptors,
40 net::NetLog* net_log); 40 net::NetLog* net_log);
41 41
42 // net::URLRequestContextGetter implementation. 42 // net::URLRequestContextGetter implementation.
43 virtual net::URLRequestContext* GetURLRequestContext() override; 43 virtual net::URLRequestContext* GetURLRequestContext() override;
44 virtual scoped_refptr<base::SingleThreadTaskRunner> 44 virtual scoped_refptr<base::SingleThreadTaskRunner>
45 GetNetworkTaskRunner() const override; 45 GetNetworkTaskRunner() const override;
46 46
47 // Used by subclasses to create their own implementation of NetworkDelegate.
48 virtual net::NetworkDelegate* CreateNetworkDelegate();
49
47 net::HostResolver* host_resolver(); 50 net::HostResolver* host_resolver();
48 51
49 protected: 52 protected:
50 virtual ~ShellURLRequestContextGetter(); 53 virtual ~ShellURLRequestContextGetter();
51 54
52 private: 55 private:
53 bool ignore_certificate_errors_; 56 bool ignore_certificate_errors_;
54 base::FilePath base_path_; 57 base::FilePath base_path_;
55 base::MessageLoop* io_loop_; 58 base::MessageLoop* io_loop_;
56 base::MessageLoop* file_loop_; 59 base::MessageLoop* file_loop_;
57 net::NetLog* net_log_; 60 net::NetLog* net_log_;
58 61
59 scoped_ptr<net::ProxyConfigService> proxy_config_service_; 62 scoped_ptr<net::ProxyConfigService> proxy_config_service_;
60 scoped_ptr<net::NetworkDelegate> network_delegate_; 63 scoped_ptr<net::NetworkDelegate> network_delegate_;
61 scoped_ptr<net::URLRequestContextStorage> storage_; 64 scoped_ptr<net::URLRequestContextStorage> storage_;
62 scoped_ptr<net::URLRequestContext> url_request_context_; 65 scoped_ptr<net::URLRequestContext> url_request_context_;
63 ProtocolHandlerMap protocol_handlers_; 66 ProtocolHandlerMap protocol_handlers_;
64 URLRequestInterceptorScopedVector request_interceptors_; 67 URLRequestInterceptorScopedVector request_interceptors_;
65 68
66 DISALLOW_COPY_AND_ASSIGN(ShellURLRequestContextGetter); 69 DISALLOW_COPY_AND_ASSIGN(ShellURLRequestContextGetter);
67 }; 70 };
68 71
69 } // namespace content 72 } // namespace content
70 73
71 #endif // CONTENT_SHELL_BROWSER_SHELL_URL_REQUEST_CONTEXT_GETTER_H_ 74 #endif // CONTENT_SHELL_BROWSER_SHELL_URL_REQUEST_CONTEXT_GETTER_H_
OLDNEW
« no previous file with comments | « content/shell/browser/shell_browser_context.cc ('k') | content/shell/browser/shell_url_request_context_getter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698