diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-30 23:51:24 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-30 23:51:24 +0000 |
commit | 84ea2d04c0f80098e6361f5eb783c6e6ec8ce2f1 (patch) | |
tree | d5450ecf0f33e4a1cf654043fc9087e72f708f34 /net/http/http_auth_gssapi_posix.h | |
parent | 3be6c69d07727f429c108a0c649bbbfb20403a47 (diff) | |
download | chromium_src-84ea2d04c0f80098e6361f5eb783c6e6ec8ce2f1.zip chromium_src-84ea2d04c0f80098e6361f5eb783c6e6ec8ce2f1.tar.gz chromium_src-84ea2d04c0f80098e6361f5eb783c6e6ec8ce2f1.tar.bz2 |
net: Add NET_API to more code to enable building
a shared net library on Linux, and update base and
crypto API definitions.
BUG=76997
TEST=none
Review URL: http://codereview.chromium.org/7240021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91234 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_auth_gssapi_posix.h')
-rw-r--r-- | net/http/http_auth_gssapi_posix.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/net/http/http_auth_gssapi_posix.h b/net/http/http_auth_gssapi_posix.h index 9b1d0ed..5777190 100644 --- a/net/http/http_auth_gssapi_posix.h +++ b/net/http/http_auth_gssapi_posix.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// 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. @@ -11,6 +11,7 @@ #include "base/gtest_prod_util.h" #include "base/native_library.h" #include "base/string16.h" +#include "net/base/net_api.h" #include "net/http/http_auth.h" #define GSS_USE_FUNCTION_POINTERS @@ -26,7 +27,7 @@ extern gss_OID CHROME_GSS_KRB5_MECH_OID_DESC; // library. The default implementation attempts to load one of the standard // GSSAPI library implementations, then simply passes the arguments on to // that implementation. -class GSSAPILibrary { +class NET_TEST GSSAPILibrary { public: virtual ~GSSAPILibrary() {} @@ -98,7 +99,7 @@ class GSSAPILibrary { }; // GSSAPISharedLibrary class is defined here so that unit tests can access it. -class GSSAPISharedLibrary : public GSSAPILibrary { +class NET_TEST GSSAPISharedLibrary : public GSSAPILibrary { public: // If |gssapi_library_name| is empty, hard-coded default library names are // used. @@ -213,7 +214,7 @@ class ScopedSecurityContext { // TODO(ahendrickson): Share code with HttpAuthSSPI. -class HttpAuthGSSAPI { +class NET_TEST HttpAuthGSSAPI { public: HttpAuthGSSAPI(GSSAPILibrary* library, const std::string& scheme, |