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

Side by Side Diff: chrome/browser/devtools/devtools_network_transaction.h

Issue 2519473002: Fixes the cache lock issue. (Closed)
Patch Set: Initial patch Created 4 years 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_DEVTOOLS_DEVTOOLS_NETWORK_TRANSACTION_H_ 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_TRANSACTION_H_
6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_TRANSACTION_H_ 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_TRANSACTION_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 DevToolsNetworkTransaction( 50 DevToolsNetworkTransaction(
51 DevToolsNetworkController* controller, 51 DevToolsNetworkController* controller,
52 std::unique_ptr<net::HttpTransaction> network_transaction); 52 std::unique_ptr<net::HttpTransaction> network_transaction);
53 53
54 ~DevToolsNetworkTransaction() override; 54 ~DevToolsNetworkTransaction() override;
55 55
56 // HttpTransaction methods: 56 // HttpTransaction methods:
57 int Start(const net::HttpRequestInfo* request, 57 int Start(const net::HttpRequestInfo* request,
58 const net::CompletionCallback& callback, 58 const net::CompletionCallback& callback,
59 const net::NetLogWithSource& net_log) override; 59 const net::NetLogWithSource& net_log) override;
60 void Orphan(std::unique_ptr<HttpTransaction> trans) override;
jkarlin 2016/12/06 18:08:17 Avoid abbreviating variable names, prefer http_tra
shivanisha 2016/12/06 21:53:34 Done in all the new code.
60 int RestartIgnoringLastError( 61 int RestartIgnoringLastError(
61 const net::CompletionCallback& callback) override; 62 const net::CompletionCallback& callback) override;
62 int RestartWithCertificate(net::X509Certificate* client_cert, 63 int RestartWithCertificate(net::X509Certificate* client_cert,
63 net::SSLPrivateKey* client_private_key, 64 net::SSLPrivateKey* client_private_key,
64 const net::CompletionCallback& callback) override; 65 const net::CompletionCallback& callback) override;
65 int RestartWithAuth(const net::AuthCredentials& credentials, 66 int RestartWithAuth(const net::AuthCredentials& credentials,
66 const net::CompletionCallback& callback) override; 67 const net::CompletionCallback& callback) override;
67 bool IsReadyToRestartForAuth() override; 68 bool IsReadyToRestartForAuth() override;
68 69
69 int Read(net::IOBuffer* buf, 70 int Read(net::IOBuffer* buf,
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 125
125 const net::HttpRequestInfo* request_; 126 const net::HttpRequestInfo* request_;
126 127
127 // True if Fail was already invoked. 128 // True if Fail was already invoked.
128 bool failed_; 129 bool failed_;
129 130
130 DISALLOW_COPY_AND_ASSIGN(DevToolsNetworkTransaction); 131 DISALLOW_COPY_AND_ASSIGN(DevToolsNetworkTransaction);
131 }; 132 };
132 133
133 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_TRANSACTION_H_ 134 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_TRANSACTION_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/devtools/devtools_network_transaction.cc » ('j') | net/base/load_states_list.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698