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

Side by Side Diff: content/shell/browser/layout_test/layout_test_url_request_context_getter.h

Issue 1730533002: Remove some usages of BrowserThread::UnsafeGetMessageLoopForThread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reformatted. Created 4 years, 10 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_LAYOUT_TEST_LAYOUT_TEST_URL_REQUEST_CONTEXT_GETTER _H_ 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_URL_REQUEST_CONTEXT_GETTER _H_
6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_URL_REQUEST_CONTEXT_GETTER _H_ 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_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/macros.h" 10 #include "base/macros.h"
(...skipping 16 matching lines...) Expand all
27 class URLRequestContextStorage; 27 class URLRequestContextStorage;
28 } 28 }
29 29
30 namespace content { 30 namespace content {
31 31
32 class LayoutTestURLRequestContextGetter : public ShellURLRequestContextGetter { 32 class LayoutTestURLRequestContextGetter : public ShellURLRequestContextGetter {
33 public: 33 public:
34 LayoutTestURLRequestContextGetter( 34 LayoutTestURLRequestContextGetter(
35 bool ignore_certificate_errors, 35 bool ignore_certificate_errors,
36 const base::FilePath& base_path, 36 const base::FilePath& base_path,
37 base::MessageLoop* io_loop, 37 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner,
38 base::MessageLoop* file_loop, 38 scoped_refptr<base::SingleThreadTaskRunner> file_task_runner,
39 ProtocolHandlerMap* protocol_handlers, 39 ProtocolHandlerMap* protocol_handlers,
40 URLRequestInterceptorScopedVector request_interceptors, 40 URLRequestInterceptorScopedVector request_interceptors,
41 net::NetLog* net_log); 41 net::NetLog* net_log);
42 42
43 protected: 43 protected:
44 ~LayoutTestURLRequestContextGetter() override; 44 ~LayoutTestURLRequestContextGetter() override;
45 45
46 // ShellURLRequestContextGetter implementation. 46 // ShellURLRequestContextGetter implementation.
47 scoped_ptr<net::NetworkDelegate> CreateNetworkDelegate() override; 47 scoped_ptr<net::NetworkDelegate> CreateNetworkDelegate() override;
48 scoped_ptr<net::ProxyConfigService> GetProxyConfigService() override; 48 scoped_ptr<net::ProxyConfigService> GetProxyConfigService() override;
49 scoped_ptr<net::ProxyService> GetProxyService() override; 49 scoped_ptr<net::ProxyService> GetProxyService() override;
50 50
51 private: 51 private:
52 DISALLOW_COPY_AND_ASSIGN(LayoutTestURLRequestContextGetter); 52 DISALLOW_COPY_AND_ASSIGN(LayoutTestURLRequestContextGetter);
53 }; 53 };
54 54
55 } // namespace content 55 } // namespace content
56 56
57 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_URL_REQUEST_CONTEXT_GET TER_H_ 57 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_URL_REQUEST_CONTEXT_GET TER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698