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

Unified Diff: chrome/common/extensions/docs/examples/extensions/proxy_configuration/background.html

Issue 8273036: Adding `content_security_policy` to proxy sample extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: License, docs. Created 9 years, 2 months 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/examples/extensions/proxy_configuration/background.html
diff --git a/chrome/common/extensions/docs/examples/extensions/proxy_configuration/background.html b/chrome/common/extensions/docs/examples/extensions/proxy_configuration/background.html
index be49ea73a4c5d0e46c2e675ee3808857c872d55e..adf001fbdc2160bed802ca54f452d07df39d1db8 100644
--- a/chrome/common/extensions/docs/examples/extensions/proxy_configuration/background.html
+++ b/chrome/common/extensions/docs/examples/extensions/proxy_configuration/background.html
@@ -13,17 +13,6 @@
-->
<script src="./proxy_form_controller.js"></script>
<script src="./proxy_error_handler.js"></script>
- <script>
- var errorHandler = new ProxyErrorHandler();
-
- // If this extension has already set the proxy settings, then reset it
- // once as the background page initializes. This is essential, as
- // incognito settings are wiped on restart.
- var persistedSettings = ProxyFormController.getPersistedSettings();
- if (persistedSettings !== null) {
- chrome.proxy.settings.set(
- {'value': persistedSettings.regular});
- }
- </script>
+ <script src="./background.js"></script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698