summaryrefslogtreecommitdiff
path: root/chromium/net/http/mock_allow_http_auth_preferences.cc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-01-25 11:39:07 +0100
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-01-25 15:20:42 +0000
commit6c91641271e536ffaa88a1dff5127e42ee99a91e (patch)
tree703d9dd49602377ddc90cbf886aad37913f2496b /chromium/net/http/mock_allow_http_auth_preferences.cc
parentb145b7fafd36f0c260d6a768c81fc14e32578099 (diff)
downloadqtwebengine-chromium-6c91641271e536ffaa88a1dff5127e42ee99a91e.tar.gz
BASELINE: Update Chromium to 49.0.2623.23
Also adds missing printing sources. Change-Id: I3726b8f0c7d6751c9fc846096c571fadca7108cd Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'chromium/net/http/mock_allow_http_auth_preferences.cc')
-rw-r--r--chromium/net/http/mock_allow_http_auth_preferences.cc29
1 files changed, 29 insertions, 0 deletions
diff --git a/chromium/net/http/mock_allow_http_auth_preferences.cc b/chromium/net/http/mock_allow_http_auth_preferences.cc
new file mode 100644
index 00000000000..8951139aa31
--- /dev/null
+++ b/chromium/net/http/mock_allow_http_auth_preferences.cc
@@ -0,0 +1,29 @@
+// Copyright (c) 2011 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/mock_allow_http_auth_preferences.h"
+
+namespace net {
+
+MockAllowHttpAuthPreferences::MockAllowHttpAuthPreferences()
+ : HttpAuthPreferences(std::vector<std::string>()
+#if defined(OS_POSIX) && !defined(OS_ANDROID)
+ ,
+ std::string()
+#endif
+ ) {
+}
+
+MockAllowHttpAuthPreferences::~MockAllowHttpAuthPreferences() {}
+
+bool MockAllowHttpAuthPreferences::CanUseDefaultCredentials(
+ const GURL& auth_origin) const {
+ return true;
+}
+
+bool MockAllowHttpAuthPreferences::CanDelegate(const GURL& auth_origin) const {
+ return true;
+}
+
+} // namespace net