summaryrefslogtreecommitdiffstats
path: root/content/browser/load_from_memory_cache_details.h
blob: 4524014e692eb54c63ea352fbfd3af5e37bff6d2 (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
26
27
28
29
30
31
32
33
34
35
36
// 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.

#ifndef CONTENT_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_
#define CONTENT_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_
#pragma once

#include "base/basictypes.h"
#include "googleurl/src/gurl.h"
#include "net/base/cert_status_flags.h"

class LoadFromMemoryCacheDetails {
 public:
   LoadFromMemoryCacheDetails(
       const GURL& url,
       int pid,
       int cert_id,
       net::CertStatus cert_status);
  ~LoadFromMemoryCacheDetails();

  const GURL& url() const { return url_; }
  int pid() const { return pid_; }
  int ssl_cert_id() const { return cert_id_; }
  net::CertStatus ssl_cert_status() const { return cert_status_; }

 private:
  GURL url_;
  int pid_;
  int cert_id_;
  net::CertStatus cert_status_;

  DISALLOW_COPY_AND_ASSIGN(LoadFromMemoryCacheDetails);
};

#endif  // CONTENT_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_