Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: content/browser/load_from_memory_cache_details.h

Issue 7995014: Revert 102322 - For the SSL cert status, convert anonymous enum that gives bit values into a type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/automation/tab_proxy.cc ('k') | content/browser/load_from_memory_cache_details.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_ 5 #ifndef CONTENT_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_
6 #define CONTENT_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_ 6 #define CONTENT_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "googleurl/src/gurl.h" 10 #include "googleurl/src/gurl.h"
11 #include "net/base/cert_status_flags.h"
12 11
13 class LoadFromMemoryCacheDetails { 12 class LoadFromMemoryCacheDetails {
14 public: 13 public:
15 LoadFromMemoryCacheDetails( 14 LoadFromMemoryCacheDetails(
16 const GURL& url, 15 const GURL& url,
17 int pid, 16 int pid,
18 int cert_id, 17 int cert_id,
19 net::CertStatus cert_status); 18 int cert_status);
20 ~LoadFromMemoryCacheDetails(); 19 ~LoadFromMemoryCacheDetails();
21 20
22 const GURL& url() const { return url_; } 21 const GURL& url() const { return url_; }
23 int pid() const { return pid_; } 22 int pid() const { return pid_; }
24 int ssl_cert_id() const { return cert_id_; } 23 int ssl_cert_id() const { return cert_id_; }
25 net::CertStatus ssl_cert_status() const { return cert_status_; } 24 int ssl_cert_status() const { return cert_status_; }
26 25
27 private: 26 private:
28 GURL url_; 27 GURL url_;
29 int pid_; 28 int pid_;
30 int cert_id_; 29 int cert_id_;
31 net::CertStatus cert_status_; 30 int cert_status_;
32 31
33 DISALLOW_COPY_AND_ASSIGN(LoadFromMemoryCacheDetails); 32 DISALLOW_COPY_AND_ASSIGN(LoadFromMemoryCacheDetails);
34 }; 33 };
35 34
36 #endif // CONTENT_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_ 35 #endif // CONTENT_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_
OLDNEW
« no previous file with comments | « chrome/test/automation/tab_proxy.cc ('k') | content/browser/load_from_memory_cache_details.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698