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

Unified Diff: chrome/browser/ui/webui/sync_setup_browsertest.js

Issue 410293004: Split OptionsPage into Page and PageManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ugh just no Created 6 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/browser/ui/webui/sync_setup_browsertest.js
diff --git a/chrome/browser/ui/webui/sync_setup_browsertest.js b/chrome/browser/ui/webui/sync_setup_browsertest.js
index 9d995af7b09e690b385931cf51a42d4e1446766a..437e3cf98da558c32ff00135e95bfc4c5e583534 100644
--- a/chrome/browser/ui/webui/sync_setup_browsertest.js
+++ b/chrome/browser/ui/webui/sync_setup_browsertest.js
@@ -67,7 +67,7 @@ TEST_F('SyncSetupWebUITestAsync', 'VerifySignIn', function() {
// Handle SyncSetupShowSetupUI by navigating to chrome://settings/syncSetup.
this.mockHandler.expects(once()).SyncSetupShowSetupUI().
will(callFunction(function() {
- OptionsPage.navigateToPage('syncSetup');
+ PageManager.showPageByName('syncSetup');
}));
// Handle SyncSetupStartSignIn by displaying the sync setup dialog, verifying
« no previous file with comments | « chrome/browser/ui/webui/options/options_browsertest.js ('k') | ui/webui/resources/js/cr/ui/page_manager/page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698