blob: 84bae9fe40bd9e7ed287b0313c9a193d36205c84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
|