summaryrefslogtreecommitdiffstats
path: root/net/http/url_security_manager_posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/url_security_manager_posix.cc')
-rw-r--r--net/http/url_security_manager_posix.cc25
1 files changed, 25 insertions, 0 deletions
diff --git a/net/http/url_security_manager_posix.cc b/net/http/url_security_manager_posix.cc
new file mode 100644
index 0000000..84bae9f
--- /dev/null
+++ b/net/http/url_security_manager_posix.cc
@@ -0,0 +1,25 @@
+// 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 "googleurl/src/gurl.h"
+
+namespace net {
+
+class URLSecurityManagerDefault : public URLSecurityManager {
+ public:
+ // URLSecurityManager methods:
+ virtual bool CanUseDefaultCredentials(const GURL& auth_origin) const {
+ // TODO(wtc): use command-line whitelist.
+ return false;
+ }
+};
+
+// static
+URLSecurityManager* URLSecurityManager::Create() {
+ return new URLSecurityManagerDefault;
+}
+
+} // namespace net