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

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

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
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 #ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_
6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_ 6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 // Overridden from content::WebContentsDelegate. 46 // Overridden from content::WebContentsDelegate.
47 virtual bool HandleContextMenu( 47 virtual bool HandleContextMenu(
48 const content::ContextMenuParams& params) OVERRIDE; 48 const content::ContextMenuParams& params) OVERRIDE;
49 49
50 // Overridden from content::WebContentsObserver overrides. 50 // Overridden from content::WebContentsObserver overrides.
51 virtual void DidCommitProvisionalLoadForFrame( 51 virtual void DidCommitProvisionalLoadForFrame(
52 content::RenderFrameHost* render_frame_host, 52 content::RenderFrameHost* render_frame_host,
53 const GURL& url, 53 const GURL& url,
54 content::PageTransition transition_type) OVERRIDE; 54 content::PageTransition transition_type) OVERRIDE;
55 55
56 base::WeakPtrFactory<InlineLoginHandlerImpl> weak_factory_;
57 // True if the user has navigated to untrusted domains during the signin 56 // True if the user has navigated to untrusted domains during the signin
58 // process. 57 // process.
59 bool confirm_untrusted_signin_; 58 bool confirm_untrusted_signin_;
60 59
60 base::WeakPtrFactory<InlineLoginHandlerImpl> weak_factory_;
61
61 DISALLOW_COPY_AND_ASSIGN(InlineLoginHandlerImpl); 62 DISALLOW_COPY_AND_ASSIGN(InlineLoginHandlerImpl);
62 }; 63 };
63 64
64 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_ 65 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698