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

Unified Diff: content/browser/load_from_memory_cache_details.h

Issue 10582007: Moving LoadFromMemoryCacheDetails to content/public/browser and making it a struct. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixing include order. Created 8 years, 6 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 | « no previous file | content/browser/load_from_memory_cache_details.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/load_from_memory_cache_details.h
diff --git a/content/browser/load_from_memory_cache_details.h b/content/browser/load_from_memory_cache_details.h
deleted file mode 100644
index 1c69ca3919ca3b5f68c5edc21a7b27d691130d34..0000000000000000000000000000000000000000
--- a/content/browser/load_from_memory_cache_details.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2012 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 CONTENT_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_
-#define CONTENT_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_
-#pragma once
-
-#include <string>
-#include "base/basictypes.h"
-#include "googleurl/src/gurl.h"
-#include "net/base/cert_status_flags.h"
-#include "webkit/glue/resource_type.h"
-
-class LoadFromMemoryCacheDetails {
- public:
- LoadFromMemoryCacheDetails(
- const GURL& url,
- int pid,
- int cert_id,
- net::CertStatus cert_status,
- const std::string& http_method,
- const std::string& mime_type,
- ResourceType::Type resource_type);
- ~LoadFromMemoryCacheDetails();
-
- const GURL& url() const { return url_; }
- int pid() const { return pid_; }
- int ssl_cert_id() const { return cert_id_; }
- net::CertStatus ssl_cert_status() const { return cert_status_; }
- const std::string& http_method() const { return http_method_; }
- const std::string& mime_type() const { return mime_type_; }
- ResourceType::Type resource_type() const { return resource_type_; }
-
- private:
- GURL url_;
- int pid_;
- int cert_id_;
- net::CertStatus cert_status_;
- std::string http_method_;
- std::string mime_type_;
- ResourceType::Type resource_type_;
-
- DISALLOW_COPY_AND_ASSIGN(LoadFromMemoryCacheDetails);
-};
-
-#endif // CONTENT_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_
« no previous file with comments | « no previous file | content/browser/load_from_memory_cache_details.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698