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

Side by Side Diff: chrome/browser/remoting/setup_flow_register_step.cc

Issue 6995007: iwyu: Use callback_old.h where appropriate, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/browser/remoting/directory_add_request.h ('k') | chrome/browser/safe_browsing/safe_browsing_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698