| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/remoting/setup_flow_register_step.h" | 5 #include "chrome/browser/remoting/setup_flow_register_step.h" |
| 6 | 6 |
| 7 #include "base/callback_old.h" |
| 7 #include "chrome/browser/prefs/pref_service.h" | 8 #include "chrome/browser/prefs/pref_service.h" |
| 8 #include "chrome/browser/profiles/profile.h" | 9 #include "chrome/browser/profiles/profile.h" |
| 9 #include "chrome/browser/remoting/setup_flow_login_step.h" | 10 #include "chrome/browser/remoting/setup_flow_login_step.h" |
| 10 #include "chrome/browser/remoting/setup_flow_start_host_step.h" | 11 #include "chrome/browser/remoting/setup_flow_start_host_step.h" |
| 11 #include "chrome/common/pref_names.h" | 12 #include "chrome/common/pref_names.h" |
| 12 #include "grit/generated_resources.h" | 13 #include "grit/generated_resources.h" |
| 13 #include "ui/base/l10n/l10n_util.h" | 14 #include "ui/base/l10n/l10n_util.h" |
| 14 | 15 |
| 15 namespace remoting { | 16 namespace remoting { |
| 16 | 17 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 return l10n_util::GetStringUTF16(IDS_REMOTING_REGISTRATION_FAILED_MESSAGE); | 74 return l10n_util::GetStringUTF16(IDS_REMOTING_REGISTRATION_FAILED_MESSAGE); |
| 74 } | 75 } |
| 75 | 76 |
| 76 void SetupFlowRegisterErrorStep::Retry() { | 77 void SetupFlowRegisterErrorStep::Retry() { |
| 77 // When retrying we retry from the GetStatus step because it may be | 78 // When retrying we retry from the GetStatus step because it may be |
| 78 // necessary to start service process. | 79 // necessary to start service process. |
| 79 FinishStep(new SetupFlowRegisterStep()); | 80 FinishStep(new SetupFlowRegisterStep()); |
| 80 } | 81 } |
| 81 | 82 |
| 82 } // namespace remoting | 83 } // namespace remoting |
| OLD | NEW |