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

Side by Side Diff: chrome/browser/ui/login/login_handler.cc

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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 (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 "chrome/browser/ui/login/login_handler.h" 5 #include "chrome/browser/ui/login/login_handler.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 #include "extensions/browser/view_type_utils.h" 49 #include "extensions/browser/view_type_utils.h"
50 #endif 50 #endif
51 51
52 #if !defined(OS_ANDROID) 52 #if !defined(OS_ANDROID)
53 #include "chrome/browser/ui/blocked_content/app_modal_dialog_helper.h" 53 #include "chrome/browser/ui/blocked_content/app_modal_dialog_helper.h"
54 #endif 54 #endif
55 55
56 using autofill::PasswordForm; 56 using autofill::PasswordForm;
57 using content::BrowserThread; 57 using content::BrowserThread;
58 using content::NavigationController; 58 using content::NavigationController;
59 using content::RenderViewHost;
60 using content::RenderViewHostDelegate;
61 using content::ResourceDispatcherHost; 59 using content::ResourceDispatcherHost;
62 using content::ResourceRequestInfo; 60 using content::ResourceRequestInfo;
63 using content::WebContents; 61 using content::WebContents;
64 62
65 class LoginHandlerImpl; 63 class LoginHandlerImpl;
66 64
67 namespace { 65 namespace {
68 66
69 // Auth prompt types for UMA. Do not reorder or delete entries; only add to the 67 // Auth prompt types for UMA. Do not reorder or delete entries; only add to the
70 // end. 68 // end.
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 bool is_main_frame = 658 bool is_main_frame =
661 (request->load_flags() & net::LOAD_MAIN_FRAME_DEPRECATED) != 0; 659 (request->load_flags() & net::LOAD_MAIN_FRAME_DEPRECATED) != 0;
662 LoginHandler* handler = LoginHandler::Create(auth_info, request); 660 LoginHandler* handler = LoginHandler::Create(auth_info, request);
663 BrowserThread::PostTask( 661 BrowserThread::PostTask(
664 BrowserThread::UI, FROM_HERE, 662 BrowserThread::UI, FROM_HERE,
665 base::Bind(&LoginHandler::LoginDialogCallback, request->url(), 663 base::Bind(&LoginHandler::LoginDialogCallback, request->url(),
666 base::RetainedRef(auth_info), base::RetainedRef(handler), 664 base::RetainedRef(auth_info), base::RetainedRef(handler),
667 is_main_frame)); 665 is_main_frame));
668 return handler; 666 return handler;
669 } 667 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/login/login_handler.h ('k') | chrome/browser/ui/login/login_interstitial_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698