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

Side by Side Diff: blimp/engine/app/blimp_url_request_context_getter.h

Issue 1864163003: Add new system url request context getter to the blimp engine. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment updates and syncing ptr migration. Includes rebase. Created 4 years, 8 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 BLIMP_ENGINE_APP_BLIMP_URL_REQUEST_CONTEXT_GETTER_H_ 5 #ifndef BLIMP_ENGINE_APP_BLIMP_URL_REQUEST_CONTEXT_GETTER_H_
6 #define BLIMP_ENGINE_APP_BLIMP_URL_REQUEST_CONTEXT_GETTER_H_ 6 #define BLIMP_ENGINE_APP_BLIMP_URL_REQUEST_CONTEXT_GETTER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 11 matching lines...) Expand all
22 class HostResolver; 22 class HostResolver;
23 class NetworkDelegate; 23 class NetworkDelegate;
24 class NetLog; 24 class NetLog;
25 class ProxyConfigService; 25 class ProxyConfigService;
26 class ProxyService; 26 class ProxyService;
27 } 27 }
28 28
29 namespace blimp { 29 namespace blimp {
30 namespace engine { 30 namespace engine {
31 31
32 // The URLRequestContextGetter for Blimp "user" requests.
33 // System request context is handled in a separate class.
32 class BlimpURLRequestContextGetter : public net::URLRequestContextGetter { 34 class BlimpURLRequestContextGetter : public net::URLRequestContextGetter {
33 public: 35 public:
34 // The content of |protocol_handlers| is is swapped into the new instance. 36 // The content of |protocol_handlers| is is swapped into the new instance.
35 BlimpURLRequestContextGetter( 37 BlimpURLRequestContextGetter(
36 bool ignore_certificate_errors, 38 bool ignore_certificate_errors,
37 const base::FilePath& base_path, 39 const base::FilePath& base_path,
38 const scoped_refptr<base::SingleThreadTaskRunner>& io_loop_task_runner, 40 const scoped_refptr<base::SingleThreadTaskRunner>& io_loop_task_runner,
39 const scoped_refptr<base::SingleThreadTaskRunner>& file_loop_task_runner, 41 const scoped_refptr<base::SingleThreadTaskRunner>& file_loop_task_runner,
40 content::ProtocolHandlerMap* protocol_handlers, 42 content::ProtocolHandlerMap* protocol_handlers,
41 content::URLRequestInterceptorScopedVector request_interceptors, 43 content::URLRequestInterceptorScopedVector request_interceptors,
(...skipping 20 matching lines...) Expand all
62 content::ProtocolHandlerMap protocol_handlers_; 64 content::ProtocolHandlerMap protocol_handlers_;
63 content::URLRequestInterceptorScopedVector request_interceptors_; 65 content::URLRequestInterceptorScopedVector request_interceptors_;
64 66
65 DISALLOW_COPY_AND_ASSIGN(BlimpURLRequestContextGetter); 67 DISALLOW_COPY_AND_ASSIGN(BlimpURLRequestContextGetter);
66 }; 68 };
67 69
68 } // namespace engine 70 } // namespace engine
69 } // namespace blimp 71 } // namespace blimp
70 72
71 #endif // BLIMP_ENGINE_APP_BLIMP_URL_REQUEST_CONTEXT_GETTER_H_ 73 #endif // BLIMP_ENGINE_APP_BLIMP_URL_REQUEST_CONTEXT_GETTER_H_
OLDNEW
« no previous file with comments | « blimp/engine/app/blimp_system_url_request_context_getter.cc ('k') | blimp/engine/common/blimp_browser_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698