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

Side by Side Diff: content/shell/shell_resource_dispatcher_host_delegate.cc

Issue 10809016: Move content_shell and content_browsertests code into the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix android Created 8 years, 5 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 "content/shell/shell_resource_dispatcher_host_delegate.h" 5 #include "content/shell/shell_resource_dispatcher_host_delegate.h"
6 6
7 #include "content/shell/shell_login_dialog.h" 7 #include "content/shell/shell_login_dialog.h"
8 8
9 namespace content { 9 namespace content {
10 10
11 ShellResourceDispatcherHostDelegate::ShellResourceDispatcherHostDelegate() { 11 ShellResourceDispatcherHostDelegate::ShellResourceDispatcherHostDelegate() {
12 } 12 }
13 13
14 ShellResourceDispatcherHostDelegate::~ShellResourceDispatcherHostDelegate() { 14 ShellResourceDispatcherHostDelegate::~ShellResourceDispatcherHostDelegate() {
15 } 15 }
16 16
17 bool ShellResourceDispatcherHostDelegate::AcceptAuthRequest( 17 bool ShellResourceDispatcherHostDelegate::AcceptAuthRequest(
18 net::URLRequest* request, 18 net::URLRequest* request,
19 net::AuthChallengeInfo* auth_info) { 19 net::AuthChallengeInfo* auth_info) {
20 // Why not give it a try? 20 // Why not give it a try?
21 return true; 21 return true;
22 } 22 }
23 23
24 content::ResourceDispatcherHostLoginDelegate* 24 ResourceDispatcherHostLoginDelegate*
25 ShellResourceDispatcherHostDelegate::CreateLoginDelegate( 25 ShellResourceDispatcherHostDelegate::CreateLoginDelegate(
26 net::AuthChallengeInfo* auth_info, net::URLRequest* request) { 26 net::AuthChallengeInfo* auth_info, net::URLRequest* request) {
27 #if !defined(OS_MACOSX) 27 #if !defined(OS_MACOSX)
28 // TODO: implement ShellLoginDialog for other platforms, drop this #if 28 // TODO: implement ShellLoginDialog for other platforms, drop this #if
29 return NULL; 29 return NULL;
30 #else 30 #else
31 return new ShellLoginDialog(auth_info, request); 31 return new ShellLoginDialog(auth_info, request);
32 #endif 32 #endif
33 } 33 }
34 34
35 } // namespace content 35 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/shell_resource_dispatcher_host_delegate.h ('k') | content/test/content_browser_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698