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

Unified Diff: chrome/test/data/extensions/api_test/app_notifications/test.js

Issue 12680004: Remove chrome/ code to handle App Notifications (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge conflicts. Created 7 years, 9 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/test/data/extensions/api_test/app_notifications/test.js
diff --git a/chrome/test/data/extensions/api_test/app_notifications/test.js b/chrome/test/data/extensions/api_test/app_notifications/test.js
deleted file mode 100644
index c7a53cc13d00c444389ee490bdf004cf43b82b1a..0000000000000000000000000000000000000000
--- a/chrome/test/data/extensions/api_test/app_notifications/test.js
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright (c) 2012 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 error = "This API is not accessible by 'split' mode extensions" +
- " in incognito windows.";
-
-chrome.test.runTests([
- function notify() {
- chrome.experimental.app.notify(
- {}, chrome.test.callbackFail(error));
- },
-
- function clearAllNotifications() {
- chrome.experimental.app.clearAllNotifications(
- {}, chrome.test.callbackFail(error));
- },
-
- function getChannel() {
- chrome.appNotifications.getChannel(
- {clientId: "dummy_id"},
- chrome.test.callbackPass(function(channelId, e) {
- chrome.test.assertEq(error, e);
- }));
- }
-]);

Powered by Google App Engine
This is Rietveld 408576698