summaryrefslogtreecommitdiff
path: root/www/chromium-uc/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch
diff options
context:
space:
mode:
authorShokara Kou <kou@13f0.net>2022-06-08 08:43:41 -0400
committerShokara Kou <kou@13f0.net>2022-06-08 09:01:47 -0400
commit45b7fe33fcca66111d3f1bba4b75e5438362dd80 (patch)
tree5aa46761f97d2329fabf4c5e2a8ab9dca36db3e8 /www/chromium-uc/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch
parent8fe8e03bb8c52fac64b52839d7af4f47b718f405 (diff)
update ugc to 100.0.4896.75
Diffstat (limited to 'www/chromium-uc/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch')
-rw-r--r--www/chromium-uc/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch357
1 files changed, 163 insertions, 194 deletions
diff --git a/www/chromium-uc/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch b/www/chromium-uc/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch
index 198b00e..a4d4885 100644
--- a/www/chromium-uc/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch
+++ b/www/chromium-uc/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch
@@ -66,8 +66,19 @@ by default.
66 ui/views/examples/webview_example.cc | 2 +- 66 ui/views/examples/webview_example.cc | 2 +-
67 54 files changed, 89 insertions(+), 87 deletions(-) 67 54 files changed, 89 insertions(+), 87 deletions(-)
68 68
69--- build/apple/tweak_info_plist.py.orig 69--- a/ash/components/geolocation/simple_geolocation_provider.cc
70+++ build/apple/tweak_info_plist.py 70+++ b/ash/components/geolocation/simple_geolocation_provider.cc
71@@ -20,7 +20,7 @@ namespace ash {
72 namespace {
73
74 const char kDefaultGeolocationProviderUrl[] =
75- "https://www.googleapis.com/geolocation/v1/geolocate?";
76+ "trk:215:https://www.googleapis.com/geolocation/v1/geolocate?";
77
78 } // namespace
79
80--- a/build/apple/tweak_info_plist.py
81+++ b/build/apple/tweak_info_plist.py
71@@ -195,7 +195,7 @@ def _AddKeystoneKeys(plist, bundle_ident 82@@ -195,7 +195,7 @@ def _AddKeystoneKeys(plist, bundle_ident
72 also requires the |bundle_identifier| argument (com.example.product).""" 83 also requires the |bundle_identifier| argument (com.example.product)."""
73 plist['KSVersion'] = plist['CFBundleShortVersionString'] 84 plist['KSVersion'] = plist['CFBundleShortVersionString']
@@ -77,9 +88,9 @@ by default.
77 88
78 _RemoveKeys(plist, 'KSChannelID') 89 _RemoveKeys(plist, 'KSChannelID')
79 if base_tag != '': 90 if base_tag != '':
80--- chrome/browser/ash/customization/customization_document.cc.orig 91--- a/chrome/browser/ash/customization/customization_document.cc
81+++ chrome/browser/ash/customization/customization_document.cc 92+++ b/chrome/browser/ash/customization/customization_document.cc
82@@ -175,7 +175,7 @@ std::string ReadFileInBackground(const b 93@@ -198,7 +198,7 @@ std::string ReadFileInBackground(const b
83 94
84 // Template URL where to fetch OEM services customization manifest from. 95 // Template URL where to fetch OEM services customization manifest from.
85 const char ServicesCustomizationDocument::kManifestUrl[] = 96 const char ServicesCustomizationDocument::kManifestUrl[] =
@@ -88,9 +99,9 @@ by default.
88 99
89 // A custom extensions::ExternalLoader that the ServicesCustomizationDocument 100 // A custom extensions::ExternalLoader that the ServicesCustomizationDocument
90 // creates and uses to publish OEM default apps to the extensions system. 101 // creates and uses to publish OEM default apps to the extensions system.
91--- chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc.orig 102--- a/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc
92+++ chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc 103+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc
93@@ -87,7 +87,7 @@ namespace { 104@@ -92,7 +92,7 @@ namespace {
94 105
95 using api::file_manager_private::ProfileInfo; 106 using api::file_manager_private::ProfileInfo;
96 107
@@ -99,8 +110,8 @@ by default.
99 110
100 // Thresholds for mountCrostini() API. 111 // Thresholds for mountCrostini() API.
101 constexpr base::TimeDelta kMountCrostiniSlowOperationThreshold = 112 constexpr base::TimeDelta kMountCrostiniSlowOperationThreshold =
102--- chrome/browser/extensions/api/cryptotoken_private/cryptotoken_private_api.cc.orig 113--- a/chrome/browser/extensions/api/cryptotoken_private/cryptotoken_private_api.cc
103+++ chrome/browser/extensions/api/cryptotoken_private/cryptotoken_private_api.cc 114+++ b/chrome/browser/extensions/api/cryptotoken_private/cryptotoken_private_api.cc
104@@ -52,8 +52,8 @@ namespace { 115@@ -52,8 +52,8 @@ namespace {
105 116
106 const char kGoogleDotCom[] = "google.com"; 117 const char kGoogleDotCom[] = "google.com";
@@ -112,9 +123,9 @@ by default.
112 123
113 // ContainsAppIdByHash returns true iff the SHA-256 hash of one of the 124 // ContainsAppIdByHash returns true iff the SHA-256 hash of one of the
114 // elements of |list| equals |hash|. 125 // elements of |list| equals |hash|.
115--- chrome/browser/extensions/install_signer.cc.orig 126--- a/chrome/browser/extensions/install_signer.cc
116+++ chrome/browser/extensions/install_signer.cc 127+++ b/chrome/browser/extensions/install_signer.cc
117@@ -67,7 +67,7 @@ const int kSignatureFormatVersion = 2; 128@@ -66,7 +66,7 @@ const int kSignatureFormatVersion = 2;
118 const size_t kSaltBytes = 32; 129 const size_t kSaltBytes = 32;
119 130
120 const char kBackendUrl[] = 131 const char kBackendUrl[] =
@@ -123,8 +134,8 @@ by default.
123 134
124 const char kPublicKeyPEM[] = \ 135 const char kPublicKeyPEM[] = \
125 "-----BEGIN PUBLIC KEY-----" \ 136 "-----BEGIN PUBLIC KEY-----" \
126--- chrome/browser/media/webrtc/webrtc_event_log_uploader.cc.orig 137--- a/chrome/browser/media/webrtc/webrtc_event_log_uploader.cc
127+++ chrome/browser/media/webrtc/webrtc_event_log_uploader.cc 138+++ b/chrome/browser/media/webrtc/webrtc_event_log_uploader.cc
128@@ -125,7 +125,7 @@ void OnURLLoadUploadProgress(uint64_t cu 139@@ -125,7 +125,7 @@ void OnURLLoadUploadProgress(uint64_t cu
129 } // namespace 140 } // namespace
130 141
@@ -134,8 +145,8 @@ by default.
134 145
135 WebRtcEventLogUploaderImpl::Factory::Factory( 146 WebRtcEventLogUploaderImpl::Factory::Factory(
136 scoped_refptr<base::SequencedTaskRunner> task_runner) 147 scoped_refptr<base::SequencedTaskRunner> task_runner)
137--- chrome/browser/media/webrtc/webrtc_log_uploader.cc.orig 148--- a/chrome/browser/media/webrtc/webrtc_log_uploader.cc
138+++ chrome/browser/media/webrtc/webrtc_log_uploader.cc 149+++ b/chrome/browser/media/webrtc/webrtc_log_uploader.cc
139@@ -485,7 +485,7 @@ void WebRtcLogUploader::UploadCompressed 150@@ -485,7 +485,7 @@ void WebRtcLogUploader::UploadCompressed
140 "Not implemented, it would be good to do so." 151 "Not implemented, it would be good to do so."
141 })"); 152 })");
@@ -145,8 +156,8 @@ by default.
145 auto resource_request = std::make_unique<network::ResourceRequest>(); 156 auto resource_request = std::make_unique<network::ResourceRequest>();
146 resource_request->url = !upload_url_for_testing_.is_empty() 157 resource_request->url = !upload_url_for_testing_.is_empty()
147 ? upload_url_for_testing_ 158 ? upload_url_for_testing_
148--- chrome/browser/nacl_host/nacl_infobar_delegate.cc.orig 159--- a/chrome/browser/nacl_host/nacl_infobar_delegate.cc
149+++ chrome/browser/nacl_host/nacl_infobar_delegate.cc 160+++ b/chrome/browser/nacl_host/nacl_infobar_delegate.cc
150@@ -33,7 +33,7 @@ std::u16string NaClInfoBarDelegate::GetL 161@@ -33,7 +33,7 @@ std::u16string NaClInfoBarDelegate::GetL
151 } 162 }
152 163
@@ -156,8 +167,8 @@ by default.
156 } 167 }
157 168
158 std::u16string NaClInfoBarDelegate::GetMessageText() const { 169 std::u16string NaClInfoBarDelegate::GetMessageText() const {
159--- chrome/browser/profiles/profile_avatar_downloader.cc.orig 170--- a/chrome/browser/profiles/profile_avatar_downloader.cc
160+++ chrome/browser/profiles/profile_avatar_downloader.cc 171+++ b/chrome/browser/profiles/profile_avatar_downloader.cc
161@@ -20,7 +20,7 @@ 172@@ -20,7 +20,7 @@
162 173
163 namespace { 174 namespace {
@@ -167,8 +178,8 @@ by default.
167 } 178 }
168 179
169 ProfileAvatarDownloader::ProfileAvatarDownloader(size_t icon_index, 180 ProfileAvatarDownloader::ProfileAvatarDownloader(size_t icon_index,
170--- chrome/browser/resources/default_apps/external_extensions.json.orig 181--- a/chrome/browser/resources/default_apps/external_extensions.json
171+++ chrome/browser/resources/default_apps/external_extensions.json 182+++ b/chrome/browser/resources/default_apps/external_extensions.json
172@@ -23,17 +23,17 @@ 183@@ -23,17 +23,17 @@
173 }, 184 },
174 // Google Sheets 185 // Google Sheets
@@ -190,9 +201,9 @@ by default.
190 } 201 }
191 } 202 }
192 203
193--- chrome/browser/safe_browsing/download_protection/download_feedback.cc.orig 204--- a/chrome/browser/safe_browsing/download_protection/download_feedback.cc
194+++ chrome/browser/safe_browsing/download_protection/download_feedback.cc 205+++ b/chrome/browser/safe_browsing/download_protection/download_feedback.cc
195@@ -202,7 +202,7 @@ const int64_t DownloadFeedback::kMaxUplo 206@@ -192,7 +192,7 @@ const int64_t DownloadFeedback::kMaxUplo
196 207
197 // static 208 // static
198 const char DownloadFeedback::kSbFeedbackURL[] = 209 const char DownloadFeedback::kSbFeedbackURL[] =
@@ -201,8 +212,8 @@ by default.
201 212
202 // static 213 // static
203 DownloadFeedbackFactory* DownloadFeedback::factory_ = nullptr; 214 DownloadFeedbackFactory* DownloadFeedback::factory_ = nullptr;
204--- chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc.orig 215--- a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc
205+++ chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc 216+++ b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc
206@@ -279,7 +279,7 @@ GURL SpellcheckHunspellDictionary::GetDi 217@@ -279,7 +279,7 @@ GURL SpellcheckHunspellDictionary::GetDi
207 DCHECK(!bdict_file.empty()); 218 DCHECK(!bdict_file.empty());
208 219
@@ -212,9 +223,9 @@ by default.
212 223
213 return GURL(std::string(kDownloadServerUrl) + 224 return GURL(std::string(kDownloadServerUrl) +
214 base::ToLowerASCII(bdict_file)); 225 base::ToLowerASCII(bdict_file));
215--- chrome/browser/supervised_user/supervised_user_service.cc.orig 226--- a/chrome/browser/supervised_user/supervised_user_service.cc
216+++ chrome/browser/supervised_user/supervised_user_service.cc 227+++ b/chrome/browser/supervised_user/supervised_user_service.cc
217@@ -87,7 +87,7 @@ namespace { 228@@ -86,7 +86,7 @@ namespace {
218 229
219 // The URL from which to download a host denylist if no local one exists yet. 230 // The URL from which to download a host denylist if no local one exists yet.
220 const char kDenylistURL[] = 231 const char kDenylistURL[] =
@@ -223,9 +234,9 @@ by default.
223 // The filename under which we'll store the denylist (in the user data dir). The 234 // The filename under which we'll store the denylist (in the user data dir). The
224 // old file will be used as a backup in case the new file has not been loaded 235 // old file will be used as a backup in case the new file has not been loaded
225 // yet. 236 // yet.
226--- chrome/browser/ui/views/outdated_upgrade_bubble_view.cc.orig 237--- a/chrome/browser/ui/dialogs/outdated_upgrade_bubble.cc
227+++ chrome/browser/ui/views/outdated_upgrade_bubble_view.cc 238+++ b/chrome/browser/ui/dialogs/outdated_upgrade_bubble.cc
228@@ -54,7 +54,7 @@ const char* kUpdateBrowserRedirectUrl = 239@@ -50,7 +50,7 @@ const char* kUpdateBrowserRedirectUrl =
229 #else 240 #else
230 // The URL to be used to re-install Chrome when auto-update failed for 241 // The URL to be used to re-install Chrome when auto-update failed for
231 // too long. 242 // too long.
@@ -234,9 +245,9 @@ by default.
234 #endif 245 #endif
235 246
236 bool g_upgrade_bubble_is_showing = false; 247 bool g_upgrade_bubble_is_showing = false;
237--- chrome/browser/ui/webui/ntp/ntp_resource_cache.cc.orig 248--- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
238+++ chrome/browser/ui/webui/ntp/ntp_resource_cache.cc 249+++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
239@@ -67,17 +67,17 @@ namespace { 250@@ -71,17 +71,17 @@ namespace {
240 // The URL for the the Learn More page shown on incognito new tab. 251 // The URL for the the Learn More page shown on incognito new tab.
241 const char kLearnMoreIncognitoUrl[] = 252 const char kLearnMoreIncognitoUrl[] =
242 #if BUILDFLAG(IS_CHROMEOS_ASH) 253 #if BUILDFLAG(IS_CHROMEOS_ASH)
@@ -258,8 +269,8 @@ by default.
258 #endif 269 #endif
259 270
260 std::string ReplaceTemplateExpressions( 271 std::string ReplaceTemplateExpressions(
261--- chrome/chrome_cleaner/components/recovery_component.cc.orig 272--- a/chrome/chrome_cleaner/components/recovery_component.cc
262+++ chrome/chrome_cleaner/components/recovery_component.cc 273+++ b/chrome/chrome_cleaner/components/recovery_component.cc
263@@ -37,7 +37,7 @@ namespace chrome_cleaner { 274@@ -37,7 +37,7 @@ namespace chrome_cleaner {
264 namespace { 275 namespace {
265 276
@@ -269,8 +280,8 @@ by default.
269 "&installsource=swreporter&x=id%3Dnpdjjkjlcidkjlamlmmdelcjbcpdjocm" 280 "&installsource=swreporter&x=id%3Dnpdjjkjlcidkjlamlmmdelcjbcpdjocm"
270 "%26v%3D0.0.0.0%26uc&acceptformat=crx3"; 281 "%26v%3D0.0.0.0%26uc&acceptformat=crx3";
271 282
272--- chrome/chrome_cleaner/crash/crashpad_crash_reporter.cc.orig 283--- a/chrome/chrome_cleaner/crash/crashpad_crash_reporter.cc
273+++ chrome/chrome_cleaner/crash/crashpad_crash_reporter.cc 284+++ b/chrome/chrome_cleaner/crash/crashpad_crash_reporter.cc
274@@ -28,7 +28,7 @@ 285@@ -28,7 +28,7 @@
275 namespace { 286 namespace {
276 287
@@ -280,8 +291,8 @@ by default.
280 291
281 // Whether the current process is connected to a crash handler process. 292 // Whether the current process is connected to a crash handler process.
282 bool g_is_connected_to_crash_handler = false; 293 bool g_is_connected_to_crash_handler = false;
283--- chrome/common/extensions/chrome_extensions_client.cc.orig 294--- a/chrome/common/extensions/chrome_extensions_client.cc
284+++ chrome/common/extensions/chrome_extensions_client.cc 295+++ b/chrome/common/extensions/chrome_extensions_client.cc
285@@ -45,9 +45,9 @@ namespace { 296@@ -45,9 +45,9 @@ namespace {
286 297
287 // TODO(battre): Delete the HTTP URL once the blocklist is downloaded via HTTPS. 298 // TODO(battre): Delete the HTTP URL once the blocklist is downloaded via HTTPS.
@@ -292,10 +303,10 @@ by default.
292- "https://www.gstatic.com/chrome/extensions/blocklist"; 303- "https://www.gstatic.com/chrome/extensions/blocklist";
293+ "trk:270:https://www.gstatic.com/chrome/extensions/blocklist"; 304+ "trk:270:https://www.gstatic.com/chrome/extensions/blocklist";
294 305
295 const char kThumbsWhiteListedExtension[] = "khopmbdjffemhegeeobelklnbglcdgfh"; 306 } // namespace
296 307
297--- chrome/installer/setup/google_chrome_behaviors.cc.orig 308--- a/chrome/installer/setup/google_chrome_behaviors.cc
298+++ chrome/installer/setup/google_chrome_behaviors.cc 309+++ b/chrome/installer/setup/google_chrome_behaviors.cc
299@@ -37,7 +37,7 @@ namespace installer { 310@@ -37,7 +37,7 @@ namespace installer {
300 namespace { 311 namespace {
301 312
@@ -305,19 +316,8 @@ by default.
305 316
306 bool NavigateToUrlWithEdge(const std::wstring& url) { 317 bool NavigateToUrlWithEdge(const std::wstring& url) {
307 std::wstring protocol_url = L"microsoft-edge:" + url; 318 std::wstring protocol_url = L"microsoft-edge:" + url;
308--- chromecast/browser/service/cast_service_simple.cc.orig 319--- a/chromecast/crash/linux/minidump_uploader.cc
309+++ chromecast/browser/service/cast_service_simple.cc 320+++ b/chromecast/crash/linux/minidump_uploader.cc
310@@ -27,7 +27,7 @@ GURL GetStartupURL() {
311 const base::CommandLine::StringVector& args = command_line->GetArgs();
312
313 if (args.empty())
314- return GURL("http://www.google.com/");
315+ return GURL("trk:255:http://www.google.com/");
316
317 GURL url(args[0]);
318 if (url.is_valid() && url.has_scheme())
319--- chromecast/crash/linux/minidump_uploader.cc.orig
320+++ chromecast/crash/linux/minidump_uploader.cc
321@@ -41,7 +41,7 @@ namespace { 321@@ -41,7 +41,7 @@ namespace {
322 322
323 const char kProductName[] = "Eureka"; 323 const char kProductName[] = "Eureka";
@@ -327,19 +327,8 @@ by default.
327 327
328 const char kVirtualChannel[] = "virtual-channel"; 328 const char kVirtualChannel[] = "virtual-channel";
329 329
330--- chromeos/geolocation/simple_geolocation_provider.cc.orig 330--- a/components/cloud_devices/common/cloud_devices_urls.cc
331+++ chromeos/geolocation/simple_geolocation_provider.cc 331+++ b/components/cloud_devices/common/cloud_devices_urls.cc
332@@ -20,7 +20,7 @@ namespace chromeos {
333 namespace {
334
335 const char kDefaultGeolocationProviderUrl[] =
336- "https://www.googleapis.com/geolocation/v1/geolocate?";
337+ "trk:215:https://www.googleapis.com/geolocation/v1/geolocate?";
338
339 } // namespace
340
341--- components/cloud_devices/common/cloud_devices_urls.cc.orig
342+++ components/cloud_devices/common/cloud_devices_urls.cc
343@@ -13,14 +13,14 @@ 332@@ -13,14 +13,14 @@
344 namespace cloud_devices { 333 namespace cloud_devices {
345 334
@@ -357,8 +346,8 @@ by default.
357 346
358 } 347 }
359 348
360--- components/drive/service/drive_api_service.cc.orig 349--- a/components/drive/service/drive_api_service.cc
361+++ components/drive/service/drive_api_service.cc 350+++ b/components/drive/service/drive_api_service.cc
362@@ -75,9 +75,9 @@ namespace drive { 351@@ -75,9 +75,9 @@ namespace drive {
363 namespace { 352 namespace {
364 353
@@ -371,9 +360,9 @@ by default.
371 const char kDriveAppsScope[] = "https://www.googleapis.com/auth/drive.apps"; 360 const char kDriveAppsScope[] = "https://www.googleapis.com/auth/drive.apps";
372 361
373 // Mime type to create a directory. 362 // Mime type to create a directory.
374--- components/feedback/feedback_uploader.cc.orig 363--- a/components/feedback/feedback_uploader.cc
375+++ components/feedback/feedback_uploader.cc 364+++ b/components/feedback/feedback_uploader.cc
376@@ -27,7 +27,7 @@ constexpr base::FilePath::CharType kFeed 365@@ -39,7 +39,7 @@ constexpr base::FilePath::CharType kFeed
377 FILE_PATH_LITERAL("Feedback Reports"); 366 FILE_PATH_LITERAL("Feedback Reports");
378 367
379 constexpr char kFeedbackPostUrl[] = 368 constexpr char kFeedbackPostUrl[] =
@@ -382,9 +371,9 @@ by default.
382 371
383 constexpr char kProtoBufMimeType[] = "application/x-protobuf"; 372 constexpr char kProtoBufMimeType[] = "application/x-protobuf";
384 373
385--- components/google/core/common/google_util.cc.orig 374--- a/components/google/core/common/google_util.cc
386+++ components/google/core/common/google_util.cc 375+++ b/components/google/core/common/google_util.cc
387@@ -143,7 +143,7 @@ bool IsGoogleSearchSubdomainUrl(const GU 376@@ -142,7 +142,7 @@ bool IsGoogleSearchSubdomainUrl(const GU
388 377
389 // Global functions ----------------------------------------------------------- 378 // Global functions -----------------------------------------------------------
390 379
@@ -393,9 +382,9 @@ by default.
393 382
394 bool HasGoogleSearchQueryParam(base::StringPiece str) { 383 bool HasGoogleSearchQueryParam(base::StringPiece str) {
395 url::Component query(0, static_cast<int>(str.length())), key, value; 384 url::Component query(0, static_cast<int>(str.length())), key, value;
396--- components/history/core/browser/web_history_service.cc.orig 385--- a/components/history/core/browser/web_history_service.cc
397+++ components/history/core/browser/web_history_service.cc 386+++ b/components/history/core/browser/web_history_service.cc
398@@ -42,13 +42,13 @@ namespace history { 387@@ -43,13 +43,13 @@ namespace history {
399 namespace { 388 namespace {
400 389
401 const char kHistoryOAuthScope[] = 390 const char kHistoryOAuthScope[] =
@@ -412,8 +401,8 @@ by default.
412 401
413 const char kHistoryAudioHistoryUrl[] = 402 const char kHistoryAudioHistoryUrl[] =
414 "https://history.google.com/history/api/lookup?client=audio"; 403 "https://history.google.com/history/api/lookup?client=audio";
415--- components/metrics/url_constants.cc.orig 404--- a/components/metrics/url_constants.cc
416+++ components/metrics/url_constants.cc 405+++ b/components/metrics/url_constants.cc
417@@ -7,7 +7,7 @@ 406@@ -7,7 +7,7 @@
418 namespace metrics { 407 namespace metrics {
419 408
@@ -423,8 +412,8 @@ by default.
423 412
424 const char kNewMetricsServerUrlInsecure[] = 413 const char kNewMetricsServerUrlInsecure[] =
425 "http://clientservices.googleapis.com/uma/v2"; 414 "http://clientservices.googleapis.com/uma/v2";
426--- components/safe_browsing/content/browser/client_side_detection_service.cc.orig 415--- a/components/safe_browsing/content/browser/client_side_detection_service.cc
427+++ components/safe_browsing/content/browser/client_side_detection_service.cc 416+++ b/components/safe_browsing/content/browser/client_side_detection_service.cc
428@@ -62,7 +62,7 @@ const int ClientSideDetectionService::kN 417@@ -62,7 +62,7 @@ const int ClientSideDetectionService::kN
429 const int ClientSideDetectionService::kPositiveCacheIntervalMinutes = 30; 418 const int ClientSideDetectionService::kPositiveCacheIntervalMinutes = 30;
430 419
@@ -434,8 +423,8 @@ by default.
434 423
435 struct ClientSideDetectionService::ClientPhishingReportInfo { 424 struct ClientSideDetectionService::ClientPhishingReportInfo {
436 std::unique_ptr<network::SimpleURLLoader> loader; 425 std::unique_ptr<network::SimpleURLLoader> loader;
437--- components/safe_search_api/safe_search/safe_search_url_checker_client.cc.orig 426--- a/components/safe_search_api/safe_search/safe_search_url_checker_client.cc
438+++ components/safe_search_api/safe_search/safe_search_url_checker_client.cc 427+++ b/components/safe_search_api/safe_search/safe_search_url_checker_client.cc
439@@ -28,7 +28,7 @@ namespace safe_search_api { 428@@ -28,7 +28,7 @@ namespace safe_search_api {
440 namespace { 429 namespace {
441 430
@@ -445,8 +434,8 @@ by default.
445 const char kDataContentType[] = "application/x-www-form-urlencoded"; 434 const char kDataContentType[] = "application/x-www-form-urlencoded";
446 const char kDataFormat[] = "key=%s&urls=%s"; 435 const char kDataFormat[] = "key=%s&urls=%s";
447 436
448--- components/safe_search_api/stub_url_checker.cc.orig 437--- a/components/safe_search_api/stub_url_checker.cc
449+++ components/safe_search_api/stub_url_checker.cc 438+++ b/components/safe_search_api/stub_url_checker.cc
450@@ -21,7 +21,7 @@ namespace safe_search_api { 439@@ -21,7 +21,7 @@ namespace safe_search_api {
451 namespace { 440 namespace {
452 441
@@ -455,9 +444,9 @@ by default.
455+ "trk:238:https://safesearch.googleapis.com/v1:classify"; 444+ "trk:238:https://safesearch.googleapis.com/v1:classify";
456 445
457 std::string BuildResponse(bool is_porn) { 446 std::string BuildResponse(bool is_porn) {
458 base::DictionaryValue dict; 447 base::Value dict(base::Value::Type::DICTIONARY);
459--- components/translate/core/browser/translate_url_fetcher.cc.orig 448--- a/components/translate/core/browser/translate_url_fetcher.cc
460+++ components/translate/core/browser/translate_url_fetcher.cc 449+++ b/components/translate/core/browser/translate_url_fetcher.cc
461@@ -99,6 +99,7 @@ bool TranslateURLFetcher::Request(const 450@@ -99,6 +99,7 @@ bool TranslateURLFetcher::Request(const
462 if (!extra_request_header_.empty()) 451 if (!extra_request_header_.empty())
463 resource_request->headers.AddHeaderFromString(extra_request_header_); 452 resource_request->headers.AddHeaderFromString(extra_request_header_);
@@ -466,9 +455,9 @@ by default.
466 simple_loader_ = 455 simple_loader_ =
467 variations::CreateSimpleURLLoaderWithVariationsHeaderUnknownSignedIn( 456 variations::CreateSimpleURLLoaderWithVariationsHeaderUnknownSignedIn(
468 std::move(resource_request), 457 std::move(resource_request),
469--- components/translate/core/common/translate_util.cc.orig 458--- a/components/translate/core/common/translate_util.cc
470+++ components/translate/core/common/translate_util.cc 459+++ b/components/translate/core/common/translate_util.cc
471@@ -20,7 +20,7 @@ const char kDetectLanguageInSubFrames[] 460@@ -21,7 +21,7 @@ const char kDetectLanguageInSubFrames[]
472 461
473 } // namespace 462 } // namespace
474 463
@@ -477,8 +466,8 @@ by default.
477 466
478 const base::Feature kTranslateSubFrames{"TranslateSubFrames", 467 const base::Feature kTranslateSubFrames{"TranslateSubFrames",
479 base::FEATURE_DISABLED_BY_DEFAULT}; 468 base::FEATURE_DISABLED_BY_DEFAULT};
480--- components/variations/variations_url_constants.cc.orig 469--- a/components/variations/variations_url_constants.cc
481+++ components/variations/variations_url_constants.cc 470+++ b/components/variations/variations_url_constants.cc
482@@ -8,7 +8,7 @@ namespace variations { 471@@ -8,7 +8,7 @@ namespace variations {
483 472
484 // Default server of Variations seed info. 473 // Default server of Variations seed info.
@@ -488,8 +477,8 @@ by default.
488 477
489 const char kDefaultInsecureServerUrl[] = 478 const char kDefaultInsecureServerUrl[] =
490 "http://clientservices.googleapis.com/chrome-variations/seed"; 479 "http://clientservices.googleapis.com/chrome-variations/seed";
491--- content/browser/speech/speech_recognition_engine.cc.orig 480--- a/content/browser/speech/speech_recognition_engine.cc
492+++ content/browser/speech/speech_recognition_engine.cc 481+++ b/content/browser/speech/speech_recognition_engine.cc
493@@ -33,7 +33,7 @@ namespace content { 482@@ -33,7 +33,7 @@ namespace content {
494 namespace { 483 namespace {
495 484
@@ -499,9 +488,9 @@ by default.
499 const char kDownstreamUrl[] = "/down?"; 488 const char kDownstreamUrl[] = "/down?";
500 const char kUpstreamUrl[] = "/up?"; 489 const char kUpstreamUrl[] = "/up?";
501 490
502--- content/browser/webauth/authenticator_common.cc.orig 491--- a/content/browser/webauth/authenticator_common.cc
503+++ content/browser/webauth/authenticator_common.cc 492+++ b/content/browser/webauth/authenticator_common.cc
504@@ -88,9 +88,9 @@ enum class RequestExtension { 493@@ -91,9 +91,9 @@ enum class RequestExtension {
505 namespace { 494 namespace {
506 495
507 constexpr char kGstaticAppId[] = 496 constexpr char kGstaticAppId[] =
@@ -513,19 +502,19 @@ by default.
513 502
514 WebAuthenticationDelegate* GetWebAuthenticationDelegate() { 503 WebAuthenticationDelegate* GetWebAuthenticationDelegate() {
515 return GetContentClient()->browser()->GetWebAuthenticationDelegate(); 504 return GetContentClient()->browser()->GetWebAuthenticationDelegate();
516--- content/shell/browser/shell_browser_main_parts.cc.orig 505--- a/content/shell/browser/shell_browser_main_parts.cc
517+++ content/shell/browser/shell_browser_main_parts.cc 506+++ b/content/shell/browser/shell_browser_main_parts.cc
518@@ -96,7 +96,7 @@ GURL GetStartupURL() { 507@@ -84,7 +84,7 @@ GURL GetStartupURL() {
519 #else 508 #else
520 const base::CommandLine::StringVector& args = command_line->GetArgs(); 509 const base::CommandLine::StringVector& args = command_line->GetArgs();
521 if (args.empty()) 510 if (args.empty())
522- return GURL("https://www.google.com/"); 511- return GURL("https://www.google.com/");
523+ return GURL("trk:183:https://www.google.com/"); 512+ return GURL("trk:183:https://www.google.com/");
524 513
525 #if defined(OS_WIN) 514 #if BUILDFLAG(IS_WIN)
526 GURL url(base::WideToUTF16(args[0])); 515 GURL url(base::WideToUTF16(args[0]));
527--- extensions/common/extension_urls.cc.orig 516--- a/extensions/common/extension_urls.cc
528+++ extensions/common/extension_urls.cc 517+++ b/extensions/common/extension_urls.cc
529@@ -26,9 +26,9 @@ bool IsSourceFromAnExtension(const std:: 518@@ -26,9 +26,9 @@ bool IsSourceFromAnExtension(const std::
530 519
531 namespace extension_urls { 520 namespace extension_urls {
@@ -538,9 +527,9 @@ by default.
538 527
539 GURL GetWebstoreLaunchURL() { 528 GURL GetWebstoreLaunchURL() {
540 extensions::ExtensionsClient* client = extensions::ExtensionsClient::Get(); 529 extensions::ExtensionsClient* client = extensions::ExtensionsClient::Get();
541--- google_apis/gaia/gaia_constants.cc.orig 530--- a/google_apis/gaia/gaia_constants.cc
542+++ google_apis/gaia/gaia_constants.cc 531+++ b/google_apis/gaia/gaia_constants.cc
543@@ -25,133 +25,133 @@ const char kSyncService[] = "chromiumsyn 532@@ -25,149 +25,149 @@ const char kSyncService[] = "chromiumsyn
544 const char kRemotingService[] = "chromoting"; 533 const char kRemotingService[] = "chromoting";
545 534
546 // OAuth scopes. 535 // OAuth scopes.
@@ -593,125 +582,145 @@ by default.
593- "https://www.googleapis.com/auth/userinfo.profile"; 582- "https://www.googleapis.com/auth/userinfo.profile";
594+ "trk:079:https://www.googleapis.com/auth/userinfo.profile"; 583+ "trk:079:https://www.googleapis.com/auth/userinfo.profile";
595 584
585 // OAuth2 scope for access to the parent approval widget.
586 const char kParentApprovalOAuth2Scope[] =
587- "https://www.googleapis.com/auth/kids.parentapproval";
588+ "trk:080:https://www.googleapis.com/auth/kids.parentapproval";
589
596 // OAuth2 scope for access to the people API (read-only). 590 // OAuth2 scope for access to the people API (read-only).
597 const char kPeopleApiReadOnlyOAuth2Scope[] = 591 const char kPeopleApiReadOnlyOAuth2Scope[] =
598- "https://www.googleapis.com/auth/peopleapi.readonly"; 592- "https://www.googleapis.com/auth/peopleapi.readonly";
599+ "trk:080:https://www.googleapis.com/auth/peopleapi.readonly"; 593+ "trk:081:https://www.googleapis.com/auth/peopleapi.readonly";
594
595 // OAuth2 scope for access to the programmatic challenge API (read-only).
596 const char kProgrammaticChallengeOAuth2Scope[] =
597- "https://www.googleapis.com/auth/accounts.programmaticchallenge";
598+ "trk:082:https://www.googleapis.com/auth/accounts.programmaticchallenge";
600 599
601 // OAuth2 scope for access to the Reauth flow. 600 // OAuth2 scope for access to the Reauth flow.
602 const char kAccountsReauthOAuth2Scope[] = 601 const char kAccountsReauthOAuth2Scope[] =
603- "https://www.googleapis.com/auth/accounts.reauth"; 602- "https://www.googleapis.com/auth/accounts.reauth";
604+ "trk:081:https://www.googleapis.com/auth/accounts.reauth"; 603+ "trk:083:https://www.googleapis.com/auth/accounts.reauth";
605 604
606 // OAuth2 scope for access to audit recording (ARI). 605 // OAuth2 scope for access to audit recording (ARI).
607 const char kAuditRecordingOAuth2Scope[] = 606 const char kAuditRecordingOAuth2Scope[] =
608- "https://www.googleapis.com/auth/auditrecording-pa"; 607- "https://www.googleapis.com/auth/auditrecording-pa";
609+ "trk:082:https://www.googleapis.com/auth/auditrecording-pa"; 608+ "trk:084:https://www.googleapis.com/auth/auditrecording-pa";
610 609
611 // OAuth2 scope for access to clear cut logs. 610 // OAuth2 scope for access to clear cut logs.
612-const char kClearCutOAuth2Scope[] = "https://www.googleapis.com/auth/cclog"; 611-const char kClearCutOAuth2Scope[] = "https://www.googleapis.com/auth/cclog";
613+const char kClearCutOAuth2Scope[] = "trk:083:https://www.googleapis.com/auth/cclog"; 612+const char kClearCutOAuth2Scope[] = "trk:085:https://www.googleapis.com/auth/cclog";
614 613
615 // OAuth2 scope for FCM, the Firebase Cloud Messaging service. 614 // OAuth2 scope for FCM, the Firebase Cloud Messaging service.
616 const char kFCMOAuthScope[] = 615 const char kFCMOAuthScope[] =
617- "https://www.googleapis.com/auth/firebase.messaging"; 616- "https://www.googleapis.com/auth/firebase.messaging";
618+ "trk:084:https://www.googleapis.com/auth/firebase.messaging"; 617+ "trk:086:https://www.googleapis.com/auth/firebase.messaging";
619 618
620 // OAuth2 scope for access to Tachyon api. 619 // OAuth2 scope for access to Tachyon api.
621-const char kTachyonOAuthScope[] = "https://www.googleapis.com/auth/tachyon"; 620-const char kTachyonOAuthScope[] = "https://www.googleapis.com/auth/tachyon";
622+const char kTachyonOAuthScope[] = "trk:085:https://www.googleapis.com/auth/tachyon"; 621+const char kTachyonOAuthScope[] = "trk:087:https://www.googleapis.com/auth/tachyon";
623 622
624 // OAuth2 scope for access to the Photos API. 623 // OAuth2 scope for access to the Photos API.
625-const char kPhotosOAuth2Scope[] = "https://www.googleapis.com/auth/photos"; 624-const char kPhotosOAuth2Scope[] = "https://www.googleapis.com/auth/photos";
626+const char kPhotosOAuth2Scope[] = "trk:086:https://www.googleapis.com/auth/photos"; 625+const char kPhotosOAuth2Scope[] = "trk:088:https://www.googleapis.com/auth/photos";
627 626
628 // OAuth2 scope for access to Cast backdrop API. 627 // OAuth2 scope for access to Cast backdrop API.
629 const char kCastBackdropOAuth2Scope[] = 628 const char kCastBackdropOAuth2Scope[] =
630- "https://www.googleapis.com/auth/cast.backdrop"; 629- "https://www.googleapis.com/auth/cast.backdrop";
631+ "trk:087:https://www.googleapis.com/auth/cast.backdrop"; 630+ "trk:089:https://www.googleapis.com/auth/cast.backdrop";
632 631
633 // OAuth scope for access to Cloud Translation API. 632 // OAuth scope for access to Cloud Translation API.
634 const char kCloudTranslationOAuth2Scope[] = 633 const char kCloudTranslationOAuth2Scope[] =
635- "https://www.googleapis.com/auth/cloud-translation"; 634- "https://www.googleapis.com/auth/cloud-translation";
636+ "trk:088:https://www.googleapis.com/auth/cloud-translation"; 635+ "trk:090:https://www.googleapis.com/auth/cloud-translation";
637 636
638 // OAuth2 scope for access to passwords leak checking API. 637 // OAuth2 scope for access to passwords leak checking API.
639 const char kPasswordsLeakCheckOAuth2Scope[] = 638 const char kPasswordsLeakCheckOAuth2Scope[] =
640- "https://www.googleapis.com/auth/identity.passwords.leak.check"; 639- "https://www.googleapis.com/auth/identity.passwords.leak.check";
641+ "trk:089:https://www.googleapis.com/auth/identity.passwords.leak.check"; 640+ "trk:091:https://www.googleapis.com/auth/identity.passwords.leak.check";
642 641
643 // OAuth2 scope for access to Chrome safe browsing API. 642 // OAuth2 scope for access to Chrome safe browsing API.
644 const char kChromeSafeBrowsingOAuth2Scope[] = 643 const char kChromeSafeBrowsingOAuth2Scope[] =
645- "https://www.googleapis.com/auth/chrome-safe-browsing"; 644- "https://www.googleapis.com/auth/chrome-safe-browsing";
646+ "trk:090:https://www.googleapis.com/auth/chrome-safe-browsing"; 645+ "trk:092:https://www.googleapis.com/auth/chrome-safe-browsing";
647 646
648 // OAuth2 scope for access to kid permissions by URL. 647 // OAuth2 scope for access to kid permissions by URL.
649 const char kClassifyUrlKidPermissionOAuth2Scope[] = 648 const char kClassifyUrlKidPermissionOAuth2Scope[] =
650- "https://www.googleapis.com/auth/kid.permission"; 649- "https://www.googleapis.com/auth/kid.permission";
651+ "trk:091:https://www.googleapis.com/auth/kid.permission"; 650+ "trk:093:https://www.googleapis.com/auth/kid.permission";
652 const char kKidFamilyReadonlyOAuth2Scope[] = 651 const char kKidFamilyReadonlyOAuth2Scope[] =
653- "https://www.googleapis.com/auth/kid.family.readonly"; 652- "https://www.googleapis.com/auth/kid.family.readonly";
654+ "trk:092:https://www.googleapis.com/auth/kid.family.readonly"; 653+ "trk:094:https://www.googleapis.com/auth/kid.family.readonly";
655 654
656 // OAuth2 scope for access to payments. 655 // OAuth2 scope for access to payments.
657 const char kPaymentsOAuth2Scope[] = 656 const char kPaymentsOAuth2Scope[] =
658- "https://www.googleapis.com/auth/wallet.chrome"; 657- "https://www.googleapis.com/auth/wallet.chrome";
659+ "trk:093:https://www.googleapis.com/auth/wallet.chrome"; 658+ "trk:095:https://www.googleapis.com/auth/wallet.chrome";
660 659
661 const char kCryptAuthOAuth2Scope[] = 660 const char kCryptAuthOAuth2Scope[] =
662- "https://www.googleapis.com/auth/cryptauth"; 661- "https://www.googleapis.com/auth/cryptauth";
663+ "trk:094:https://www.googleapis.com/auth/cryptauth"; 662+ "trk:096:https://www.googleapis.com/auth/cryptauth";
664 663
665 // OAuth2 scope for access to Drive. 664 // OAuth2 scope for access to Drive.
666-const char kDriveOAuth2Scope[] = "https://www.googleapis.com/auth/drive"; 665-const char kDriveOAuth2Scope[] = "https://www.googleapis.com/auth/drive";
667+const char kDriveOAuth2Scope[] = "trk:095:https://www.googleapis.com/auth/drive"; 666+const char kDriveOAuth2Scope[] = "trk:097:https://www.googleapis.com/auth/drive";
668 667
669 // The scope required for an access token in order to query ItemSuggest. 668 // The scope required for an access token in order to query ItemSuggest.
670 const char kDriveReadOnlyOAuth2Scope[] = 669 const char kDriveReadOnlyOAuth2Scope[] =
671- "https://www.googleapis.com/auth/drive.readonly"; 670- "https://www.googleapis.com/auth/drive.readonly";
672+ "trk:096:https://www.googleapis.com/auth/drive.readonly"; 671+ "trk:098:https://www.googleapis.com/auth/drive.readonly";
673 672
674 // OAuth2 scope for access to Assistant SDK. 673 // OAuth2 scope for access to Assistant SDK.
675 const char kAssistantOAuth2Scope[] = 674 const char kAssistantOAuth2Scope[] =
676- "https://www.googleapis.com/auth/assistant-sdk-prototype"; 675- "https://www.googleapis.com/auth/assistant-sdk-prototype";
677+ "trk:097:https://www.googleapis.com/auth/assistant-sdk-prototype"; 676+ "trk:099:https://www.googleapis.com/auth/assistant-sdk-prototype";
678 677
679 // OAuth2 scope for access to nearby devices (fast pair) APIs. 678 // OAuth2 scope for access to nearby devices (fast pair) APIs.
680 const char kCloudPlatformProjectsOAuth2Scope[] = 679 const char kCloudPlatformProjectsOAuth2Scope[] =
681- "https://www.googleapis.com/auth/cloudplatformprojects"; 680- "https://www.googleapis.com/auth/cloudplatformprojects";
682+ "trk:098:https://www.googleapis.com/auth/cloudplatformprojects"; 681+ "trk:100:https://www.googleapis.com/auth/cloudplatformprojects";
683 682
684 // OAuth2 scope for access to nearby sharing. 683 // OAuth2 scope for access to nearby sharing.
685 const char kNearbyShareOAuth2Scope[] = 684 const char kNearbyShareOAuth2Scope[] =
686- "https://www.googleapis.com/auth/nearbysharing-pa"; 685- "https://www.googleapis.com/auth/nearbysharing-pa";
687+ "trk:099:https://www.googleapis.com/auth/nearbysharing-pa"; 686+ "trk:101:https://www.googleapis.com/auth/nearbysharing-pa";
688 687
689 // OAuth2 scopes for access to GCM account tracker. 688 // OAuth2 scopes for access to GCM account tracker.
690-const char kGCMGroupServerOAuth2Scope[] = "https://www.googleapis.com/auth/gcm"; 689-const char kGCMGroupServerOAuth2Scope[] = "https://www.googleapis.com/auth/gcm";
691+const char kGCMGroupServerOAuth2Scope[] = "trk:100:https://www.googleapis.com/auth/gcm"; 690+const char kGCMGroupServerOAuth2Scope[] = "trk:102:https://www.googleapis.com/auth/gcm";
692 const char kGCMCheckinServerOAuth2Scope[] = 691 const char kGCMCheckinServerOAuth2Scope[] =
693- "https://www.googleapis.com/auth/android_checkin"; 692- "https://www.googleapis.com/auth/android_checkin";
694+ "trk:101:https://www.googleapis.com/auth/android_checkin"; 693+ "trk:103:https://www.googleapis.com/auth/android_checkin";
695 694
696 // OAuth2 scope for access to readonly Chrome web store. 695 // OAuth2 scope for access to readonly Chrome web store.
697 const char kChromeWebstoreOAuth2Scope[] = 696 const char kChromeWebstoreOAuth2Scope[] =
698- "https://www.googleapis.com/auth/chromewebstore.readonly"; 697- "https://www.googleapis.com/auth/chromewebstore.readonly";
699+ "trk:102:https://www.googleapis.com/auth/chromewebstore.readonly"; 698+ "trk:104:https://www.googleapis.com/auth/chromewebstore.readonly";
700 699
701 // OAuth2 scope for access to Account Capabilities API. 700 // OAuth2 scope for access to Account Capabilities API.
702 const char kAccountCapabilitiesOAuth2Scope[] = 701 const char kAccountCapabilitiesOAuth2Scope[] =
703- "https://www.googleapis.com/auth/account.capabilities"; 702- "https://www.googleapis.com/auth/account.capabilities";
704+ "trk:103:https://www.googleapis.com/auth/account.capabilities"; 703+ "trk:105:https://www.googleapis.com/auth/account.capabilities";
705 704
706 // OAuth2 scope for support content API. 705 // OAuth2 scope for support content API.
707 const char kSupportContentOAuth2Scope[] = 706 const char kSupportContentOAuth2Scope[] =
708- "https://www.googleapis.com/auth/supportcontent"; 707- "https://www.googleapis.com/auth/supportcontent";
709+ "trk:104:https://www.googleapis.com/auth/supportcontent"; 708+ "trk:106:https://www.googleapis.com/auth/supportcontent";
710 709
711 // OAuth 2 scope for NTP Photos module API. 710 // OAuth 2 scope for NTP Photos module API.
712 const char kPhotosModuleOAuth2Scope[] = 711 const char kPhotosModuleOAuth2Scope[] =
713--- google_apis/gaia/gaia_urls.cc.orig 712- "https://www.googleapis.com/auth/photos.firstparty.readonly";
714+++ google_apis/gaia/gaia_urls.cc 713+ "trk:107:https://www.googleapis.com/auth/photos.firstparty.readonly";
714
715 // OAuth 2 scope for NTP Photos module image API.
716 const char kPhotosModuleImageOAuth2Scope[] =
717- "https://www.googleapis.com/auth/photos.image.readonly";
718+ "trk:108:https://www.googleapis.com/auth/photos.image.readonly";
719
720 // Used to mint uber auth tokens when needed.
721 const char kGaiaSid[] = "sid";
722--- a/google_apis/gaia/gaia_urls.cc
723+++ b/google_apis/gaia/gaia_urls.cc
715@@ -24,6 +24,7 @@ 724@@ -24,6 +24,7 @@
716 namespace { 725 namespace {
717 726
@@ -720,8 +729,8 @@ by default.
720 const char kDefaultGoogleUrl[] = "http://google.com"; 729 const char kDefaultGoogleUrl[] = "http://google.com";
721 const char kDefaultGaiaUrl[] = "https://accounts.google.com"; 730 const char kDefaultGaiaUrl[] = "https://accounts.google.com";
722 const char kDefaultGoogleApisBaseUrl[] = "https://www.googleapis.com"; 731 const char kDefaultGoogleApisBaseUrl[] = "https://www.googleapis.com";
723--- google_apis/gcm/engine/gservices_settings.cc.orig 732--- a/google_apis/gcm/engine/gservices_settings.cc
724+++ google_apis/gcm/engine/gservices_settings.cc 733+++ b/google_apis/gcm/engine/gservices_settings.cc
725@@ -30,18 +30,18 @@ const char kRegistrationURLKey[] = "gcm_ 734@@ -30,18 +30,18 @@ const char kRegistrationURLKey[] = "gcm_
726 735
727 const int64_t kDefaultCheckinInterval = 2 * 24 * 60 * 60; // seconds = 2 days. 736 const int64_t kDefaultCheckinInterval = 2 * 24 * 60 * 60; // seconds = 2 days.
@@ -744,19 +753,8 @@ by default.
744 const int kMaxSecurePort = 65535; 753 const int kMaxSecurePort = 65535;
745 754
746 std::string MakeMCSEndpoint(const std::string& mcs_hostname, int port) { 755 std::string MakeMCSEndpoint(const std::string& mcs_hostname, int port) {
747--- jingle/notifier/base/gaia_token_pre_xmpp_auth.cc.orig 756--- a/remoting/base/breakpad_mac.mm
748+++ jingle/notifier/base/gaia_token_pre_xmpp_auth.cc 757+++ b/remoting/base/breakpad_mac.mm
749@@ -36,7 +36,7 @@ class GaiaCookieMechanism : public jingl
750 // These attributes are necessary for working with non-gmail gaia
751 // accounts.
752 const std::string NS_GOOGLE_AUTH_PROTOCOL(
753- "http://www.google.com/talk/protocol/auth");
754+ "trk:179:http://www.google.com/talk/protocol/auth");
755 const jingle_xmpp::QName QN_GOOGLE_ALLOW_GENERATED_JID_XMPP_LOGIN(
756 NS_GOOGLE_AUTH_PROTOCOL, "allow-generated-jid");
757 const jingle_xmpp::QName QN_GOOGLE_AUTH_CLIENT_USES_FULL_BIND_RESULT(
758--- remoting/base/breakpad_mac.mm.orig
759+++ remoting/base/breakpad_mac.mm
760@@ -50,7 +50,7 @@ void InitializeCrashReporting() { 758@@ -50,7 +50,7 @@ void InitializeCrashReporting() {
761 breakpad_config[@BREAKPAD_REPORT_INTERVAL] = @"21600"; 759 breakpad_config[@BREAKPAD_REPORT_INTERVAL] = @"21600";
762 } 760 }
@@ -766,8 +764,8 @@ by default.
766 } 764 }
767 765
768 if (!BreakpadCreate(breakpad_config)) { 766 if (!BreakpadCreate(breakpad_config)) {
769--- remoting/protocol/jingle_messages.cc.orig 767--- a/remoting/protocol/jingle_messages.cc
770+++ remoting/protocol/jingle_messages.cc 768+++ b/remoting/protocol/jingle_messages.cc
771@@ -27,7 +27,7 @@ const char kJabberNamespace[] = "jabber: 769@@ -27,7 +27,7 @@ const char kJabberNamespace[] = "jabber:
772 const char kJingleNamespace[] = "urn:xmpp:jingle:1"; 770 const char kJingleNamespace[] = "urn:xmpp:jingle:1";
773 771
@@ -777,8 +775,8 @@ by default.
777 775
778 const char kWebrtcTransportNamespace[] = "google:remoting:webrtc"; 776 const char kWebrtcTransportNamespace[] = "google:remoting:webrtc";
779 777
780--- rlz/lib/lib_values.cc.orig 778--- a/rlz/lib/lib_values.cc
781+++ rlz/lib/lib_values.cc 779+++ b/rlz/lib/lib_values.cc
782@@ -40,7 +40,7 @@ const char kSetDccResponseVariable[] = " 780@@ -40,7 +40,7 @@ const char kSetDccResponseVariable[] = "
783 // 781 //
784 782
@@ -788,37 +786,8 @@ by default.
788 const int kFinancialPort = 443; 786 const int kFinancialPort = 443;
789 787
790 // Ping times in 100-nanosecond intervals. 788 // Ping times in 100-nanosecond intervals.
791--- third_party/libjingle_xmpp/xmpp/constants.cc.orig 789--- a/ui/accessibility/extensions/chromevoxclassic/chromevox/background/prefs.js
792+++ third_party/libjingle_xmpp/xmpp/constants.cc 790+++ b/ui/accessibility/extensions/chromevoxclassic/chromevox/background/prefs.js
793@@ -194,7 +194,7 @@ const StaticQName QN_SASL_TEMPORARY_AUTH
794
795 // These are non-standard.
796 const char NS_GOOGLE_AUTH_PROTOCOL[] =
797- "http://www.google.com/talk/protocol/auth";
798+ "trk:236:http://www.google.com/talk/protocol/auth";
799 const StaticQName QN_GOOGLE_AUTH_CLIENT_USES_FULL_BIND_RESULT =
800 { NS_GOOGLE_AUTH_PROTOCOL, "client-uses-full-bind-result" };
801 const StaticQName QN_GOOGLE_ALLOW_NON_GOOGLE_ID_XMPP_LOGIN =
802@@ -338,7 +338,7 @@ const char STR_SHOW_DND[] = "dnd";
803 const char STR_SHOW_XA[] = "xa";
804 const char STR_SHOW_OFFLINE[] = "offline";
805
806-const char NS_GOOGLE_PSTN_CONFERENCE[] = "http://www.google.com/pstn-conference";
807+const char NS_GOOGLE_PSTN_CONFERENCE[] = "trk:237:http://www.google.com/pstn-conference";
808 const StaticQName QN_GOOGLE_PSTN_CONFERENCE_STATUS = { NS_GOOGLE_PSTN_CONFERENCE, "status" };
809 const StaticQName QN_ATTR_STATUS = { STR_EMPTY, "status" };
810
811@@ -433,7 +433,7 @@ const StaticQName QN_MUC_ROLE = { NS_MUC
812 const char STR_AFFILIATION_NONE[] = "none";
813 const char STR_ROLE_PARTICIPANT[] = "participant";
814
815-const char NS_GOOGLE_SESSION[] = "http://www.google.com/session";
816+const char NS_GOOGLE_SESSION[] = "trk:238:http://www.google.com/session";
817 const StaticQName QN_GOOGLE_CIRCLE_ID = { STR_EMPTY, "google-circle-id" };
818 const StaticQName QN_GOOGLE_USER_ID = { STR_EMPTY, "google-user-id" };
819 const StaticQName QN_GOOGLE_SESSION_BLOCKED = { NS_GOOGLE_SESSION, "blocked" };
820--- ui/accessibility/extensions/chromevoxclassic/chromevox/background/prefs.js.orig
821+++ ui/accessibility/extensions/chromevoxclassic/chromevox/background/prefs.js
822@@ -72,9 +72,9 @@ cvox.ChromeVoxPrefs.DEFAULT_PREFS = { 791@@ -72,9 +72,9 @@ cvox.ChromeVoxPrefs.DEFAULT_PREFS = {
823 'outputContextFirst': false, 792 'outputContextFirst': false,
824 'position': '{}', 793 'position': '{}',
@@ -831,8 +800,8 @@ by default.
831 'sticky': false, 800 'sticky': false,
832 'typingEcho': 0, 801 'typingEcho': 0,
833 'useIBeamCursor': cvox.ChromeVox.isMac, 802 'useIBeamCursor': cvox.ChromeVox.isMac,
834--- ui/accessibility/extensions/chromevoxclassic/host/chrome/host.js.orig 803--- a/ui/accessibility/extensions/chromevoxclassic/host/chrome/host.js
835+++ ui/accessibility/extensions/chromevoxclassic/host/chrome/host.js 804+++ b/ui/accessibility/extensions/chromevoxclassic/host/chrome/host.js
836@@ -96,9 +96,9 @@ cvox.ChromeHost.prototype.init = functio 805@@ -96,9 +96,9 @@ cvox.ChromeHost.prototype.init = functio
837 (!cvox.ApiImplementation.siteSpecificScriptLoader || 806 (!cvox.ApiImplementation.siteSpecificScriptLoader ||
838 !cvox.ApiImplementation.siteSpecificScriptBase); 807 !cvox.ApiImplementation.siteSpecificScriptBase);
@@ -845,8 +814,8 @@ by default.
845 if (apiPrefsChanged) { 814 if (apiPrefsChanged) {
846 var searchInit = prefs['siteSpecificEnhancements'] === 'true' ? 815 var searchInit = prefs['siteSpecificEnhancements'] === 'true' ?
847 cvox.SearchLoader.init : 816 cvox.SearchLoader.init :
848--- ui/views/examples/webview_example.cc.orig 817--- a/ui/views/examples/webview_example.cc
849+++ ui/views/examples/webview_example.cc 818+++ b/ui/views/examples/webview_example.cc
850@@ -29,7 +29,7 @@ void WebViewExample::CreateExampleView(V 819@@ -29,7 +29,7 @@ void WebViewExample::CreateExampleView(V
851 webview_->GetWebContents()->SetDelegate(this); 820 webview_->GetWebContents()->SetDelegate(this);
852 container->SetLayoutManager(std::make_unique<FillLayout>()); 821 container->SetLayoutManager(std::make_unique<FillLayout>());