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

Side by Side Diff: base/const_addresses.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 | « base/commontypes.h ('k') | base/const_config.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 2004-2010 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 // Constants for dealing with machines.
17 //
18 // Manifests are requested over HTTPS. All other network communication goes
19 // over HTTP.
20
21 #ifndef OMAHA_BASE_CONST_ADDRESSES_H_
22 #define OMAHA_BASE_CONST_ADDRESSES_H_
23
24 #include <tchar.h>
25 #include "omaha/base/constants.h"
26
27 namespace omaha {
28
29 // Static string that gives the main Google website address
30 // TODO(omaha): Rename this as a connection-check URL. Name should be in caps
31 // and not include "Google".
32 #define kGoogleHttpServer _T("www.") COMPANY_DOMAIN
33
34 // Static string used as an identity for the "Omaha" Google domain.
35 // TODO(omaha): Rename this as a plug-in domain.
36 const TCHAR* const kGoopdateServer = _T("tools.") COMPANY_DOMAIN;
37
38 // HTTP protocol prefix
39 #define kProtoSuffix _T("://")
40 #define kFileProtoScheme _T("file")
41 #define kHttpProtoScheme _T("http")
42 #define kHttpsProtoScheme _T("https")
43 #define kHttpProto kHttpProtoScheme kProtoSuffix
44 #define kHttpsProto kHttpsProtoScheme kProtoSuffix
45 #define kFileProto kFileProtoScheme kProtoSuffix
46
47 // Default ports for proxies
48 #define kDefaultHttpProxyPort 80
49 #define kDefaultSslProxyPort 443
50
51 // Update checks and manifest requests.
52 const TCHAR* const kUrlUpdateCheck =
53 kHttpsProto _T("tools.") COMPANY_DOMAIN _T("/service/update2");
54
55 // Pings.
56 const TCHAR* const kUrlPing =
57 _T("http://tools.") COMPANY_DOMAIN _T("/service/update2");
58
59 // Crash reports.
60 const TCHAR* const kUrlCrashReport =
61 _T("http://clients2.") COMPANY_DOMAIN _T("/cr/report");
62
63 // More information url.
64 // Must allow query parameters to be appended to it.
65 const TCHAR* const kUrlMoreInfo =
66 _T("http://www.") COMPANY_DOMAIN _T("/support/installer/?");
67
68 // Code Red check url.
69 const TCHAR* const kUrlCodeRedCheck =
70 _T("http://cr-tools.clients.") COMPANY_DOMAIN _T("/service/check2");
71
72 // Usage stats url.
73 const TCHAR* const kUrlUsageStatsReport =
74 _T("http://clients5.") COMPANY_DOMAIN _T("/tbproxy/usagestats");
75
76 } // namespace omaha
77
78 #endif // OMAHA_BASE_CONST_ADDRESSES_H_
OLDNEW
« no previous file with comments | « base/commontypes.h ('k') | base/const_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698