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

Side by Side Diff: net/url_request/url_request_context_getter.h

Issue 2531373002: net: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase on top of master branch 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 NET_URL_REQUEST_URL_REQUEST_CONTEXT_GETTER_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_CONTEXT_GETTER_H_
6 #define NET_URL_REQUEST_URL_REQUEST_CONTEXT_GETTER_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_CONTEXT_GETTER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
11 #include "base/sequenced_task_runner_helpers.h" 11 #include "base/sequenced_task_runner_helpers.h"
12 #include "net/base/net_export.h" 12 #include "net/base/net_export.h"
13 13
14 namespace base { 14 namespace base {
15 class SingleThreadTaskRunner; 15 class SingleThreadTaskRunner;
16 } // namespace base 16 } // namespace base
17 17
18 namespace net { 18 namespace net {
19 class CookieStore;
20 class URLRequestContext; 19 class URLRequestContext;
21 class URLRequestContextGetterObserver; 20 class URLRequestContextGetterObserver;
22 21
23 struct URLRequestContextGetterTraits; 22 struct URLRequestContextGetterTraits;
24 23
25 // Interface for retrieving an URLRequestContext. 24 // Interface for retrieving an URLRequestContext.
26 class NET_EXPORT URLRequestContextGetter 25 class NET_EXPORT URLRequestContextGetter
27 : public base::RefCountedThreadSafe<URLRequestContextGetter, 26 : public base::RefCountedThreadSafe<URLRequestContextGetter,
28 URLRequestContextGetterTraits> { 27 URLRequestContextGetterTraits> {
29 public: 28 public:
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 98
100 URLRequestContext* context_; 99 URLRequestContext* context_;
101 const scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; 100 const scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_;
102 101
103 DISALLOW_COPY_AND_ASSIGN(TrivialURLRequestContextGetter); 102 DISALLOW_COPY_AND_ASSIGN(TrivialURLRequestContextGetter);
104 }; 103 };
105 104
106 } // namespace net 105 } // namespace net
107 106
108 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_GETTER_H_ 107 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_GETTER_H_
OLDNEW
« no previous file with comments | « net/url_request/url_request_context_builder.h ('k') | net/url_request/url_request_context_storage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698