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

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

Issue 42263: SSL Fix: Step 4.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 | « no previous file | chrome/browser/renderer_host/render_view_host.h » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H__ 5 #ifndef CHROME_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H__
6 #define CHROME_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H__ 6 #define CHROME_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H__
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "googleurl/src/gurl.h" 9 #include "googleurl/src/gurl.h"
10 10
11 class LoadFromMemoryCacheDetails { 11 class LoadFromMemoryCacheDetails {
12 public: 12 public:
13 LoadFromMemoryCacheDetails(const GURL& url, int cert_id, int cert_status) 13 LoadFromMemoryCacheDetails(
14 : url_(url), 14 const GURL& url,
15 cert_id_(cert_id), 15 const std::string& frame_origin,
16 cert_status_(cert_status) 16 const std::string& main_frame_origin,
17 int cert_id,
18 int cert_status)
19 : url_(url),
20 frame_origin_(frame_origin),
21 main_frame_origin_(main_frame_origin_),
22 cert_id_(cert_id),
23 cert_status_(cert_status)
17 { } 24 { }
18 25
19 ~LoadFromMemoryCacheDetails() { } 26 ~LoadFromMemoryCacheDetails() { }
20 27
21 const GURL& url() const { return url_; } 28 const GURL& url() const { return url_; }
29 const std::string& frame_origin() const { return frame_origin_; }
30 const std::string& main_frame_origin() const { return main_frame_origin_; }
22 int ssl_cert_id() const { return cert_id_; } 31 int ssl_cert_id() const { return cert_id_; }
23 int ssl_cert_status() const { return cert_status_; } 32 int ssl_cert_status() const { return cert_status_; }
24 33
25 private: 34 private:
26 GURL url_; 35 GURL url_;
36 std::string frame_origin_;
37 std::string main_frame_origin_;
27 int cert_id_; 38 int cert_id_;
28 int cert_status_; 39 int cert_status_;
29 40
30 DISALLOW_EVIL_CONSTRUCTORS(LoadFromMemoryCacheDetails); 41 DISALLOW_EVIL_CONSTRUCTORS(LoadFromMemoryCacheDetails);
31 }; 42 };
32 43
33 #endif // CHROME_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H__ 44 #endif // CHROME_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H__
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/renderer_host/render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698