shell_update_query_params_delegate.cc 718 B

123456789101112131415161718192021222324
  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
  3. // found in the LICENSE file.
  4. #include "extensions/shell/browser/shell_update_query_params_delegate.h"
  5. #include <string>
  6. namespace extensions {
  7. ShellUpdateQueryParamsDelegate::ShellUpdateQueryParamsDelegate() {
  8. }
  9. ShellUpdateQueryParamsDelegate::~ShellUpdateQueryParamsDelegate() {
  10. }
  11. std::string ShellUpdateQueryParamsDelegate::GetExtraParams() {
  12. // This version number is high enough to be supported by Omaha
  13. // (below 31 is unsupported), but it's fake enough to be obviously
  14. // not a Chrome release.
  15. return "&prodversion=38.1234.5678.9";
  16. }
  17. } // namespace extensions