| 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 CONTENT_BROWSER_WEBUI_URL_DATA_MANAGER_BACKEND_H_ | 5 #ifndef CONTENT_BROWSER_WEBUI_URL_DATA_MANAGER_BACKEND_H_ |
| 6 #define CONTENT_BROWSER_WEBUI_URL_DATA_MANAGER_BACKEND_H_ | 6 #define CONTENT_BROWSER_WEBUI_URL_DATA_MANAGER_BACKEND_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/supports_user_data.h" | 14 #include "base/supports_user_data.h" |
| 15 #include "content/browser/webui/url_data_manager.h" | 15 #include "content/browser/webui/url_data_manager.h" |
| 16 #include "content/public/browser/url_data_source.h" | 16 #include "content/public/browser/url_data_source.h" |
| 17 #include "net/url_request/url_request_job_factory.h" | 17 #include "net/url_request/url_request_job_factory.h" |
| 18 | 18 |
| 19 class GURL; | 19 class GURL; |
| 20 | 20 |
| 21 namespace content { | |
| 22 class AppCacheServiceImpl; | |
| 23 } | |
| 24 | |
| 25 namespace base { | 21 namespace base { |
| 26 class RefCountedMemory; | 22 class RefCountedMemory; |
| 27 } | 23 } |
| 28 | 24 |
| 29 namespace content { | 25 namespace content { |
| 26 |
| 27 class AppCacheServiceImpl; |
| 30 class ChromeBlobStorageContext; | 28 class ChromeBlobStorageContext; |
| 31 class ResourceContext; | 29 class ResourceContext; |
| 32 class URLDataManagerBackend; | 30 class URLDataManagerBackend; |
| 33 class URLDataSourceImpl; | 31 class URLDataSourceImpl; |
| 34 class URLRequestChromeJob; | 32 class URLRequestChromeJob; |
| 35 | 33 |
| 36 // URLDataManagerBackend is used internally by ChromeURLDataManager on the IO | 34 // URLDataManagerBackend is used internally by ChromeURLDataManager on the IO |
| 37 // thread. In most cases you can use the API in ChromeURLDataManager and ignore | 35 // thread. In most cases you can use the API in ChromeURLDataManager and ignore |
| 38 // this class. URLDataManagerBackend is owned by ResourceContext. | 36 // this class. URLDataManagerBackend is owned by ResourceContext. |
| 39 class URLDataManagerBackend : public base::SupportsUserData::Data { | 37 class URLDataManagerBackend : public base::SupportsUserData::Data { |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 | 106 |
| 109 // Creates protocol handler for chrome-devtools://. |is_incognito| should be | 107 // Creates protocol handler for chrome-devtools://. |is_incognito| should be |
| 110 // set for incognito profiles. | 108 // set for incognito profiles. |
| 111 net::URLRequestJobFactory::ProtocolHandler* | 109 net::URLRequestJobFactory::ProtocolHandler* |
| 112 CreateDevToolsProtocolHandler(content::ResourceContext* resource_context, | 110 CreateDevToolsProtocolHandler(content::ResourceContext* resource_context, |
| 113 bool is_incognito); | 111 bool is_incognito); |
| 114 | 112 |
| 115 } // namespace content | 113 } // namespace content |
| 116 | 114 |
| 117 #endif // CONTENT_BROWSER_WEBUI_URL_DATA_MANAGER_BACKEND_H_ | 115 #endif // CONTENT_BROWSER_WEBUI_URL_DATA_MANAGER_BACKEND_H_ |
| OLD | NEW |