summaryrefslogtreecommitdiffstats
path: root/net/base/cert_status_flags.h
diff options
context:
space:
mode:
authormmentovai@google.com <mmentovai@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-21 18:06:12 +0000
committermmentovai@google.com <mmentovai@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-21 18:06:12 +0000
commit0810c506e44b6b06c73836982cb525dfa6e4de4b (patch)
treeae75d60412ff487375940c94c033b453fbf2256d /net/base/cert_status_flags.h
parent4d069c78bec96eacdf703f699ab9680e42b6b5e3 (diff)
downloadchromium_src-0810c506e44b6b06c73836982cb525dfa6e4de4b.zip
chromium_src-0810c506e44b6b06c73836982cb525dfa6e4de4b.tar.gz
chromium_src-0810c506e44b6b06c73836982cb525dfa6e4de4b.tar.bz2
Mark static method defined in header as inline
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1162 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/cert_status_flags.h')
-rw-r--r--net/base/cert_status_flags.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/base/cert_status_flags.h b/net/base/cert_status_flags.h
index 0812eb0..e816d45 100644
--- a/net/base/cert_status_flags.h
+++ b/net/base/cert_status_flags.h
@@ -27,8 +27,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#ifndef NET_BASE_CERT_STATUS_FLAGS_H__
-#define NET_BASE_CERT_STATUS_FLAGS_H__
+#ifndef NET_BASE_CERT_STATUS_FLAGS_H_
+#define NET_BASE_CERT_STATUS_FLAGS_H_
namespace net {
@@ -54,10 +54,10 @@ enum {
};
// Returns true if the specified cert status has an error set.
-static bool IsCertStatusError(int status) {
+static inline bool IsCertStatusError(int status) {
return (CERT_STATUS_ALL_ERRORS & status) != 0;
}
} // namespace net
-#endif // NET_BASE_CERT_STATUS_FLAGS_H__
+#endif // NET_BASE_CERT_STATUS_FLAGS_H_