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

Side by Side Diff: content/public/browser/resource_request_details.h

Issue 671663002: Standardize usage of virtual/override/final in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PUBLIC_BROWSER_RESOURCE_REQUEST_DETAILS_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RESOURCE_REQUEST_DETAILS_H_
6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_REQUEST_DETAILS_H_ 6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_REQUEST_DETAILS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "content/public/common/resource_type.h" 10 #include "content/public/common/resource_type.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 // HTTP response code. See HttpResponseHeaders::response_code(). 43 // HTTP response code. See HttpResponseHeaders::response_code().
44 // -1 if there are no response headers yet. 44 // -1 if there are no response headers yet.
45 int http_response_code; 45 int http_response_code;
46 }; 46 };
47 47
48 // Details about a redirection of a resource request. 48 // Details about a redirection of a resource request.
49 struct ResourceRedirectDetails : public ResourceRequestDetails { 49 struct ResourceRedirectDetails : public ResourceRequestDetails {
50 ResourceRedirectDetails(const net::URLRequest* request, 50 ResourceRedirectDetails(const net::URLRequest* request,
51 int cert_id, 51 int cert_id,
52 const GURL& new_url); 52 const GURL& new_url);
53 virtual ~ResourceRedirectDetails(); 53 ~ResourceRedirectDetails() override;
54 54
55 // The URL to which we are being redirected. 55 // The URL to which we are being redirected.
56 GURL new_url; 56 GURL new_url;
57 }; 57 };
58 58
59 } // namespace content 59 } // namespace content
60 60
61 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_REQUEST_DETAILS_H_ 61 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_REQUEST_DETAILS_H_
OLDNEW
« no previous file with comments | « content/public/browser/resource_context.h ('k') | content/public/browser/screen_orientation_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698