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

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

Issue 10421003: Remove a bunch of trivial render_view_host_delegate.h includes in chrome. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 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
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_prompt.h" 5 #include "chrome/browser/ui/login/login_prompt.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/synchronization/lock.h" 11 #include "base/synchronization/lock.h"
12 #include "base/utf_string_conversions.h" 12 #include "base/utf_string_conversions.h"
13 #include "chrome/browser/password_manager/password_manager.h" 13 #include "chrome/browser/password_manager/password_manager.h"
14 #include "chrome/browser/tab_contents/tab_util.h" 14 #include "chrome/browser/tab_contents/tab_util.h"
15 #include "chrome/browser/ui/constrained_window.h" 15 #include "chrome/browser/ui/constrained_window.h"
16 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 16 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
17 #include "chrome/common/chrome_notification_types.h" 17 #include "chrome/common/chrome_notification_types.h"
18 #include "content/public/browser/browser_thread.h" 18 #include "content/public/browser/browser_thread.h"
19 #include "content/public/browser/notification_registrar.h" 19 #include "content/public/browser/notification_registrar.h"
20 #include "content/public/browser/notification_service.h" 20 #include "content/public/browser/notification_service.h"
21 #include "content/public/browser/render_view_host.h" 21 #include "content/public/browser/render_view_host.h"
22 #include "content/public/browser/render_view_host_delegate.h"
23 #include "content/public/browser/resource_dispatcher_host.h" 22 #include "content/public/browser/resource_dispatcher_host.h"
24 #include "content/public/browser/resource_request_info.h" 23 #include "content/public/browser/resource_request_info.h"
25 #include "content/public/browser/web_contents.h" 24 #include "content/public/browser/web_contents.h"
26 #include "grit/generated_resources.h" 25 #include "grit/generated_resources.h"
27 #include "net/base/auth.h" 26 #include "net/base/auth.h"
28 #include "net/base/net_util.h" 27 #include "net/base/net_util.h"
29 #include "net/http/http_transaction_factory.h" 28 #include "net/http/http_transaction_factory.h"
30 #include "net/url_request/url_request.h" 29 #include "net/url_request/url_request.h"
31 #include "net/url_request/url_request_context.h" 30 #include "net/url_request/url_request_context.h"
32 #include "ui/base/l10n/l10n_util.h" 31 #include "ui/base/l10n/l10n_util.h"
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 468
470 LoginHandler* CreateLoginPrompt(net::AuthChallengeInfo* auth_info, 469 LoginHandler* CreateLoginPrompt(net::AuthChallengeInfo* auth_info,
471 net::URLRequest* request) { 470 net::URLRequest* request) {
472 LoginHandler* handler = LoginHandler::Create(auth_info, request); 471 LoginHandler* handler = LoginHandler::Create(auth_info, request);
473 BrowserThread::PostTask( 472 BrowserThread::PostTask(
474 BrowserThread::UI, FROM_HERE, 473 BrowserThread::UI, FROM_HERE,
475 base::Bind(&LoginDialogCallback, request->url(), 474 base::Bind(&LoginDialogCallback, request->url(),
476 make_scoped_refptr(auth_info), make_scoped_refptr(handler))); 475 make_scoped_refptr(auth_info), make_scoped_refptr(handler)));
477 return handler; 476 return handler;
478 } 477 }
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_ssl_helper.h ('k') | chrome/browser/ui/views/find_bar_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698