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

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

Issue 333353005: Move OmahaQueryParams to a component and add a delegate interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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 | Annotate | Revision Log
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_QUERY_PARAMS_CHROME_OMAHA_QUERY_PARAMS_DELEGATE_H_
6 #define CHROME_BROWSER_OMAHA_QUERY_PARAMS_CHROME_OMAHA_QUERY_PARAMS_DELEGATE_H_
7
8 #include "components/omaha_query_params/omaha_query_params.h"
9
10 class ChromeOmahaQueryParamsDelegate : public OmahaQueryParamsDelegate {
11 public:
12 ChromeOmahaQueryParamsDelegate();
13 virtual ~ChromeOmahaQueryParamsDelegate();
14
15 // Gets the LazyInstance for ChromeOmahaQueryParamsDelegate.
16 static ChromeOmahaQueryParamsDelegate* GetInstance();
17
18 // OmahaQueryParamsDelegate:
19 virtual std::string GetExtraParams() OVERRIDE;
20
21 // Returns the value we use for the "updaterchannel=" and "prodchannel="
22 // parameters. Possible return values include: "canary", "dev", "beta", and
23 // "stable".
24 static const char* GetChannelString();
25
26 // Returns the language for the present locale. Possible return values are
27 // standard tags for languages, such as "en", "en-US", "de", "fr", "af", etc.
28 static const char* GetLang();
29
30 DISALLOW_COPY_AND_ASSIGN(ChromeOmahaQueryParamsDelegate);
jochen (gone - plz use gerrit) 2014/06/24 08:52:31 should be private
31 };
32
33 #endif // CHROME_BROWSER_OMAHA_QUERY_PARAMS_CHROME_OMAHA_QUERY_PARAMS_DELEGATE_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698