| Index: chrome/common/chrome_content_client.cc
|
| ===================================================================
|
| --- chrome/common/chrome_content_client.cc (revision 192622)
|
| +++ chrome/common/chrome_content_client.cc (working copy)
|
| @@ -358,6 +358,13 @@
|
| const char* const ChromeContentClient::kNaClOldPluginName =
|
| ::kNaClOldPluginName;
|
|
|
| +std::string ChromeContentClient::GetProductImpl() {
|
| + chrome::VersionInfo version_info;
|
| + std::string product("Chrome/");
|
| + product += version_info.is_valid() ? version_info.Version() : "0.0.0.0";
|
| + return product;
|
| +}
|
| +
|
| void ChromeContentClient::SetActiveURL(const GURL& url) {
|
| child_process_logging::SetActiveURL(url);
|
| }
|
| @@ -403,10 +410,7 @@
|
| }
|
|
|
| std::string ChromeContentClient::GetProduct() const {
|
| - chrome::VersionInfo version_info;
|
| - std::string product("Chrome/");
|
| - product += version_info.is_valid() ? version_info.Version() : "0.0.0.0";
|
| - return product;
|
| + return GetProductImpl();
|
| }
|
|
|
| std::string ChromeContentClient::GetUserAgent() const {
|
|
|