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

Side by Side Diff: chrome/browser/ui/webui/chrome_url_data_manager_backend.cc

Issue 8412009: Turn on content-security-policy for chrome://syncpromo webui page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/resources/sync_promo.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 insert(chrome::kChromeUIInputWindowDialogHost); 64 insert(chrome::kChromeUIInputWindowDialogHost);
65 insert(chrome::kChromeUINewTabHost); 65 insert(chrome::kChromeUINewTabHost);
66 #if defined(OS_CHROMEOS) 66 #if defined(OS_CHROMEOS)
67 insert(chrome::kChromeUIEnterpriseEnrollmentHost); 67 insert(chrome::kChromeUIEnterpriseEnrollmentHost);
68 insert(chrome::kChromeUIOobeHost); 68 insert(chrome::kChromeUIOobeHost);
69 insert(chrome::kChromeUIMobileSetupHost); 69 insert(chrome::kChromeUIMobileSetupHost);
70 insert(chrome::kChromeUIProxySettingsHost); 70 insert(chrome::kChromeUIProxySettingsHost);
71 insert(chrome::kChromeUIRegisterPageHost); 71 insert(chrome::kChromeUIRegisterPageHost);
72 insert(chrome::kChromeUISimUnlockHost); 72 insert(chrome::kChromeUISimUnlockHost);
73 insert(chrome::kChromeUISystemInfoHost); 73 insert(chrome::kChromeUISystemInfoHost);
74 #else
75 insert(chrome::kChromeUISyncPromoHost);
76 #endif 74 #endif
77 #if defined(TOUCH_UI) 75 #if defined(TOUCH_UI)
78 insert(chrome::kChromeUIKeyboardHost); 76 insert(chrome::kChromeUIKeyboardHost);
79 #endif 77 #endif
80 #if defined(OS_CHROMEOS) || defined(TOUCH_UI) || defined(USE_AURA) 78 #if defined(OS_CHROMEOS) || defined(TOUCH_UI) || defined(USE_AURA)
81 insert(chrome::kChromeUICollectedCookiesHost); 79 insert(chrome::kChromeUICollectedCookiesHost);
82 insert(chrome::kChromeUIHttpAuthHost); 80 insert(chrome::kChromeUIHttpAuthHost);
83 insert(chrome::kChromeUIRepostFormWarningHost); 81 insert(chrome::kChromeUIRepostFormWarningHost);
84 #endif 82 #endif
85 } 83 }
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 546
549 return new URLRequestChromeJob(request, backend_); 547 return new URLRequestChromeJob(request, backend_);
550 } 548 }
551 549
552 } // namespace 550 } // namespace
553 551
554 net::URLRequestJobFactory::ProtocolHandler* 552 net::URLRequestJobFactory::ProtocolHandler*
555 CreateDevToolsProtocolHandler(ChromeURLDataManagerBackend* backend) { 553 CreateDevToolsProtocolHandler(ChromeURLDataManagerBackend* backend) {
556 return new DevToolsJobFactory(backend); 554 return new DevToolsJobFactory(backend);
557 } 555 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/sync_promo.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698