| OLD | NEW |
| 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 #include "extensions/shell/browser/shell_omaha_query_params_delegate.h" | 5 #include "extensions/shell/browser/shell_update_query_params_delegate.h" |
| 6 |
| 7 #include <string> |
| 6 | 8 |
| 7 namespace extensions { | 9 namespace extensions { |
| 8 | 10 |
| 9 ShellOmahaQueryParamsDelegate::ShellOmahaQueryParamsDelegate() { | 11 ShellUpdateQueryParamsDelegate::ShellUpdateQueryParamsDelegate() { |
| 10 } | 12 } |
| 11 | 13 |
| 12 ShellOmahaQueryParamsDelegate::~ShellOmahaQueryParamsDelegate() { | 14 ShellUpdateQueryParamsDelegate::~ShellUpdateQueryParamsDelegate() { |
| 13 } | 15 } |
| 14 | 16 |
| 15 std::string ShellOmahaQueryParamsDelegate::GetExtraParams() { | 17 std::string ShellUpdateQueryParamsDelegate::GetExtraParams() { |
| 16 // This version number is high enough to be supported by Omaha | 18 // This version number is high enough to be supported by Omaha |
| 17 // (below 31 is unsupported), but it's fake enough to be obviously | 19 // (below 31 is unsupported), but it's fake enough to be obviously |
| 18 // not a Chrome release. | 20 // not a Chrome release. |
| 19 return "&prodversion=38.1234.5678.9"; | 21 return "&prodversion=38.1234.5678.9"; |
| 20 } | 22 } |
| 21 | 23 |
| 22 } // namespace extensions | 24 } // namespace extensions |
| OLD | NEW |