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

Side by Side Diff: chrome/common/omaha_query_params.h

Issue 12396002: Add chrome version information to extension update checks (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address comments Created 7 years, 9 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 2013 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_COMMON_OMAHA_QUERY_PARAMS_H_
6 #define CHROME_COMMON_OMAHA_QUERY_PARAMS_H_
7
8 #include <string>
9
10 #include "base/basictypes.h"
11
12 namespace chrome {
13
14 class OmahaQueryParams {
15 public:
16 enum ProdId {
17 CHROME = 0,
18 CHROMECRX,
19 CHROMIUMCRX,
20 };
21
22 // Generates a string of URL query paramaters to be used when getting
23 // component and extension updates. Includes the following fields: os, arch,
24 // prod, prodchannel, prodversion.
25 static std::string Get(ProdId prod);
26 };
sky 2013/03/07 01:25:33 private: DISALLOW_IMPLICIT_CONSTUCTORS.
jackhou1 2013/03/07 04:19:24 Done.
27
28 } // namespace chrome
29
30 #endif // CHROME_COMMON_OMAHA_QUERY_PARAMS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698