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

Side by Side Diff: chrome/browser/metrics/network_stats_uploader.h

Issue 275953002: Remove HTTP pipelining support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix line endings Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/browser/metrics/network_stats_uploader.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 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_METRICS_NETWORK_STATS_UPLOADER_H_ 5 #ifndef CHROME_BROWSER_METRICS_NETWORK_STATS_UPLOADER_H_
6 #define CHROME_BROWSER_METRICS_NETWORK_STATS_UPLOADER_H_ 6 #define CHROME_BROWSER_METRICS_NETWORK_STATS_UPLOADER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 11
12 class PrefService; 12 class PrefService;
13 class PrefRegistrySimple; 13 class PrefRegistrySimple;
14 14
15 // NetworkStatsUploader implements the collection of various network stats, 15 // NetworkStatsUploader implements the collection of various network stats,
16 // which is done upon successful transmission of an UMA log. 16 // which is done upon successful transmission of an UMA log.
17 class NetworkStatsUploader { 17 class NetworkStatsUploader {
18 public: 18 public:
19 NetworkStatsUploader(); 19 NetworkStatsUploader();
20 ~NetworkStatsUploader(); 20 ~NetworkStatsUploader();
21 21
22 // Collects and reports various network stats to external servers. 22 // Collects and reports various network stats to external servers.
23 void CollectAndReportNetworkStats(); 23 void CollectAndReportNetworkStats();
24 24
25 private: 25 private:
26 // The TCP/UDP echo server to collect network connectivity stats. 26 // The TCP/UDP echo server to collect network connectivity stats.
27 std::string network_stats_server_; 27 std::string network_stats_server_;
28 28
29 // The HTTP pipelining test server.
30 std::string http_pipelining_test_server_;
31
32 DISALLOW_COPY_AND_ASSIGN(NetworkStatsUploader); 29 DISALLOW_COPY_AND_ASSIGN(NetworkStatsUploader);
33 }; 30 };
34 31
35 #endif // CHROME_BROWSER_METRICS_NETWORK_STATS_UPLOADER_H_ 32 #endif // CHROME_BROWSER_METRICS_NETWORK_STATS_UPLOADER_H_
OLDNEW
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/browser/metrics/network_stats_uploader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698