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

Side by Side Diff: common/xml_const.h

Issue 624713003: Keep only base/extractor.[cc|h]. (Closed) Base URL: https://chromium.googlesource.com/external/omaha.git@master
Patch Set: Created 6 years, 2 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 | « common/webplugin_utils_unittest.cc ('k') | common/xml_const.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 2011 Google Inc.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 // ========================================================================
15
16 #ifndef OMAHA_COMMON_XML_CONST_H_
17 #define OMAHA_COMMON_XML_CONST_H_
18
19 #include <windows.h>
20 #include <atlbase.h>
21 #include <atlstr.h>
22
23 namespace omaha {
24
25 namespace xml {
26
27 const int kGuidLen = 38;
28
29 extern const TCHAR* const kXmlDirective;
30 extern const TCHAR* const kXmlNamespace;
31
32 namespace element {
33
34 extern const TCHAR* const kAction;
35 extern const TCHAR* const kActions;
36 extern const TCHAR* const kApp;
37 extern const TCHAR* const kData;
38 extern const TCHAR* const kDayStart;
39
40 // ping element. The element is named "event" for legacy reasons.
41 extern const TCHAR* const kEvent;
42 extern const TCHAR* const kManifest;
43 extern const TCHAR* const kOs;
44 extern const TCHAR* const kPackage;
45 extern const TCHAR* const kPackages;
46
47 // didrun element. The element is named "ping" for legacy reasons.
48 extern const TCHAR* const kPing;
49 extern const TCHAR* const kRequest;
50 extern const TCHAR* const kResponse;
51 extern const TCHAR* const kUpdateCheck;
52 extern const TCHAR* const kUrl;
53 extern const TCHAR* const kUrls;
54
55 } // namespace element
56
57 namespace attribute {
58
59 extern const TCHAR* const kActive;
60 extern const TCHAR* const kAdditionalParameters;
61 extern const TCHAR* const kAppBytesDownloaded;
62 extern const TCHAR* const kAppBytesTotal;
63 extern const TCHAR* const kAppGuid;
64 extern const TCHAR* const kApplicationName;
65 extern const TCHAR* const kAppId;
66 extern const TCHAR* const kArch;
67 extern const TCHAR* const kArguments;
68 extern const TCHAR* const kBrandCode;
69 extern const TCHAR* const kBrowserType;
70 extern const TCHAR* const kClientId;
71 extern const TCHAR* const kCodebase;
72 extern const TCHAR* const kCountry;
73 extern const TCHAR* const kDaysSinceLastActivePing;
74 extern const TCHAR* const kDaysSinceLastRollCall;
75 extern const TCHAR* const kDownloadTime;
76 extern const TCHAR* const kElapsedSeconds;
77 extern const TCHAR* const kErrorCode;
78 extern const TCHAR* const kEvent;
79 extern const TCHAR* const kEventResult;
80 extern const TCHAR* const kEventType;
81 extern const TCHAR* const kErrorUrl;
82 extern const TCHAR* const kExperiments;
83 extern const TCHAR* const kExtraCode1;
84 extern const TCHAR* const kHash;
85 extern const TCHAR* const kIndex;
86 extern const TCHAR* const kInstalledAgeDays;
87 extern const TCHAR* const kIsMachine;
88 extern const TCHAR* const kInstallationId;
89 extern const TCHAR* const kInstallSource;
90 extern const TCHAR* const kLang;
91 extern const TCHAR* const kName;
92 extern const TCHAR* const kNextVersion;
93 extern const TCHAR* const kOriginURL;
94 extern const TCHAR* const kParameter;
95 extern const TCHAR* const kPeriodOverrideSec;
96 extern const TCHAR* const kPlatform;
97 extern const TCHAR* const kProtocol;
98 extern const TCHAR* const kRequestId;
99 extern const TCHAR* const kRequired;
100 extern const TCHAR* const kRun;
101 extern const TCHAR* const kServicePack;
102 extern const TCHAR* const kSessionId;
103 extern const TCHAR* const kSignature;
104 extern const TCHAR* const kSize;
105 extern const TCHAR* const kStatus;
106 extern const TCHAR* const kSuccessAction;
107 extern const TCHAR* const kSuccessUrl;
108 extern const TCHAR* const kTestSource;
109 extern const TCHAR* const kTerminateAllBrowsers;
110 extern const TCHAR* const kTTToken;
111 extern const TCHAR* const kUpdateDisabled;
112 extern const TCHAR* const kUserId;
113 extern const TCHAR* const kVersion;
114 extern const TCHAR* const kXmlns;
115
116 } // namespace attribute
117
118 namespace value {
119
120 extern const TCHAR* const kArchAmd64;
121 extern const TCHAR* const kArchIntel;
122 extern const TCHAR* const kArchUnknown;
123 extern const TCHAR* const kFalse;
124 extern const TCHAR* const kInstall;
125 extern const TCHAR* const kInstallData;
126 extern const TCHAR* const kPostinstall;
127 extern const TCHAR* const kPreinstall;
128 extern const TCHAR* const kRequestType;
129 extern const TCHAR* const kStatusError;
130 extern const TCHAR* const kSuccessActionDefault;
131 extern const TCHAR* const kSuccessActionExitSilently;
132 extern const TCHAR* const kSuccessActionExitSilentlyOnLaunchCmd;
133 extern const TCHAR* const kTrue;
134 extern const TCHAR* const kUpdate;
135 extern const TCHAR* const kVersion3;
136
137 } // namespace value
138
139 } // namespace xml
140
141 } // namespace omaha
142
143 #endif // OMAHA_COMMON_XML_CONST_H_
OLDNEW
« no previous file with comments | « common/webplugin_utils_unittest.cc ('k') | common/xml_const.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698