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

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: Use count() instead of find() 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
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/common/omaha_query_params.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
27 private:
28 DISALLOW_IMPLICIT_CONSTRUCTORS(OmahaQueryParams);
29 };
30
31 } // namespace chrome
32
33 #endif // CHROME_COMMON_OMAHA_QUERY_PARAMS_H_
OLDNEW
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/common/omaha_query_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698