Home | History | Annotate | Download | only in browser
      1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #ifndef CHROME_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H__
      6 #define CHROME_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H__
      7 #pragma once
      8 
      9 #include "base/basictypes.h"
     10 #include "googleurl/src/gurl.h"
     11 
     12 class LoadFromMemoryCacheDetails {
     13  public:
     14    LoadFromMemoryCacheDetails(
     15        const GURL& url,
     16        int pid,
     17        int cert_id,
     18        int cert_status);
     19   ~LoadFromMemoryCacheDetails();
     20 
     21   const GURL& url() const { return url_; }
     22   int pid() const { return pid_; }
     23   int ssl_cert_id() const { return cert_id_; }
     24   int ssl_cert_status() const { return cert_status_; }
     25 
     26  private:
     27   GURL url_;
     28   int pid_;
     29   int cert_id_;
     30   int cert_status_;
     31 
     32   DISALLOW_COPY_AND_ASSIGN(LoadFromMemoryCacheDetails);
     33 };
     34 
     35 #endif  // CHROME_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H__
     36