OLD | NEW |
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 CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_ | 5 #ifndef CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_ |
6 #define CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_ | 6 #define CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "chrome/browser/prefs/pref_change_registrar.h" | 11 #include "chrome/browser/api/prefs/pref_change_registrar.h" |
12 #include "content/public/browser/notification_observer.h" | 12 #include "content/public/browser/notification_observer.h" |
13 #include "content/public/browser/notification_registrar.h" | 13 #include "content/public/browser/notification_registrar.h" |
14 #include "net/url_request/url_request_context.h" | 14 #include "net/url_request/url_request_context.h" |
15 #include "net/url_request/url_request_context_getter.h" | 15 #include "net/url_request/url_request_context_getter.h" |
16 | 16 |
17 class ChromeURLDataManagerBackend; | 17 class ChromeURLDataManagerBackend; |
18 class ChromeURLRequestContextFactory; | 18 class ChromeURLRequestContextFactory; |
19 class IOThread; | 19 class IOThread; |
20 class Profile; | 20 class Profile; |
21 class ProfileIOData; | 21 class ProfileIOData; |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 | 193 |
194 // NULL if not yet initialized. Otherwise, it is the ChromeURLRequestContext | 194 // NULL if not yet initialized. Otherwise, it is the ChromeURLRequestContext |
195 // instance that was lazily created by GetURLRequestContext(). | 195 // instance that was lazily created by GetURLRequestContext(). |
196 // Access only from the IO thread. | 196 // Access only from the IO thread. |
197 base::WeakPtr<ChromeURLRequestContext> url_request_context_; | 197 base::WeakPtr<ChromeURLRequestContext> url_request_context_; |
198 | 198 |
199 DISALLOW_COPY_AND_ASSIGN(ChromeURLRequestContextGetter); | 199 DISALLOW_COPY_AND_ASSIGN(ChromeURLRequestContextGetter); |
200 }; | 200 }; |
201 | 201 |
202 #endif // CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_ | 202 #endif // CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_ |
OLD | NEW |