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

Unified Diff: chrome/test/data/extensions/api_test/settings/simple_test/background.js

Issue 9274004: Take the Extension Storage API out of experimental. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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/test/data/extensions/api_test/settings/simple_test/background.js
diff --git a/chrome/test/data/extensions/api_test/settings/simple_test/background.js b/chrome/test/data/extensions/api_test/settings/simple_test/background.js
index 7ae05e7fad4f67df246b442b71a52be157a8a195..85f5e628128985966e8f47fbcd53035ee9a0eee7 100644
--- a/chrome/test/data/extensions/api_test/settings/simple_test/background.js
+++ b/chrome/test/data/extensions/api_test/settings/simple_test/background.js
@@ -1,11 +1,11 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// 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.
function test(stage0) {
var apis = [
- chrome.experimental.storage.sync,
- chrome.experimental.storage.local
+ chrome.storage.sync,
+ chrome.storage.local
];
apis.forEach(function(api) {
api.succeed = chrome.test.callbackPass(api.clear.bind(api));
@@ -294,7 +294,7 @@ chrome.test.runTests([
function throttling() {
// We can only really test one of the namespaces since they will all get
// throttled together.
- var api = chrome.experimental.storage.sync;
+ var api = chrome.storage.sync;
// Should get throttled after 1000 calls.
var maxRequests = 1001;

Powered by Google App Engine
This is Rietveld 408576698