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

Side by Side Diff: content/browser/loader/async_resource_handler.h

Issue 2315443003: Stop sending serialized SSLStatus to the renderer. (Closed)
Patch Set: self review fix and merge fix Created 4 years, 3 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
« no previous file with comments | « content/browser/loader/DEPS ('k') | content/browser/loader/async_resource_handler.cc » ('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) 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_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_
6 #define CONTENT_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_ 6 #define CONTENT_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 bool OnRequestRedirected(const net::RedirectInfo& redirect_info, 44 bool OnRequestRedirected(const net::RedirectInfo& redirect_info,
45 ResourceResponse* response, 45 ResourceResponse* response,
46 bool* defer) override; 46 bool* defer) override;
47 bool OnResponseStarted(ResourceResponse* response, bool* defer) override; 47 bool OnResponseStarted(ResourceResponse* response, bool* defer) override;
48 bool OnWillStart(const GURL& url, bool* defer) override; 48 bool OnWillStart(const GURL& url, bool* defer) override;
49 bool OnWillRead(scoped_refptr<net::IOBuffer>* buf, 49 bool OnWillRead(scoped_refptr<net::IOBuffer>* buf,
50 int* buf_size, 50 int* buf_size,
51 int min_size) override; 51 int min_size) override;
52 bool OnReadCompleted(int bytes_read, bool* defer) override; 52 bool OnReadCompleted(int bytes_read, bool* defer) override;
53 void OnResponseCompleted(const net::URLRequestStatus& status, 53 void OnResponseCompleted(const net::URLRequestStatus& status,
54 const std::string& security_info,
55 bool* defer) override; 54 bool* defer) override;
56 void OnDataDownloaded(int bytes_downloaded) override; 55 void OnDataDownloaded(int bytes_downloaded) override;
57 56
58 private: 57 private:
59 class InliningHelper; 58 class InliningHelper;
60 59
61 // IPC message handlers: 60 // IPC message handlers:
62 void OnFollowRedirect(int request_id); 61 void OnFollowRedirect(int request_id);
63 void OnDataReceivedACK(int request_id); 62 void OnDataReceivedACK(int request_id);
64 void OnUploadProgressACK(int request_id); 63 void OnUploadProgressACK(int request_id);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 97
99 int64_t reported_transfer_size_; 98 int64_t reported_transfer_size_;
100 int64_t reported_encoded_body_length_; 99 int64_t reported_encoded_body_length_;
101 100
102 DISALLOW_COPY_AND_ASSIGN(AsyncResourceHandler); 101 DISALLOW_COPY_AND_ASSIGN(AsyncResourceHandler);
103 }; 102 };
104 103
105 } // namespace content 104 } // namespace content
106 105
107 #endif // CONTENT_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_ 106 #endif // CONTENT_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_
OLDNEW
« no previous file with comments | « content/browser/loader/DEPS ('k') | content/browser/loader/async_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698