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

Unified Diff: content/shell/shell_resource_dispatcher_host_delegate.cc

Issue 23316003: [content shell] move browser process stuff into browser/ subdir (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: content/shell/shell_resource_dispatcher_host_delegate.cc
diff --git a/content/shell/shell_resource_dispatcher_host_delegate.cc b/content/shell/shell_resource_dispatcher_host_delegate.cc
deleted file mode 100644
index 1637eddef4aff608a4c114ecd0271a88ee01c5ef..0000000000000000000000000000000000000000
--- a/content/shell/shell_resource_dispatcher_host_delegate.cc
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "content/shell/shell_resource_dispatcher_host_delegate.h"
-
-#include "base/command_line.h"
-#include "content/shell/common/shell_switches.h"
-#include "content/shell/shell_login_dialog.h"
-
-namespace content {
-
-ShellResourceDispatcherHostDelegate::ShellResourceDispatcherHostDelegate() {
-}
-
-ShellResourceDispatcherHostDelegate::~ShellResourceDispatcherHostDelegate() {
-}
-
-bool ShellResourceDispatcherHostDelegate::AcceptAuthRequest(
- net::URLRequest* request,
- net::AuthChallengeInfo* auth_info) {
- bool accept_auth_request =
- !CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree);
- return accept_auth_request;
-}
-
-ResourceDispatcherHostLoginDelegate*
-ShellResourceDispatcherHostDelegate::CreateLoginDelegate(
- net::AuthChallengeInfo* auth_info, net::URLRequest* request) {
- if (!login_request_callback_.is_null()) {
- login_request_callback_.Run();
- login_request_callback_.Reset();
- return NULL;
- }
-
-#if !defined(OS_MACOSX) && !defined(TOOLKIT_GTK)
-// TODO: implement ShellLoginDialog for other platforms, drop this #if
- return NULL;
-#else
- return new ShellLoginDialog(auth_info, request);
-#endif
-}
-
-} // namespace content
« no previous file with comments | « content/shell/shell_resource_dispatcher_host_delegate.h ('k') | content/shell/shell_url_request_context_getter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698