Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(438)

Side by Side Diff: chrome/browser/omaha_client/chrome_omaha_query_params_delegate.h

Issue 803313003: Rename omaha_client and similar tokens to update_client in all contexts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: rebase to master Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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
5 #ifndef CHROME_BROWSER_OMAHA_CLIENT_CHROME_OMAHA_QUERY_PARAMS_DELEGATE_H_
6 #define CHROME_BROWSER_OMAHA_CLIENT_CHROME_OMAHA_QUERY_PARAMS_DELEGATE_H_
7
8 #include "components/omaha_client/omaha_query_params_delegate.h"
9
10 class ChromeOmahaQueryParamsDelegate
11 : public omaha_client::OmahaQueryParamsDelegate {
12 public:
13 ChromeOmahaQueryParamsDelegate();
14 ~ChromeOmahaQueryParamsDelegate() override;
15
16 // Gets the LazyInstance for ChromeOmahaQueryParamsDelegate.
17 static ChromeOmahaQueryParamsDelegate* GetInstance();
18
19 // omaha_client::OmahaQueryParamsDelegate:
20 std::string GetExtraParams() override;
21
22 // Returns the value we use for the "updaterchannel=" and "prodchannel="
23 // parameters. Possible return values include: "canary", "dev", "beta", and
24 // "stable".
25 static const char* GetChannelString();
26
27 // Returns the language for the present locale. Possible return values are
28 // standard tags for languages, such as "en", "en-US", "de", "fr", "af", etc.
29 static const char* GetLang();
30
31 private:
32 DISALLOW_COPY_AND_ASSIGN(ChromeOmahaQueryParamsDelegate);
33 };
34
35 #endif // CHROME_BROWSER_OMAHA_CLIENT_CHROME_OMAHA_QUERY_PARAMS_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/omaha_client/OWNERS ('k') | chrome/browser/omaha_client/chrome_omaha_query_params_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698