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

Unified Diff: net/http/url_security_manager.cc

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « net/http/url_security_manager.h ('k') | net/http/url_security_manager_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/url_security_manager.cc
diff --git a/net/http/url_security_manager.cc b/net/http/url_security_manager.cc
deleted file mode 100644
index 4ff0f654dacfbcb192e1f83cda0e38bf98c1acd1..0000000000000000000000000000000000000000
--- a/net/http/url_security_manager.cc
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright (c) 2010 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 "net/http/url_security_manager.h"
-
-#include "net/http/http_auth_filter.h"
-
-namespace net {
-
-URLSecurityManagerWhitelist::URLSecurityManagerWhitelist(
- const HttpAuthFilter* whitelist_default,
- const HttpAuthFilter* whitelist_delegate)
- : whitelist_default_(whitelist_default),
- whitelist_delegate_(whitelist_delegate) {
-}
-
-URLSecurityManagerWhitelist::~URLSecurityManagerWhitelist() {}
-
-bool URLSecurityManagerWhitelist::CanUseDefaultCredentials(
- const GURL& auth_origin) const {
- if (whitelist_default_.get())
- return whitelist_default_->IsValid(auth_origin, HttpAuth::AUTH_SERVER);
- return false;
-}
-
-bool URLSecurityManagerWhitelist::CanDelegate(const GURL& auth_origin) const {
- if (whitelist_delegate_.get())
- return whitelist_delegate_->IsValid(auth_origin, HttpAuth::AUTH_SERVER);
- return false;
-}
-
-} // namespace net
« no previous file with comments | « net/http/url_security_manager.h ('k') | net/http/url_security_manager_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698