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

Unified Diff: chrome/common/extensions/docs/examples/api/storage/stylizr/options.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/common/extensions/docs/examples/api/storage/stylizr/options.js
diff --git a/chrome/common/extensions/docs/examples/api/storage/stylizr/options.js b/chrome/common/extensions/docs/examples/api/storage/stylizr/options.js
index 4eeab8f34bfdfb1eda7e4869919fb67895cee711..82fa04f23b2d18c56ce5bd43994ff08adf616a3d 100644
--- a/chrome/common/extensions/docs/examples/api/storage/stylizr/options.js
+++ b/chrome/common/extensions/docs/examples/api/storage/stylizr/options.js
@@ -1,9 +1,9 @@
-// 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.
// Store settings in the synchronized repository.
-var storage = chrome.experimental.storage.sync;
+var storage = chrome.storage.sync;
// Get at the DOM controls used in the sample.
var resetButton = document.querySelector('button.reset');
@@ -24,7 +24,7 @@ function saveChanges() {
message('Error: No CSS specified');
return;
}
- // Save it locally (un-synchronized) using the Chrome extension storage API.
+ // Save it using the Chrome extension storage API.
storage.set({'css': cssCode}, function() {
// Notify that we saved.
message('Settings saved');

Powered by Google App Engine
This is Rietveld 408576698