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

Side by Side Diff: trunk/src/chrome/test/data/extensions/api_test/preferences_private/test.js

Issue 105533004: Revert 241977 "Add hook for extension to check sync status." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « trunk/src/chrome/test/data/extensions/api_test/preferences_private/manifest.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 chrome.test.runTests([function() {
6 chrome.preferencesPrivate.getSyncCategoriesWithoutPassphrase(
7 chrome.test.callbackPass(
8 function(categories) {
9 chrome.test.assertTrue(categories.indexOf("Bookmarks") >= 0,
10 "Bookmarks is missing.");
11 chrome.test.assertTrue(categories.indexOf("Preferences") >= 0,
12 "Preferences is missing.");
13 chrome.test.assertTrue(categories.indexOf("Autofill") == -1,
14 "Autofill present even though it's encrypted.");
15 chrome.test.assertTrue(categories.indexOf("Typed URLs") == -1,
16 "Typed URLs present even though it's not synced.");
17 }
18 )
19 );
20 }]);
OLDNEW
« no previous file with comments | « trunk/src/chrome/test/data/extensions/api_test/preferences_private/manifest.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698