| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "chrome/browser/ui/webui/chrome_url_data_manager_backend.h" | 5 #include "chrome/browser/ui/webui/chrome_url_data_manager_backend.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 insert(chrome::kChromeUIRegisterPageHost); | 70 insert(chrome::kChromeUIRegisterPageHost); |
| 71 insert(chrome::kChromeUISimUnlockHost); | 71 insert(chrome::kChromeUISimUnlockHost); |
| 72 insert(chrome::kChromeUISystemInfoHost); | 72 insert(chrome::kChromeUISystemInfoHost); |
| 73 #endif | 73 #endif |
| 74 #if defined(TOUCH_UI) | 74 #if defined(TOUCH_UI) |
| 75 insert(chrome::kChromeUIKeyboardHost); | 75 insert(chrome::kChromeUIKeyboardHost); |
| 76 #endif | 76 #endif |
| 77 #if defined(OS_CHROMEOS) || defined(USE_AURA) | 77 #if defined(OS_CHROMEOS) || defined(USE_AURA) |
| 78 insert(chrome::kChromeUICollectedCookiesHost); | 78 insert(chrome::kChromeUICollectedCookiesHost); |
| 79 insert(chrome::kChromeUIHttpAuthHost); | 79 insert(chrome::kChromeUIHttpAuthHost); |
| 80 insert(chrome::kChromeUIRepostFormWarningHost); | 80 insert(chrome::kChromeUITabModalDialogHost); |
| 81 #endif | 81 #endif |
| 82 #if defined(USE_AURA) | 82 #if defined(USE_AURA) |
| 83 insert(chrome::kChromeUIAppListHost); | 83 insert(chrome::kChromeUIAppListHost); |
| 84 #endif | 84 #endif |
| 85 } | 85 } |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 base::LazyInstance<ChromeURLContentSecurityPolicyExceptionSet> | 88 base::LazyInstance<ChromeURLContentSecurityPolicyExceptionSet> |
| 89 g_chrome_url_content_security_policy_exceptions = LAZY_INSTANCE_INITIALIZER; | 89 g_chrome_url_content_security_policy_exceptions = LAZY_INSTANCE_INITIALIZER; |
| 90 | 90 |
| (...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 548 | 548 |
| 549 return new URLRequestChromeJob(request, backend_); | 549 return new URLRequestChromeJob(request, backend_); |
| 550 } | 550 } |
| 551 | 551 |
| 552 } // namespace | 552 } // namespace |
| 553 | 553 |
| 554 net::URLRequestJobFactory::ProtocolHandler* | 554 net::URLRequestJobFactory::ProtocolHandler* |
| 555 CreateDevToolsProtocolHandler(ChromeURLDataManagerBackend* backend) { | 555 CreateDevToolsProtocolHandler(ChromeURLDataManagerBackend* backend) { |
| 556 return new DevToolsJobFactory(backend); | 556 return new DevToolsJobFactory(backend); |
| 557 } | 557 } |
| OLD | NEW |