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

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

Issue 2946343003: Remove more instances of BrowserThread::FILE. (Closed)
Patch Set: this time with feeling Created 3 years, 5 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 EXTENSIONS_SHELL_BROWSER_SHELL_URL_REQUEST_CONTEXT_GETTER_H_ 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_URL_REQUEST_CONTEXT_GETTER_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_URL_REQUEST_CONTEXT_GETTER_H_ 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_URL_REQUEST_CONTEXT_GETTER_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
(...skipping 13 matching lines...) Expand all
24 class InfoMap; 24 class InfoMap;
25 25
26 class ShellURLRequestContextGetter 26 class ShellURLRequestContextGetter
27 : public content::ShellURLRequestContextGetter { 27 : public content::ShellURLRequestContextGetter {
28 public: 28 public:
29 ShellURLRequestContextGetter( 29 ShellURLRequestContextGetter(
30 content::BrowserContext* browser_context, 30 content::BrowserContext* browser_context,
31 bool ignore_certificate_errors, 31 bool ignore_certificate_errors,
32 const base::FilePath& base_path, 32 const base::FilePath& base_path,
33 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, 33 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner,
34 scoped_refptr<base::SingleThreadTaskRunner> file_task_runner,
35 content::ProtocolHandlerMap* protocol_handlers, 34 content::ProtocolHandlerMap* protocol_handlers,
36 content::URLRequestInterceptorScopedVector request_interceptors, 35 content::URLRequestInterceptorScopedVector request_interceptors,
37 net::NetLog* net_log, 36 net::NetLog* net_log,
38 InfoMap* extension_info_map); 37 InfoMap* extension_info_map);
39 38
40 // content::ShellURLRequestContextGetter implementation. 39 // content::ShellURLRequestContextGetter implementation.
41 std::unique_ptr<net::NetworkDelegate> CreateNetworkDelegate() override; 40 std::unique_ptr<net::NetworkDelegate> CreateNetworkDelegate() override;
42 41
43 protected: 42 protected:
44 ~ShellURLRequestContextGetter() override; 43 ~ShellURLRequestContextGetter() override;
45 44
46 private: 45 private:
47 content::BrowserContext* browser_context_; 46 content::BrowserContext* browser_context_;
48 InfoMap* extension_info_map_; 47 InfoMap* extension_info_map_;
49 48
50 private: 49 private:
51 DISALLOW_COPY_AND_ASSIGN(ShellURLRequestContextGetter); 50 DISALLOW_COPY_AND_ASSIGN(ShellURLRequestContextGetter);
52 }; 51 };
53 52
54 } // namespace extensions 53 } // namespace extensions
55 54
56 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_URL_REQUEST_CONTEXT_GETTER_H_ 55 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_URL_REQUEST_CONTEXT_GETTER_H_
OLDNEW
« no previous file with comments | « extensions/shell/browser/shell_browser_context.cc ('k') | extensions/shell/browser/shell_url_request_context_getter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698