summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util
diff options
context:
space:
mode:
authortfarina <tfarina@chromium.org>2015-08-14 08:39:42 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-14 15:40:17 +0000
commitd6b82982c568c32e254ccb43a7c4e30e9de7219d (patch)
tree5ee7891cbe1e7ed7a21cdce50e2772fa9fac8614 /chrome/installer/util
parentc2b471481e3f6ffdbe851460bcf07f73b5c8b18c (diff)
downloadchromium_src-d6b82982c568c32e254ccb43a7c4e30e9de7219d.zip
chromium_src-d6b82982c568c32e254ccb43a7c4e30e9de7219d.tar.gz
chromium_src-d6b82982c568c32e254ccb43a7c4e30e9de7219d.tar.bz2
chrome/installer: Remove unused GetNetworkStatsServer() method.
Nobody seems to be calling it, so lets remove it. BUG=None R=robertshield@chromium.org Review URL: https://codereview.chromium.org/1290283002 Cr-Commit-Position: refs/heads/master@{#343390}
Diffstat (limited to 'chrome/installer/util')
-rw-r--r--chrome/installer/util/browser_distribution.cc4
-rw-r--r--chrome/installer/util/browser_distribution.h2
-rw-r--r--chrome/installer/util/chrome_frame_distribution.cc5
-rw-r--r--chrome/installer/util/chrome_frame_distribution.h2
-rw-r--r--chrome/installer/util/google_chrome_distribution.cc5
-rw-r--r--chrome/installer/util/google_chrome_distribution.h2
-rw-r--r--chrome/installer/util/google_chrome_distribution_dummy.cc4
7 files changed, 0 insertions, 24 deletions
diff --git a/chrome/installer/util/browser_distribution.cc b/chrome/installer/util/browser_distribution.cc
index 9457890..4189fd9 100644
--- a/chrome/installer/util/browser_distribution.cc
+++ b/chrome/installer/util/browser_distribution.cc
@@ -236,10 +236,6 @@ std::string BrowserDistribution::GetSafeBrowsingName() {
return "chromium";
}
-std::string BrowserDistribution::GetNetworkStatsServer() const {
- return "";
-}
-
base::string16 BrowserDistribution::GetDistributionData(HKEY root_key) {
return L"";
}
diff --git a/chrome/installer/util/browser_distribution.h b/chrome/installer/util/browser_distribution.h
index 46fc4b9..ac3780b 100644
--- a/chrome/installer/util/browser_distribution.h
+++ b/chrome/installer/util/browser_distribution.h
@@ -126,8 +126,6 @@ class BrowserDistribution {
virtual std::string GetSafeBrowsingName();
- virtual std::string GetNetworkStatsServer() const;
-
#if defined(OS_WIN)
virtual base::string16 GetDistributionData(HKEY root_key);
#endif
diff --git a/chrome/installer/util/chrome_frame_distribution.cc b/chrome/installer/util/chrome_frame_distribution.cc
index 11d8507..0d9889fb 100644
--- a/chrome/installer/util/chrome_frame_distribution.cc
+++ b/chrome/installer/util/chrome_frame_distribution.cc
@@ -10,7 +10,6 @@
#include "chrome/installer/util/chrome_frame_distribution.h"
#include "base/strings/string_util.h"
-#include "chrome/common/net/test_server_locations.h"
#include "chrome/installer/util/channel_info.h"
#include "chrome/installer/util/google_update_constants.h"
#include "chrome/installer/util/google_update_settings.h"
@@ -81,10 +80,6 @@ std::string ChromeFrameDistribution::GetSafeBrowsingName() {
return "googlechromeframe";
}
-std::string ChromeFrameDistribution::GetNetworkStatsServer() const {
- return chrome_common_net::kEchoTestServerLocation;
-}
-
base::string16 ChromeFrameDistribution::GetUninstallLinkName() {
return L"Uninstall Chrome Frame";
}
diff --git a/chrome/installer/util/chrome_frame_distribution.h b/chrome/installer/util/chrome_frame_distribution.h
index ac3b879..6492c19 100644
--- a/chrome/installer/util/chrome_frame_distribution.h
+++ b/chrome/installer/util/chrome_frame_distribution.h
@@ -35,8 +35,6 @@ class ChromeFrameDistribution : public BrowserDistribution {
std::string GetSafeBrowsingName() override;
- std::string GetNetworkStatsServer() const override;
-
base::string16 GetUninstallLinkName() override;
base::string16 GetUninstallRegPath() override;
diff --git a/chrome/installer/util/google_chrome_distribution.cc b/chrome/installer/util/google_chrome_distribution.cc
index fe50c10..17d761d 100644
--- a/chrome/installer/util/google_chrome_distribution.cc
+++ b/chrome/installer/util/google_chrome_distribution.cc
@@ -18,7 +18,6 @@
#include "base/win/registry.h"
#include "base/win/windows_version.h"
#include "chrome/common/chrome_icon_resources_win.h"
-#include "chrome/common/net/test_server_locations.h"
#include "chrome/installer/util/app_registration_data.h"
#include "chrome/installer/util/channel_info.h"
#include "chrome/installer/util/google_update_constants.h"
@@ -191,10 +190,6 @@ std::string GoogleChromeDistribution::GetSafeBrowsingName() {
return "googlechrome";
}
-std::string GoogleChromeDistribution::GetNetworkStatsServer() const {
- return chrome_common_net::kEchoTestServerLocation;
-}
-
base::string16 GoogleChromeDistribution::GetDistributionData(HKEY root_key) {
base::string16 sub_key(google_update::kRegPathClientState);
sub_key.append(L"\\");
diff --git a/chrome/installer/util/google_chrome_distribution.h b/chrome/installer/util/google_chrome_distribution.h
index 18076da..4f21d88 100644
--- a/chrome/installer/util/google_chrome_distribution.h
+++ b/chrome/installer/util/google_chrome_distribution.h
@@ -58,8 +58,6 @@ class GoogleChromeDistribution : public BrowserDistribution {
std::string GetSafeBrowsingName() override;
- std::string GetNetworkStatsServer() const override;
-
// This method reads data from the Google Update ClientState key for
// potential use in the uninstall survey. It must be called before the
// key returned by GetVersionKey() is deleted.
diff --git a/chrome/installer/util/google_chrome_distribution_dummy.cc b/chrome/installer/util/google_chrome_distribution_dummy.cc
index 126eeff..ad63b66 100644
--- a/chrome/installer/util/google_chrome_distribution_dummy.cc
+++ b/chrome/installer/util/google_chrome_distribution_dummy.cc
@@ -81,10 +81,6 @@ std::string GoogleChromeDistribution::GetSafeBrowsingName() {
return std::string();
}
-std::string GoogleChromeDistribution::GetNetworkStatsServer() const {
- return std::string();
-}
-
base::string16 GoogleChromeDistribution::GetDistributionData(HKEY root_key) {
return base::string16();
}