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

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

Issue 6272025: Part 2 of repairing regressions to my old clang check plugins so Nico can (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright 2011 Created 9 years, 10 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) 2010 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 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 #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 11
12 class LoadFromMemoryCacheDetails { 12 class LoadFromMemoryCacheDetails {
13 public: 13 public:
14 LoadFromMemoryCacheDetails( 14 LoadFromMemoryCacheDetails(
15 const GURL& url, 15 const GURL& url,
16 const std::string& frame_origin, 16 const std::string& frame_origin,
17 const std::string& main_frame_origin, 17 const std::string& main_frame_origin,
18 int pid, 18 int pid,
19 int cert_id, 19 int cert_id,
20 int cert_status) 20 int cert_status);
21 : url_(url), 21 ~LoadFromMemoryCacheDetails();
22 frame_origin_(frame_origin),
23 main_frame_origin_(main_frame_origin),
24 pid_(pid),
25 cert_id_(cert_id),
26 cert_status_(cert_status)
27 { }
28
29 ~LoadFromMemoryCacheDetails() { }
30 22
31 const GURL& url() const { return url_; } 23 const GURL& url() const { return url_; }
32 const std::string& frame_origin() const { return frame_origin_; } 24 const std::string& frame_origin() const { return frame_origin_; }
33 const std::string& main_frame_origin() const { return main_frame_origin_; } 25 const std::string& main_frame_origin() const { return main_frame_origin_; }
34 int pid() const { return pid_; } 26 int pid() const { return pid_; }
35 int ssl_cert_id() const { return cert_id_; } 27 int ssl_cert_id() const { return cert_id_; }
36 int ssl_cert_status() const { return cert_status_; } 28 int ssl_cert_status() const { return cert_status_; }
37 29
38 private: 30 private:
39 GURL url_; 31 GURL url_;
40 std::string frame_origin_; 32 std::string frame_origin_;
41 std::string main_frame_origin_; 33 std::string main_frame_origin_;
42 int pid_; 34 int pid_;
43 int cert_id_; 35 int cert_id_;
44 int cert_status_; 36 int cert_status_;
45 37
46 DISALLOW_COPY_AND_ASSIGN(LoadFromMemoryCacheDetails); 38 DISALLOW_COPY_AND_ASSIGN(LoadFromMemoryCacheDetails);
47 }; 39 };
48 40
49 #endif // CHROME_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H__ 41 #endif // CHROME_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H__
OLDNEW
« no previous file with comments | « chrome/browser/extensions/external_pref_extension_loader.cc ('k') | chrome/browser/load_from_memory_cache_details.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698