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

Side by Side Diff: chrome/browser/ui/webui/signin/inline_login_handler_impl.cc

Issue 572853002: Realigning the WeakPtrFactory initialization order in chrome/ui folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed mac error Created 6 years, 3 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
« no previous file with comments | « chrome/browser/ui/webui/signin/inline_login_handler_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/ui/webui/signin/inline_login_handler_impl.h" 5 #include "chrome/browser/ui/webui/signin/inline_login_handler_impl.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 AboutSigninInternals* about_signin_internals = 215 AboutSigninInternals* about_signin_internals =
216 AboutSigninInternalsFactory::GetForProfile(profile_); 216 AboutSigninInternalsFactory::GetForProfile(profile_);
217 about_signin_internals->OnRefreshTokenReceived("Failure"); 217 about_signin_internals->OnRefreshTokenReceived("Failure");
218 218
219 base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); 219 base::MessageLoop::current()->DeleteSoon(FROM_HERE, this);
220 } 220 }
221 221
222 } // namespace 222 } // namespace
223 223
224 InlineLoginHandlerImpl::InlineLoginHandlerImpl() 224 InlineLoginHandlerImpl::InlineLoginHandlerImpl()
225 : weak_factory_(this), 225 : confirm_untrusted_signin_(false),
226 confirm_untrusted_signin_(false) { 226 weak_factory_(this) {
227 } 227 }
228 228
229 InlineLoginHandlerImpl::~InlineLoginHandlerImpl() {} 229 InlineLoginHandlerImpl::~InlineLoginHandlerImpl() {}
230 230
231 bool InlineLoginHandlerImpl::HandleContextMenu( 231 bool InlineLoginHandlerImpl::HandleContextMenu(
232 const content::ContextMenuParams& params) { 232 const content::ContextMenuParams& params) {
233 #ifndef NDEBUG 233 #ifndef NDEBUG
234 return false; 234 return false;
235 #else 235 #else
236 return true; 236 return true;
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 } 451 }
452 } 452 }
453 453
454 if (show_account_management) { 454 if (show_account_management) {
455 browser->window()->ShowAvatarBubbleFromAvatarButton( 455 browser->window()->ShowAvatarBubbleFromAvatarButton(
456 BrowserWindow::AVATAR_BUBBLE_MODE_ACCOUNT_MANAGEMENT, 456 BrowserWindow::AVATAR_BUBBLE_MODE_ACCOUNT_MANAGEMENT,
457 signin::ManageAccountsParams()); 457 signin::ManageAccountsParams());
458 } 458 }
459 } 459 }
460 } 460 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/signin/inline_login_handler_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698