| Index: chrome/browser/ui/webui/options/options_sync_setup_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/options_sync_setup_handler.cc b/chrome/browser/ui/webui/options/options_sync_setup_handler.cc
|
| index af88e2c875bb27f50252e57e4e1475bcec8154ca..85ad94d0fa10ba200a5072138a571a5d367f42b3 100644
|
| --- a/chrome/browser/ui/webui/options/options_sync_setup_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/options_sync_setup_handler.cc
|
| @@ -16,24 +16,6 @@ OptionsSyncSetupHandler::OptionsSyncSetupHandler(
|
| OptionsSyncSetupHandler::~OptionsSyncSetupHandler() {
|
| }
|
|
|
| -void OptionsSyncSetupHandler::StepWizardForShowSetupUI() {
|
| - ProfileSyncService* service(ProfileSyncServiceFactory::
|
| - GetInstance()->GetForProfile(Profile::FromWebUI(web_ui())));
|
| - DCHECK(service);
|
| -
|
| - // We should bring up either a login or a configure flow based on the state of
|
| - // sync.
|
| - if (service->HasSyncSetupCompleted()) {
|
| - if (service->IsPassphraseRequiredForDecryption()) {
|
| - service->get_wizard().Step(SyncSetupWizard::ENTER_PASSPHRASE);
|
| - } else {
|
| - service->get_wizard().Step(SyncSetupWizard::CONFIGURE);
|
| - }
|
| - } else {
|
| - service->get_wizard().Step(SyncSetupWizard::GetLoginState());
|
| - }
|
| -}
|
| -
|
| void OptionsSyncSetupHandler::ShowSetupUI() {
|
| // Show the Sync Setup page.
|
| scoped_ptr<Value> page(Value::CreateStringValue("syncSetup"));
|
|
|