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

Side by Side Diff: chrome/browser/chromeos/login/user_flow.cc

Issue 286933002: [cros login] Split login related classes into subfolders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix includes in new tests Created 6 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
« no previous file with comments | « chrome/browser/chromeos/login/user_flow.h ('k') | chrome/browser/chromeos/login/user_image.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/message_loop/message_loop.h" 6 #include "base/message_loop/message_loop.h"
7 #include "chrome/browser/chromeos/login/user_flow.h" 7 #include "chrome/browser/chromeos/login/user_flow.h"
8 #include "chrome/browser/chromeos/login/user_manager.h" 8 #include "chrome/browser/chromeos/login/users/user_manager.h"
9 9
10 namespace chromeos { 10 namespace chromeos {
11 11
12 namespace { 12 namespace {
13 13
14 void UnregisterFlow(const std::string& user_id) { 14 void UnregisterFlow(const std::string& user_id) {
15 UserManager::Get()->ResetUserFlow(user_id); 15 UserManager::Get()->ResetUserFlow(user_id);
16 } 16 }
17 17
18 } // namespace 18 } // namespace
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 } 69 }
70 70
71 void ExtendedUserFlow::UnregisterFlowSoon() { 71 void ExtendedUserFlow::UnregisterFlowSoon() {
72 std::string id_copy(user_id()); 72 std::string id_copy(user_id());
73 base::MessageLoop::current()->PostTask(FROM_HERE, 73 base::MessageLoop::current()->PostTask(FROM_HERE,
74 base::Bind(&UnregisterFlow, 74 base::Bind(&UnregisterFlow,
75 id_copy)); 75 id_copy));
76 } 76 }
77 77
78 } // namespace chromeos 78 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/user_flow.h ('k') | chrome/browser/chromeos/login/user_image.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698