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

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

Issue 7819009: For the SSL cert status, convert anonymous enum that gives bit values into a typedefed uint32. Th... (Closed) Base URL: svn://chrome-svn/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
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"
11 12
12 class LoadFromMemoryCacheDetails { 13 class LoadFromMemoryCacheDetails {
13 public: 14 public:
14 LoadFromMemoryCacheDetails( 15 LoadFromMemoryCacheDetails(
15 const GURL& url, 16 const GURL& url,
16 int pid, 17 int pid,
17 int cert_id, 18 int cert_id,
18 int cert_status); 19 net::CertStatus cert_status);
19 ~LoadFromMemoryCacheDetails(); 20 ~LoadFromMemoryCacheDetails();
20 21
21 const GURL& url() const { return url_; } 22 const GURL& url() const { return url_; }
22 int pid() const { return pid_; } 23 int pid() const { return pid_; }
23 int ssl_cert_id() const { return cert_id_; } 24 int ssl_cert_id() const { return cert_id_; }
24 int ssl_cert_status() const { return cert_status_; } 25 net::CertStatus ssl_cert_status() const { return cert_status_; }
25 26
26 private: 27 private:
27 GURL url_; 28 GURL url_;
28 int pid_; 29 int pid_;
29 int cert_id_; 30 int cert_id_;
30 int cert_status_; 31 net::CertStatus cert_status_;
31 32
32 DISALLOW_COPY_AND_ASSIGN(LoadFromMemoryCacheDetails); 33 DISALLOW_COPY_AND_ASSIGN(LoadFromMemoryCacheDetails);
33 }; 34 };
34 35
35 #endif // CONTENT_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_ 36 #endif // CONTENT_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698