Chromium Code Reviews| Index: blimp/engine/common/blimp_browser_context.h |
| diff --git a/blimp/engine/common/blimp_browser_context.h b/blimp/engine/common/blimp_browser_context.h |
| index 76f0c8b687fceb1fd02424d733d59a1ef6de533c..83f782268d10a772b618ae0c0d6dc23feecba85d 100644 |
| --- a/blimp/engine/common/blimp_browser_context.h |
| +++ b/blimp/engine/common/blimp_browser_context.h |
| @@ -8,6 +8,7 @@ |
| #include "base/files/file_path.h" |
| #include "base/macros.h" |
| #include "base/memory/scoped_ptr.h" |
| +#include "blimp/engine/app/blimp_system_url_request_context_getter.h" |
| #include "blimp/engine/app/blimp_url_request_context_getter.h" |
| #include "content/public/browser/browser_context.h" |
| #include "content/public/browser/content_browser_client.h" |
| @@ -57,12 +58,17 @@ class BlimpBrowserContext : public content::BrowserContext { |
| content::ProtocolHandlerMap* protocol_handlers, |
| content::URLRequestInterceptorScopedVector request_interceptors); |
| + // Provides a URLRequestContextGetter for system requests (e.g. metrics |
| + // uploads). |
| + net::URLRequestContextGetter* GetSystemRequestContext(); |
|
Kevin M
2016/04/08 01:09:08
GetSystemRequestContextGetter?
Jess
2016/04/08 19:39:02
Sounds good. I went with this naming because of t
|
| + |
| private: |
| // Performs initialization of the BlimpBrowserContext while IO is still |
| // allowed on the current thread. |
| void InitWhileIOAllowed(); |
| scoped_ptr<BlimpResourceContext> resource_context_; |
| + scoped_refptr<BlimpSystemURLRequestContextGetter> system_context_getter_; |
| bool ignore_certificate_errors_; |
| scoped_ptr<content::PermissionManager> permission_manager_; |
| bool off_the_record_; |