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

Side by Side Diff: components/update_client/update_query_params.h

Issue 2768573002: Send traffic-management headers from extension updater. (Closed)
Patch Set: Change the code according to mek's comments. Created 3 years, 8 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 | « components/update_client/DEPS ('k') | components/update_client/update_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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_UPDATE_CLIENT_UPDATE_QUERY_PARAMS_H_ 5 #ifndef COMPONENTS_UPDATE_CLIENT_UPDATE_QUERY_PARAMS_H_
6 #define COMPONENTS_UPDATE_CLIENT_UPDATE_QUERY_PARAMS_H_ 6 #define COMPONENTS_UPDATE_CLIENT_UPDATE_QUERY_PARAMS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 30 matching lines...) Expand all
41 // Returns the value we use for the "arch=" parameter. Possible return values 41 // Returns the value we use for the "arch=" parameter. Possible return values
42 // include: "x86", "x64", and "arm". 42 // include: "x86", "x64", and "arm".
43 static const char* GetArch(); 43 static const char* GetArch();
44 44
45 // Returns the value we use for the "nacl_arch" parameter. Note that this may 45 // Returns the value we use for the "nacl_arch" parameter. Note that this may
46 // be different from the "arch" parameter above (e.g. one may be 32-bit and 46 // be different from the "arch" parameter above (e.g. one may be 32-bit and
47 // the other 64-bit). Possible return values include: "x86-32", "x86-64", 47 // the other 64-bit). Possible return values include: "x86-32", "x86-64",
48 // "arm", and "mips32". 48 // "arm", and "mips32".
49 static const char* GetNaclArch(); 49 static const char* GetNaclArch();
50 50
51 // Returns the current version of Chrome/Chromium.
52 static std::string GetProdVersion();
53
51 // Use this delegate. 54 // Use this delegate.
52 static void SetDelegate(UpdateQueryParamsDelegate* delegate); 55 static void SetDelegate(UpdateQueryParamsDelegate* delegate);
53 56
54 private: 57 private:
55 DISALLOW_IMPLICIT_CONSTRUCTORS(UpdateQueryParams); 58 DISALLOW_IMPLICIT_CONSTRUCTORS(UpdateQueryParams);
56 }; 59 };
57 60
58 } // namespace update_client 61 } // namespace update_client
59 62
60 #endif // COMPONENTS_UPDATE_CLIENT_UPDATE_QUERY_PARAMS_H_ 63 #endif // COMPONENTS_UPDATE_CLIENT_UPDATE_QUERY_PARAMS_H_
OLDNEW
« no previous file with comments | « components/update_client/DEPS ('k') | components/update_client/update_query_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698