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

Side by Side Diff: net/http/http_network_layer.h

Issue 8568021: Add OVERRIDE to net/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: net only Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « net/http/http_net_log_params.h ('k') | net/http/http_network_transaction.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 NET_HTTP_HTTP_NETWORK_LAYER_H_ 5 #ifndef NET_HTTP_HTTP_NETWORK_LAYER_H_
6 #define NET_HTTP_HTTP_NETWORK_LAYER_H_ 6 #define NET_HTTP_HTTP_NETWORK_LAYER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 30 matching lines...) Expand all
41 // Without calling this function, SPDY is disabled. The mode can be: 41 // Without calling this function, SPDY is disabled. The mode can be:
42 // "" : (default) SSL and compression are enabled, flow 42 // "" : (default) SSL and compression are enabled, flow
43 // control disabled. 43 // control disabled.
44 // "no-ssl" : disables SSL. 44 // "no-ssl" : disables SSL.
45 // "no-compress" : disables compression. 45 // "no-compress" : disables compression.
46 // "flow-control": enables flow control. 46 // "flow-control": enables flow control.
47 // "none" : disables both SSL and compression. 47 // "none" : disables both SSL and compression.
48 static void EnableSpdy(const std::string& mode); 48 static void EnableSpdy(const std::string& mode);
49 49
50 // HttpTransactionFactory methods: 50 // HttpTransactionFactory methods:
51 virtual int CreateTransaction(scoped_ptr<HttpTransaction>* trans); 51 virtual int CreateTransaction(scoped_ptr<HttpTransaction>* trans) OVERRIDE;
52 virtual HttpCache* GetCache(); 52 virtual HttpCache* GetCache() OVERRIDE;
53 virtual HttpNetworkSession* GetSession(); 53 virtual HttpNetworkSession* GetSession() OVERRIDE;
54 54
55 // base::SystemMonitor::PowerObserver methods: 55 // base::SystemMonitor::PowerObserver methods:
56 virtual void OnSuspend(); 56 virtual void OnSuspend() OVERRIDE;
57 virtual void OnResume(); 57 virtual void OnResume() OVERRIDE;
58 58
59 private: 59 private:
60 const scoped_refptr<HttpNetworkSession> session_; 60 const scoped_refptr<HttpNetworkSession> session_;
61 bool suspended_; 61 bool suspended_;
62 }; 62 };
63 63
64 } // namespace net 64 } // namespace net
65 65
66 #endif // NET_HTTP_HTTP_NETWORK_LAYER_H_ 66 #endif // NET_HTTP_HTTP_NETWORK_LAYER_H_
OLDNEW
« no previous file with comments | « net/http/http_net_log_params.h ('k') | net/http/http_network_transaction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698