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

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

Issue 20081002: Remove experimental permission from infobars API and moving it to dev channel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added license header Created 7 years, 5 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/background.js
diff --git a/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/background.js b/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/background.js
index 9795d355d10dbb2cc79f9e60718319ce16bd8ea2..4b2bc5e98c42be66a74a49c4cac0f0848995ef9f 100644
--- a/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/background.js
+++ b/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/background.js
@@ -1,3 +1,7 @@
+// Copyright (c) 2013 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.
+
/**
* Handles requests sent by the content script. Shows an infobar.
*/
@@ -7,7 +11,7 @@ function onRequest(request, sender, sendResponse) {
var url = "infobar.html#" + request.count;
// Show the infobar on the tab where the request was sent.
- chrome.experimental.infobars.show({
+ chrome.infobars.show({
tabId: sender.tab.id,
path: url
});

Powered by Google App Engine
This is Rietveld 408576698