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

Unified Diff: chrome/browser/ssl/ssl_request_info.h

Issue 7111013: Move most of the core SSL code from chrome to content. The UI code that's specific to Chrome (i.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ssl/ssl_policy_backend.cc ('k') | chrome/browser/ssl/ssl_request_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ssl/ssl_request_info.h
===================================================================
--- chrome/browser/ssl/ssl_request_info.h (revision 87796)
+++ chrome/browser/ssl/ssl_request_info.h (working copy)
@@ -1,46 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_SSL_SSL_REQUEST_INFO_H_
-#define CHROME_BROWSER_SSL_SSL_REQUEST_INFO_H_
-#pragma once
-
-#include <string>
-
-#include "base/memory/ref_counted.h"
-#include "googleurl/src/gurl.h"
-#include "webkit/glue/resource_type.h"
-
-// SSLRequestInfo wraps up the information SSLPolicy needs about a request in
-// order to update our security IU. SSLRequestInfo is RefCounted in case we
-// need to deal with the request asynchronously.
-class SSLRequestInfo : public base::RefCounted<SSLRequestInfo> {
- public:
- SSLRequestInfo(const GURL& url,
- ResourceType::Type resource_type,
- int child_id,
- int ssl_cert_id,
- int ssl_cert_status);
-
- const GURL& url() const { return url_; }
- ResourceType::Type resource_type() const { return resource_type_; }
- int child_id() const { return child_id_; }
- int ssl_cert_id() const { return ssl_cert_id_; }
- int ssl_cert_status() const { return ssl_cert_status_; }
-
- private:
- friend class base::RefCounted<SSLRequestInfo>;
-
- virtual ~SSLRequestInfo();
-
- GURL url_;
- ResourceType::Type resource_type_;
- int child_id_;
- int ssl_cert_id_;
- int ssl_cert_status_;
-
- DISALLOW_COPY_AND_ASSIGN(SSLRequestInfo);
-};
-
-#endif // CHROME_BROWSER_SSL_SSL_REQUEST_INFO_H_
« no previous file with comments | « chrome/browser/ssl/ssl_policy_backend.cc ('k') | chrome/browser/ssl/ssl_request_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698