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

Side by Side Diff: common/xml_const.cc

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/xml_const.h ('k') | common/xml_parser.h » ('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 #include "omaha/common/xml_const.h"
17
18 namespace omaha {
19
20 namespace xml {
21
22 const TCHAR* const kXmlDirective =
23 _T("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
24
25 const TCHAR* const kXmlNamespace = NULL;
26
27 namespace element {
28
29 const TCHAR* const kAction = _T("action");
30 const TCHAR* const kActions = _T("actions");
31 const TCHAR* const kApp = _T("app");
32 const TCHAR* const kData = _T("data");
33 const TCHAR* const kDayStart = _T("daystart");
34
35 // ping element. The element is named "event" for legacy reasons.
36 const TCHAR* const kEvent = _T("event");
37 const TCHAR* const kManifest = _T("manifest");
38 const TCHAR* const kOs = _T("os");
39 const TCHAR* const kPackage = _T("package");
40 const TCHAR* const kPackages = _T("packages");
41
42 // didrun element. The element is named "ping" for legacy reasons.
43 const TCHAR* const kPing = _T("ping");
44 const TCHAR* const kRequest = _T("request");
45 const TCHAR* const kResponse = _T("response");
46 const TCHAR* const kUpdateCheck = _T("updatecheck");
47 const TCHAR* const kUrl = _T("url");
48 const TCHAR* const kUrls = _T("urls");
49
50 } // namespace element
51
52 namespace attribute {
53
54 const TCHAR* const kActive = _T("active");
55 const TCHAR* const kAdditionalParameters = _T("ap");
56 const TCHAR* const kAppBytesDownloaded = _T("downloaded");
57 const TCHAR* const kAppBytesTotal = _T("total");
58 const TCHAR* const kAppGuid = _T("appguid");
59 const TCHAR* const kApplicationName = _T("appname");
60 const TCHAR* const kAppId = _T("appid");
61 const TCHAR* const kArch = _T("arch");
62 const TCHAR* const kArguments = _T("arguments");
63 const TCHAR* const kBrandCode = _T("brand");
64 const TCHAR* const kBrowserType = _T("browser");
65 const TCHAR* const kClientId = _T("client");
66 const TCHAR* const kCodebase = _T("codebase");
67 const TCHAR* const kCountry = _T("country");
68 const TCHAR* const kDaysSinceLastActivePing = _T("a");
69 const TCHAR* const kDaysSinceLastRollCall = _T("r");
70 const TCHAR* const kDownloadTime = _T("download_time_ms");
71 const TCHAR* const kElapsedSeconds = _T("elapsed_seconds");
72 const TCHAR* const kErrorCode = _T("errorcode");
73 const TCHAR* const kEvent = _T("event");
74 const TCHAR* const kEventResult = _T("eventresult");
75 const TCHAR* const kEventType = _T("eventtype");
76 const TCHAR* const kErrorUrl = _T("errorurl");
77 const TCHAR* const kExperiments = _T("experiments");
78 const TCHAR* const kExtraCode1 = _T("extracode1");
79 const TCHAR* const kHash = _T("hash");
80 const TCHAR* const kIndex = _T("index");
81 const TCHAR* const kInstalledAgeDays = _T("installage");
82 const TCHAR* const kIsMachine = _T("ismachine");
83 const TCHAR* const kInstallationId = _T("iid");
84 const TCHAR* const kInstallSource = _T("installsource");
85 const TCHAR* const kOriginURL = _T("originurl");
86 const TCHAR* const kLang = _T("lang");
87 const TCHAR* const kName = _T("name");
88 const TCHAR* const kNextVersion = _T("nextversion");
89 const TCHAR* const kParameter = _T("parameter");
90 const TCHAR* const kPeriodOverrideSec = _T("periodoverridesec");
91 const TCHAR* const kPlatform = _T("platform");
92 const TCHAR* const kProtocol = _T("protocol");
93 const TCHAR* const kRequestId = _T("requestid");
94 const TCHAR* const kRequired = _T("required");
95 const TCHAR* const kRun = _T("run");
96 const TCHAR* const kServicePack = _T("sp");
97 const TCHAR* const kSessionId = _T("sessionid");
98 const TCHAR* const kSignature = _T("signature");
99 const TCHAR* const kSize = _T("size");
100 const TCHAR* const kStatus = _T("status");
101 const TCHAR* const kSuccessAction = _T("onsuccess");
102 const TCHAR* const kSuccessUrl = _T("successurl");
103 const TCHAR* const kTestSource = _T("testsource");
104 const TCHAR* const kTerminateAllBrowsers = _T("terminateallbrowsers");
105 const TCHAR* const kTTToken = _T("tttoken");
106 const TCHAR* const kUpdateDisabled = _T("updatedisabled");
107 const TCHAR* const kUserId = _T("userid");
108 const TCHAR* const kVersion = _T("version");
109 const TCHAR* const kXmlns = _T("xmlns");
110
111 } // namespace attribute
112
113 namespace value {
114
115 const TCHAR* const kArchAmd64 = _T("x64");
116 const TCHAR* const kArchIntel = _T("x86");
117 const TCHAR* const kArchUnknown = _T("unknown");
118 const TCHAR* const kFalse = _T("false");
119 const TCHAR* const kInstall = _T("install");
120 const TCHAR* const kInstallData = _T("install");
121 const TCHAR* const kPostinstall = _T("postinstall");
122 const TCHAR* const kPreinstall = _T("preinstall");
123 const TCHAR* const kRequestType = _T("UpdateRequest");
124 const TCHAR* const kStatusError = _T("error");
125 const TCHAR* const kSuccessActionDefault = _T("default");
126 const TCHAR* const kSuccessActionExitSilently = _T("exitsilently");
127 const TCHAR* const kSuccessActionExitSilentlyOnLaunchCmd =
128 _T("exitsilentlyonlaunchcmd");
129 const TCHAR* const kTrue = _T("true");
130 const TCHAR* const kUpdate = _T("update");
131 const TCHAR* const kVersion3 = _T("3.0");
132
133 } // namespace value
134
135 } // namespace xml
136
137 } // namespace omaha
OLDNEW
« no previous file with comments | « common/xml_const.h ('k') | common/xml_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698