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

Unified Diff: chrome/common/extensions/docs/examples/api/infobars/sandwichbar/contentscript.js

Issue 11745015: Update references to the extension messaging APIs to point to the "runtime" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 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/api/infobars/sandwichbar/contentscript.js
diff --git a/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/contentscript.js b/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/contentscript.js
index 6fa03ecc83c11ddc1cbd54f8ab9624e1cfa542ab..db1f3b3456adadde033169eabe9048b38d16d16c 100644
--- a/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/contentscript.js
+++ b/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/contentscript.js
@@ -1,8 +1,7 @@
-/*
- * Copyright (c) 2010 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.
- */
+// Copyright (c) 2010 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.
+
var regex = /sandwich/gi;
matches = document.body.innerText.match(regex);
if (matches) {
@@ -10,4 +9,4 @@ if (matches) {
count: matches.length // Pass the number of matches back.
};
chrome.extension.sendRequest(payload, function(response) {});
-}
+}

Powered by Google App Engine
This is Rietveld 408576698