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

Side by Side Diff: ios/web_view/internal/criwv_url_request_context_getter.h

Issue 2703413004: Rename CRIWV class to CWV. (Closed)
Patch Set: Created 3 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 IOS_WEB_VIEW_INTERNAL_CRIWV_URL_REQUEST_CONTEXT_GETTER_H_ 5 #ifndef IOS_WEB_VIEW_INTERNAL_CRIWV_URL_REQUEST_CONTEXT_GETTER_H_
6 #define IOS_WEB_VIEW_INTERNAL_CRIWV_URL_REQUEST_CONTEXT_GETTER_H_ 6 #define IOS_WEB_VIEW_INTERNAL_CRIWV_URL_REQUEST_CONTEXT_GETTER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
13 #include "net/url_request/url_request_context_getter.h" 13 #include "net/url_request/url_request_context_getter.h"
14 14
15 namespace net { 15 namespace net {
16 class NetworkDelegate; 16 class NetworkDelegate;
17 class NetLog; 17 class NetLog;
18 class ProxyConfigService; 18 class ProxyConfigService;
19 class TransportSecurityPersister; 19 class TransportSecurityPersister;
20 class URLRequestContext; 20 class URLRequestContext;
21 class URLRequestContextStorage; 21 class URLRequestContextStorage;
22 } 22 }
23 23
24 namespace ios_web_view { 24 namespace ios_web_view {
25 25
26 // CRIWV-specific implementation of URLRequestContextGetter. 26 // CWV-specific implementation of URLRequestContextGetter.
27 class CRIWVURLRequestContextGetter : public net::URLRequestContextGetter { 27 class CRIWVURLRequestContextGetter : public net::URLRequestContextGetter {
28 public: 28 public:
29 CRIWVURLRequestContextGetter( 29 CRIWVURLRequestContextGetter(
30 const base::FilePath& base_path, 30 const base::FilePath& base_path,
31 const scoped_refptr<base::SingleThreadTaskRunner>& network_task_runner, 31 const scoped_refptr<base::SingleThreadTaskRunner>& network_task_runner,
32 const scoped_refptr<base::SingleThreadTaskRunner>& file_task_runner, 32 const scoped_refptr<base::SingleThreadTaskRunner>& file_task_runner,
33 const scoped_refptr<base::SingleThreadTaskRunner>& cache_task_runner); 33 const scoped_refptr<base::SingleThreadTaskRunner>& cache_task_runner);
34 34
35 // net::URLRequestContextGetter implementation. 35 // net::URLRequestContextGetter implementation.
36 net::URLRequestContext* GetURLRequestContext() override; 36 net::URLRequestContext* GetURLRequestContext() override;
(...skipping 15 matching lines...) Expand all
52 std::unique_ptr<net::NetLog> net_log_; 52 std::unique_ptr<net::NetLog> net_log_;
53 std::unique_ptr<net::TransportSecurityPersister> 53 std::unique_ptr<net::TransportSecurityPersister>
54 transport_security_persister_; 54 transport_security_persister_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(CRIWVURLRequestContextGetter); 56 DISALLOW_COPY_AND_ASSIGN(CRIWVURLRequestContextGetter);
57 }; 57 };
58 58
59 } // namespace ios_web_view 59 } // namespace ios_web_view
60 60
61 #endif // IOS_WEB_VIEW_INTERNAL_CRIWV_URL_REQUEST_CONTEXT_GETTER_H_ 61 #endif // IOS_WEB_VIEW_INTERNAL_CRIWV_URL_REQUEST_CONTEXT_GETTER_H_
OLDNEW
« no previous file with comments | « ios/web_view/internal/criwv_network_delegate.h ('k') | ios/web_view/internal/criwv_web_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698