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

Side by Side Diff: chrome/browser/net/chrome_url_request_context_getter.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
« no previous file with comments | « chrome/browser/net/chrome_network_delegate.h ('k') | chrome/browser/net/dns_probe_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_GETTER_H_ 5 #ifndef CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_GETTER_H_
6 #define CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_GETTER_H_ 6 #define CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_GETTER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" 12 #include "chrome/browser/custom_handlers/protocol_handler_registry.h"
13 #include "net/url_request/url_request_context.h" 13 #include "net/url_request/url_request_context.h"
14 #include "net/url_request/url_request_context_getter.h" 14 #include "net/url_request/url_request_context_getter.h"
15 #include "net/url_request/url_request_job_factory.h" 15 #include "net/url_request/url_request_job_factory.h"
16 16
17 class ChromeURLRequestContextFactory; 17 class ChromeURLRequestContextFactory;
18 class IOThread;
19 class Profile; 18 class Profile;
20 class ProfileIOData; 19 class ProfileIOData;
21 struct StoragePartitionDescriptor; 20 struct StoragePartitionDescriptor;
22 21
23 // A net::URLRequestContextGetter subclass used by the browser. This returns a 22 // A net::URLRequestContextGetter subclass used by the browser. This returns a
24 // subclass of net::URLRequestContext which can be used to store extra 23 // subclass of net::URLRequestContext which can be used to store extra
25 // information about requests. 24 // information about requests.
26 // 25 //
27 // Most methods are expected to be called on the UI thread, except for 26 // Most methods are expected to be called on the UI thread, except for
28 // the destructor and GetURLRequestContext(). 27 // the destructor and GetURLRequestContext().
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // NULL before initialization and after invalidation. 93 // NULL before initialization and after invalidation.
95 // Otherwise, it is the URLRequestContext instance that 94 // Otherwise, it is the URLRequestContext instance that
96 // was lazily created by GetURLRequestContext(). 95 // was lazily created by GetURLRequestContext().
97 // Access only from the IO thread. 96 // Access only from the IO thread.
98 net::URLRequestContext* url_request_context_; 97 net::URLRequestContext* url_request_context_;
99 98
100 DISALLOW_COPY_AND_ASSIGN(ChromeURLRequestContextGetter); 99 DISALLOW_COPY_AND_ASSIGN(ChromeURLRequestContextGetter);
101 }; 100 };
102 101
103 #endif // CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_GETTER_H_ 102 #endif // CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_GETTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/chrome_network_delegate.h ('k') | chrome/browser/net/dns_probe_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698