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" | |
13 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/macros.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/supports_user_data.h" | 15 #include "base/supports_user_data.h" |
16 #include "content/browser/webui/url_data_manager.h" | 16 #include "content/browser/webui/url_data_manager.h" |
17 #include "content/public/browser/url_data_source.h" | 17 #include "content/public/browser/url_data_source.h" |
18 #include "net/url_request/url_request_job_factory.h" | 18 #include "net/url_request/url_request_job_factory.h" |
19 | 19 |
20 class GURL; | 20 class GURL; |
21 | 21 |
22 namespace base { | 22 namespace base { |
23 class RefCountedMemory; | 23 class RefCountedMemory; |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 | 107 |
108 // Creates protocol handler for chrome-devtools://. |is_incognito| should be | 108 // Creates protocol handler for chrome-devtools://. |is_incognito| should be |
109 // set for incognito profiles. | 109 // set for incognito profiles. |
110 net::URLRequestJobFactory::ProtocolHandler* | 110 net::URLRequestJobFactory::ProtocolHandler* |
111 CreateDevToolsProtocolHandler(content::ResourceContext* resource_context, | 111 CreateDevToolsProtocolHandler(content::ResourceContext* resource_context, |
112 bool is_incognito); | 112 bool is_incognito); |
113 | 113 |
114 } // namespace content | 114 } // namespace content |
115 | 115 |
116 #endif // CONTENT_BROWSER_WEBUI_URL_DATA_MANAGER_BACKEND_H_ | 116 #endif // CONTENT_BROWSER_WEBUI_URL_DATA_MANAGER_BACKEND_H_ |
OLD | NEW |