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

Unified Diff: chrome/common/extensions/docs/examples/extensions/mappy/background.js

Issue 8311007: Adding `content_security_policy` to the "Mappy" sample. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebasing. 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/mappy/background.js
diff --git a/chrome/common/extensions/docs/examples/extensions/mappy/background.html b/chrome/common/extensions/docs/examples/extensions/mappy/background.js
similarity index 81%
copy from chrome/common/extensions/docs/examples/extensions/mappy/background.html
copy to chrome/common/extensions/docs/examples/extensions/mappy/background.js
index ff6f7c9cfa16895446c8c1672d45c8003cfd92e5..edf0e9169ee9e313955ad86510f72171bcc8932f 100644
--- a/chrome/common/extensions/docs/examples/extensions/mappy/background.html
+++ b/chrome/common/extensions/docs/examples/extensions/mappy/background.js
@@ -1,4 +1,7 @@
-<script>
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
// Global accessor that the popup uses.
var addresses = {};
var selectedAddress = null;
@@ -39,4 +42,3 @@ chrome.tabs.onSelectionChanged.addListener(function(tabId, info) {
chrome.tabs.getSelected(null, function(tab) {
updateAddress(tab.id);
});
-</script>

Powered by Google App Engine
This is Rietveld 408576698