Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_ | |
| OLD | NEW |