| Index: chrome/browser/component_updater/test/test_configurator.cc
|
| diff --git a/chrome/browser/component_updater/test/test_configurator.cc b/chrome/browser/component_updater/test/test_configurator.cc
|
| index 8cf49d26f183fe41d9ff02763f088c3f92af784a..1bc3add41fd196f50656b082a886e9c5eaa6dfea 100644
|
| --- a/chrome/browser/component_updater/test/test_configurator.cc
|
| +++ b/chrome/browser/component_updater/test/test_configurator.cc
|
| @@ -5,6 +5,7 @@
|
| #include <string>
|
|
|
| #include "base/run_loop.h"
|
| +#include "base/version.h"
|
| #include "chrome/browser/component_updater/test/test_configurator.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "url/gurl.h"
|
| @@ -66,6 +67,23 @@ GURL TestConfigurator::PingUrl() const {
|
| return UpdateUrl();
|
| }
|
|
|
| +base::Version TestConfigurator::GetBrowserVersion() const {
|
| + // Needs to be larger than the required version in tested component manifests.
|
| + return base::Version("30.0");
|
| +}
|
| +
|
| +std::string TestConfigurator::GetChannel() const {
|
| + return "fake_channel_string";
|
| +}
|
| +
|
| +std::string TestConfigurator::GetLang() const {
|
| + return "fake_lang";
|
| +}
|
| +
|
| +std::string TestConfigurator::GetOSLongName() const {
|
| + return "Fake Operating System";
|
| +}
|
| +
|
| std::string TestConfigurator::ExtraRequestParams() const {
|
| return "extra=\"foo\"";
|
| }
|
|
|