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

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

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 7 years, 6 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) 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.h" 6 #include "base/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/user_manager.h"
9 9
10 namespace chromeos { 10 namespace chromeos {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 ExtendedUserFlow::ExtendedUserFlow(const std::string& user_id) 50 ExtendedUserFlow::ExtendedUserFlow(const std::string& user_id)
51 : user_id_(user_id) { 51 : user_id_(user_id) {
52 } 52 }
53 53
54 ExtendedUserFlow::~ExtendedUserFlow() { 54 ExtendedUserFlow::~ExtendedUserFlow() {
55 } 55 }
56 56
57 void ExtendedUserFlow::UnregisterFlowSoon() { 57 void ExtendedUserFlow::UnregisterFlowSoon() {
58 std::string id_copy(user_id()); 58 std::string id_copy(user_id());
59 MessageLoop::current()->PostTask(FROM_HERE, 59 base::MessageLoop::current()->PostTask(FROM_HERE,
60 base::Bind(&UnregisterFlow, 60 base::Bind(&UnregisterFlow,
61 id_copy)); 61 id_copy));
62 } 62 }
63 63
64 } // namespace chromeos 64 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/tpm_password_fetcher.cc ('k') | chrome/browser/chromeos/login/user_image_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698